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 class
Component.TimePeriod
Time Periodstatic class
Component.UnitType
Unit Type
-
Field Summary
Fields Modifier and Type Field Description private Double
numberOfUnits
Number Of Unitsprivate List<Restriction>
restrictions
Restrictionsprivate Component.TimePeriod
timePeriod
Time Periodprivate Component.UnitType
unitType
Unit Type
-
Constructor Summary
Constructors Constructor Description Component()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Double
getNumberOfUnits()
Number Of UnitsList<Restriction>
getRestrictions()
RestrictionsComponent.TimePeriod
getTimePeriod()
Time PeriodComponent.UnitType
getUnitType()
Unit Typeint
hashCode()
void
setNumberOfUnits(Double numberOfUnits)
Number Of Unitsvoid
setRestrictions(List<Restriction> restrictions)
Restrictionsvoid
setTimePeriod(Component.TimePeriod timePeriod)
Time Periodvoid
setUnitType(Component.UnitType unitType)
Unit TypeString
toString()
Component
withNumberOfUnits(Double numberOfUnits)
Component
withRestrictions(List<Restriction> restrictions)
Component
withTimePeriod(Component.TimePeriod timePeriod)
Component
withUnitType(Component.UnitType unitType)
-
-
-
Field Detail
-
numberOfUnits
@JsonPropertyDescription("The number of units included into the component of the meal plan.") private Double numberOfUnits
Number 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 unitType
Unit 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 timePeriod
Time 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> restrictions
RestrictionsThe 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)
-
-