Class GeneratedVendor

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

public abstract class GeneratedVendor extends GenericItem
Generated class for type Vendor.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedVendor

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

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

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

      protected void setCode(String value)
      Generated method - Setter of the Vendor.code attribute.
      Parameters:
      value - the code
    • getName

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

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

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

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

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

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

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

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

      public Set<Warehouse> getWarehouses(SessionContext ctx)
      Generated method - Getter of the Vendor.warehouses attribute.
      Returns:
      the warehouses
    • getWarehouses

      public Set<Warehouse> getWarehouses()
      Generated method - Getter of the Vendor.warehouses attribute.
      Returns:
      the warehouses
    • setWarehouses

      public void setWarehouses(SessionContext ctx, Set<Warehouse> value)
      Generated method - Setter of the Vendor.warehouses attribute.
      Parameters:
      value - the warehouses
    • setWarehouses

      public void setWarehouses(Set<Warehouse> value)
      Generated method - Setter of the Vendor.warehouses attribute.
      Parameters:
      value - the warehouses
    • addToWarehouses

      public void addToWarehouses(SessionContext ctx, Warehouse value)
      Generated method - Adds value to warehouses.
      Parameters:
      value - the item to add to warehouses
    • addToWarehouses

      public void addToWarehouses(Warehouse value)
      Generated method - Adds value to warehouses.
      Parameters:
      value - the item to add to warehouses
    • removeFromWarehouses

      public void removeFromWarehouses(SessionContext ctx, Warehouse value)
      Generated method - Removes value from warehouses.
      Parameters:
      value - the item to remove from warehouses
    • removeFromWarehouses

      public void removeFromWarehouses(Warehouse value)
      Generated method - Removes value from warehouses.
      Parameters:
      value - the item to remove from warehouses