Class Component

    • Field Detail

      • numberOfUnits

        @JsonPropertyDescription("The number of units included into the component of the meal plan.")
        private Double numberOfUnits
        Number Of Units

        The 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 Type

        The 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 Period

        The 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
        Restrictions

        The restrictions for the component of the meal plan.

    • Constructor Detail

      • Component

        public Component()
    • Method Detail

      • getNumberOfUnits

        public Double getNumberOfUnits()
        Number Of Units

        The number of units included into the component of the meal plan. (Required)

      • setNumberOfUnits

        public void setNumberOfUnits​(Double numberOfUnits)
        Number Of Units

        The number of units included into the component of the meal plan. (Required)

      • withNumberOfUnits

        public Component withNumberOfUnits​(Double numberOfUnits)
      • getUnitType

        public Component.UnitType getUnitType()
        Unit Type

        The type of the meal plan units. (Required)

      • setUnitType

        public void setUnitType​(Component.UnitType unitType)
        Unit Type

        The type of the meal plan units. (Required)

      • getTimePeriod

        public Component.TimePeriod getTimePeriod()
        Time Period

        The period of time for which the number of units is specified. (Required)

      • setTimePeriod

        public void setTimePeriod​(Component.TimePeriod timePeriod)
        Time Period

        The period of time for which the number of units is specified. (Required)

      • getRestrictions

        public List<Restriction> getRestrictions()
        Restrictions

        The restrictions for the component of the meal plan.

      • setRestrictions

        public void setRestrictions​(List<Restriction> restrictions)
        Restrictions

        The restrictions for the component of the meal plan.

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object