Class GeneratedZone

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
Zone

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

    • CODE

      public static final String CODE
      Qualifier of the Zone.code attribute
      See Also:
    • COUNTRIES

      public static final String COUNTRIES
      Qualifier of the Zone.countries attribute
      See Also:
    • ZONECOUNTRYRELATION_SRC_ORDERED

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

      protected static String ZONECOUNTRYRELATION_TGT_ORDERED
    • ZONECOUNTRYRELATION_MARKMODIFIED

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

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedZone

      public GeneratedZone()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • getCode

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

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

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

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

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

      public 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, Set<Country> value)
      Generated method - Setter of the Zone.countries attribute.
      Parameters:
      value - the countries
    • setCountries

      public void setCountries(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
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class Item