Class GeneratedProduct

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

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

  • Constructor Details

    • GeneratedProduct

      public GeneratedProduct()
  • 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 Product.code attribute.
      Returns:
      the code
    • getCode

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void setAllName(Map<Language,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