Class GeneratedProduct

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

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

      • CODE

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

        public static final java.lang.String NAME
        Qualifier of the Product.name attribute
        See Also:
        Constant Field Values
      • UNIT

        public static final java.lang.String UNIT
        Qualifier of the Product.unit attribute
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Qualifier of the Product.description attribute
        See Also:
        Constant Field Values
      • THUMBNAIL

        public static final java.lang.String THUMBNAIL
        Qualifier of the Product.thumbnail attribute
        See Also:
        Constant Field Values
      • PICTURE

        public static final java.lang.String PICTURE
        Qualifier of the Product.picture 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

      • GeneratedProduct

        public GeneratedProduct()
    • Method Detail

      • getCode

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

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

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

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

        public java.lang.String getDescription​(SessionContext ctx)
        Generated method - Getter of the Product.description attribute.
        Returns:
        the description
      • getDescription

        public java.lang.String getDescription()
        Generated method - Getter of the Product.description attribute.
        Returns:
        the description
      • getAllDescription

        public java.util.Map<Language,​java.lang.String> getAllDescription​(SessionContext ctx)
        Generated method - Getter of the Product.description attribute.
        Returns:
        the localized description
      • getAllDescription

        public java.util.Map<Language,​java.lang.String> getAllDescription()
        Generated method - Getter of the Product.description attribute.
        Returns:
        the localized description
      • setDescription

        public void setDescription​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the Product.description attribute.
        Parameters:
        value - the description
      • setDescription

        public void setDescription​(java.lang.String value)
        Generated method - Setter of the Product.description attribute.
        Parameters:
        value - the description
      • setAllDescription

        public void setAllDescription​(SessionContext ctx,
                                      java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the Product.description attribute.
        Parameters:
        value - the description
      • setAllDescription

        public void setAllDescription​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the Product.description attribute.
        Parameters:
        value - the description
      • getName

        public java.lang.String getName​(SessionContext ctx)
        Generated method - Getter of the Product.name attribute.
        Returns:
        the name
      • getName

        public java.lang.String getName()
        Generated method - Getter of the Product.name attribute.
        Returns:
        the name
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName​(SessionContext ctx)
        Generated method - Getter of the Product.name attribute.
        Returns:
        the localized name
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName()
        Generated method - Getter of the Product.name attribute.
        Returns:
        the localized name
      • setName

        public void setName​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the Product.name attribute.
        Parameters:
        value - the name
      • setName

        public void setName​(java.lang.String value)
        Generated method - Setter of the Product.name attribute.
        Parameters:
        value - the name
      • setAllName

        public void setAllName​(SessionContext ctx,
                               java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the Product.name attribute.
        Parameters:
        value - the name
      • setAllName

        public void setAllName​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the Product.name attribute.
        Parameters:
        value - the name
      • getPicture

        public Media getPicture​(SessionContext ctx)
        Generated method - Getter of the Product.picture attribute.
        Returns:
        the picture
      • getPicture

        public Media getPicture()
        Generated method - Getter of the Product.picture attribute.
        Returns:
        the picture
      • setPicture

        public void setPicture​(SessionContext ctx,
                               Media value)
        Generated method - Setter of the Product.picture attribute.
        Parameters:
        value - the picture
      • setPicture

        public void setPicture​(Media value)
        Generated method - Setter of the Product.picture attribute.
        Parameters:
        value - the picture
      • getThumbnail

        public Media getThumbnail​(SessionContext ctx)
        Generated method - Getter of the Product.thumbnail attribute.
        Returns:
        the thumbnail
      • getThumbnail

        public Media getThumbnail()
        Generated method - Getter of the Product.thumbnail attribute.
        Returns:
        the thumbnail
      • setThumbnail

        public void setThumbnail​(SessionContext ctx,
                                 Media value)
        Generated method - Setter of the Product.thumbnail attribute.
        Parameters:
        value - the thumbnail
      • setThumbnail

        public void setThumbnail​(Media value)
        Generated method - Setter of the Product.thumbnail attribute.
        Parameters:
        value - the thumbnail
      • getUnit

        public Unit getUnit​(SessionContext ctx)
        Generated method - Getter of the Product.unit attribute.
        Returns:
        the unit
      • getUnit

        public Unit getUnit()
        Generated method - Getter of the Product.unit attribute.
        Returns:
        the unit
      • setUnit

        public void setUnit​(SessionContext ctx,
                            Unit value)
        Generated method - Setter of the Product.unit attribute.
        Parameters:
        value - the unit
      • setUnit

        public void setUnit​(Unit value)
        Generated method - Setter of the Product.unit attribute.
        Parameters:
        value - the unit