Class GeneratedZone

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    Zone

    public abstract class GeneratedZone
    extends GenericItem
    Generated class for type Zone.
    See Also:
    Serialized Form
    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the Zone.code attribute
        See Also:
        Constant Field Values
      • COUNTRIES

        public static final java.lang.String COUNTRIES
        Qualifier of the Zone.countries attribute
        See Also:
        Constant Field Values
      • ZONECOUNTRYRELATION_SRC_ORDERED

        protected static java.lang.String ZONECOUNTRYRELATION_SRC_ORDERED
        Relation ordering override parameter constants for ZoneCountryRelation from ((deliveryzone))
      • ZONECOUNTRYRELATION_TGT_ORDERED

        protected static java.lang.String ZONECOUNTRYRELATION_TGT_ORDERED
      • ZONECOUNTRYRELATION_MARKMODIFIED

        protected static java.lang.String ZONECOUNTRYRELATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for ZoneCountryRelation from ((deliveryzone))
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedZone

        public GeneratedZone()
    • Method Detail

      • getCode

        public java.lang.String getCode​(SessionContext ctx)
        Generated method - Getter of the Zone.code attribute.
        Returns:
        the code
      • getCode

        public java.lang.String getCode()
        Generated method - Getter of the Zone.code attribute.
        Returns:
        the code
      • setCode

        public void setCode​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the Zone.code attribute.
        Parameters:
        value - the code
      • setCode

        public void setCode​(java.lang.String value)
        Generated method - Setter of the Zone.code attribute.
        Parameters:
        value - the code
      • getCountries

        public java.util.Set<Country> getCountries​(SessionContext ctx)
        Generated method - Getter of the Zone.countries attribute.
        Returns:
        the countries
      • getCountries

        public java.util.Set<Country> getCountries()
        Generated method - Getter of the Zone.countries attribute.
        Returns:
        the countries
      • getCountriesCount

        public long getCountriesCount​(SessionContext ctx)
      • getCountriesCount

        public long getCountriesCount()
      • setCountries

        public void setCountries​(SessionContext ctx,
                                 java.util.Set<Country> value)
        Generated method - Setter of the Zone.countries attribute.
        Parameters:
        value - the countries
      • setCountries

        public void setCountries​(java.util.Set<Country> value)
        Generated method - Setter of the Zone.countries attribute.
        Parameters:
        value - the countries
      • addToCountries

        public void addToCountries​(SessionContext ctx,
                                   Country value)
        Generated method - Adds value to countries.
        Parameters:
        value - the item to add to countries
      • addToCountries

        public void addToCountries​(Country value)
        Generated method - Adds value to countries.
        Parameters:
        value - the item to add to countries
      • removeFromCountries

        public void removeFromCountries​(SessionContext ctx,
                                        Country value)
        Generated method - Removes value from countries.
        Parameters:
        value - the item to remove from countries
      • removeFromCountries

        public void removeFromCountries​(Country value)
        Generated method - Removes value from countries.
        Parameters:
        value - the item to remove from countries