Class Component
- java.lang.Object
-
- com.ellucian.generated.eedm.meal_plans.v10_0.Component
-
@Generated("jsonschema2pojo") public class Component extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComponent.TimePeriodTime Periodstatic classComponent.UnitTypeUnit Type
-
Field Summary
Fields Modifier and Type Field Description private DoublenumberOfUnitsNumber Of Unitsprivate List<Restriction>restrictionsRestrictionsprivate Component.TimePeriodtimePeriodTime Periodprivate Component.UnitTypeunitTypeUnit Type
-
Constructor Summary
Constructors Constructor Description Component()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)DoublegetNumberOfUnits()Number Of UnitsList<Restriction>getRestrictions()RestrictionsComponent.TimePeriodgetTimePeriod()Time PeriodComponent.UnitTypegetUnitType()Unit TypeinthashCode()voidsetNumberOfUnits(Double numberOfUnits)Number Of UnitsvoidsetRestrictions(List<Restriction> restrictions)RestrictionsvoidsetTimePeriod(Component.TimePeriod timePeriod)Time PeriodvoidsetUnitType(Component.UnitType unitType)Unit TypeStringtoString()ComponentwithNumberOfUnits(Double numberOfUnits)ComponentwithRestrictions(List<Restriction> restrictions)ComponentwithTimePeriod(Component.TimePeriod timePeriod)ComponentwithUnitType(Component.UnitType unitType)
-
-
-
Field Detail
-
numberOfUnits
@JsonPropertyDescription("The number of units included into the component of the meal plan.") private Double numberOfUnitsNumber Of UnitsThe number of units included into the component of the meal plan. (Required)
-
unitType
@JsonPropertyDescription("The type of the meal plan units.") private Component.UnitType unitTypeUnit TypeThe type of the meal plan units. (Required)
-
timePeriod
@JsonPropertyDescription("The period of time for which the number of units is specified.") private Component.TimePeriod timePeriodTime PeriodThe period of time for which the number of units is specified. (Required)
-
restrictions
@JsonPropertyDescription("The restrictions for the component of the meal plan.") private List<Restriction> restrictionsRestrictionsThe restrictions for the component of the meal plan.
-
-
Method Detail
-
getNumberOfUnits
public Double getNumberOfUnits()
Number Of UnitsThe number of units included into the component of the meal plan. (Required)
-
setNumberOfUnits
public void setNumberOfUnits(Double numberOfUnits)
Number Of UnitsThe number of units included into the component of the meal plan. (Required)
-
getUnitType
public Component.UnitType getUnitType()
Unit TypeThe type of the meal plan units. (Required)
-
setUnitType
public void setUnitType(Component.UnitType unitType)
Unit TypeThe type of the meal plan units. (Required)
-
withUnitType
public Component withUnitType(Component.UnitType unitType)
-
getTimePeriod
public Component.TimePeriod getTimePeriod()
Time PeriodThe period of time for which the number of units is specified. (Required)
-
setTimePeriod
public void setTimePeriod(Component.TimePeriod timePeriod)
Time PeriodThe period of time for which the number of units is specified. (Required)
-
withTimePeriod
public Component withTimePeriod(Component.TimePeriod timePeriod)
-
getRestrictions
public List<Restriction> getRestrictions()
RestrictionsThe restrictions for the component of the meal plan.
-
setRestrictions
public void setRestrictions(List<Restriction> restrictions)
RestrictionsThe restrictions for the component of the meal plan.
-
withRestrictions
public Component withRestrictions(List<Restriction> restrictions)
-
-