Class GeneratedCountry

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

    public abstract class GeneratedCountry
    extends C2LItem
    Generated class for type Country.
    See Also:
    Serialized Form
    • Field Detail

      • REGIONS

        public static final java.lang.String REGIONS
        Qualifier of the Country.regions attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedCountry

        public GeneratedCountry()
    • Method Detail

      • getRegions

        public java.util.Collection<Region> getRegions​(SessionContext ctx)
        Generated method - Getter of the Country.regions attribute.
        Returns:
        the regions
      • getRegions

        public java.util.Collection<Region> getRegions()
        Generated method - Getter of the Country.regions attribute.
        Returns:
        the regions
      • setRegions

        public void setRegions​(SessionContext ctx,
                               java.util.Collection<Region> value)
        Generated method - Setter of the Country.regions attribute.
        Parameters:
        value - the regions
      • setRegions

        public void setRegions​(java.util.Collection<Region> value)
        Generated method - Setter of the Country.regions attribute.
        Parameters:
        value - the regions
      • addToRegions

        public void addToRegions​(SessionContext ctx,
                                 Region value)
        Generated method - Adds value to regions.
        Parameters:
        value - the item to add to regions
      • addToRegions

        public void addToRegions​(Region value)
        Generated method - Adds value to regions.
        Parameters:
        value - the item to add to regions
      • removeFromRegions

        public void removeFromRegions​(SessionContext ctx,
                                      Region value)
        Generated method - Removes value from regions.
        Parameters:
        value - the item to remove from regions
      • removeFromRegions

        public void removeFromRegions​(Region value)
        Generated method - Removes value from regions.
        Parameters:
        value - the item to remove from regions