Class MaterialModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.sap.sapinvoiceaddon.model.MaterialModel
All Implemented Interfaces:
Serializable

public class MaterialModel extends ItemModel
Generated model class for type Material first defined at extension sapinvoiceaddon.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation SapB2BDocument2MaterialRelation defining source attribute sapB2BDocument in extension sapinvoiceaddon.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of Material.abstNetValue attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.cashDisc attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.grossPrice attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.grossValue attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.matDesc attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.matNo attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.matPosNo attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.netPrice attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.netValue attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.qualifyCashDisc attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.quantity attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.sapB2BDocument attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.statValue attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.subTotal1 attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.subTotal2 attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.subTotal3 attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.subTotal4 attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.subTotal5 attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.subTotal6 attribute defined at extension sapinvoiceaddon.
    static final String
    Generated constant - Attribute key of Material.unit attribute defined at extension sapinvoiceaddon.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.1.1 Please use the default constructor without parameters
    MaterialModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the Material.abstNetValue attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.cashDisc attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.grossPrice attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.grossValue attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.matDesc attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.matNo attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.matPosNo attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.netPrice attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.netValue attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.qualifyCashDisc attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.quantity attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.sapB2BDocument attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.statValue attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.subTotal1 attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.subTotal2 attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.subTotal3 attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.subTotal4 attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.subTotal5 attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.subTotal6 attribute defined at extension sapinvoiceaddon.
    Generated method - Getter of the Material.unit attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.abstNetValue attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.cashDisc attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.grossPrice attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.grossValue attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.matDesc attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.matNo attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.matPosNo attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.netPrice attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.netValue attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.qualifyCashDisc attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.quantity attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.sapB2BDocument attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.statValue attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.subTotal1 attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.subTotal2 attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.subTotal3 attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.subTotal4 attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.subTotal5 attribute defined at extension sapinvoiceaddon.
    void
    Generated method - Setter of Material.subTotal6 attribute defined at extension sapinvoiceaddon.
    void
    setUnit(String value)
    Generated method - Setter of Material.unit attribute defined at extension sapinvoiceaddon.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _SAPB2BDOCUMENT2MATERIALRELATION

      public static final String _SAPB2BDOCUMENT2MATERIALRELATION
      Generated relation code constant for relation SapB2BDocument2MaterialRelation defining source attribute sapB2BDocument in extension sapinvoiceaddon.
      See Also:
    • MATPOSNO

      public static final String MATPOSNO
      Generated constant - Attribute key of Material.matPosNo attribute defined at extension sapinvoiceaddon.
      See Also:
    • MATNO

      public static final String MATNO
      Generated constant - Attribute key of Material.matNo attribute defined at extension sapinvoiceaddon.
      See Also:
    • MATDESC

      public static final String MATDESC
      Generated constant - Attribute key of Material.matDesc attribute defined at extension sapinvoiceaddon.
      See Also:
    • QUANTITY

      public static final String QUANTITY
      Generated constant - Attribute key of Material.quantity attribute defined at extension sapinvoiceaddon.
      See Also:
    • UNIT

      public static final String UNIT
      Generated constant - Attribute key of Material.unit attribute defined at extension sapinvoiceaddon.
      See Also:
    • GROSSPRICE

      public static final String GROSSPRICE
      Generated constant - Attribute key of Material.grossPrice attribute defined at extension sapinvoiceaddon.
      See Also:
    • GROSSVALUE

      public static final String GROSSVALUE
      Generated constant - Attribute key of Material.grossValue attribute defined at extension sapinvoiceaddon.
      See Also:
    • NETVALUE

      public static final String NETVALUE
      Generated constant - Attribute key of Material.netValue attribute defined at extension sapinvoiceaddon.
      See Also:
    • SUBTOTAL1

      public static final String SUBTOTAL1
      Generated constant - Attribute key of Material.subTotal1 attribute defined at extension sapinvoiceaddon.
      See Also:
    • SUBTOTAL2

      public static final String SUBTOTAL2
      Generated constant - Attribute key of Material.subTotal2 attribute defined at extension sapinvoiceaddon.
      See Also:
    • SUBTOTAL3

      public static final String SUBTOTAL3
      Generated constant - Attribute key of Material.subTotal3 attribute defined at extension sapinvoiceaddon.
      See Also:
    • SUBTOTAL4

      public static final String SUBTOTAL4
      Generated constant - Attribute key of Material.subTotal4 attribute defined at extension sapinvoiceaddon.
      See Also:
    • SUBTOTAL5

      public static final String SUBTOTAL5
      Generated constant - Attribute key of Material.subTotal5 attribute defined at extension sapinvoiceaddon.
      See Also:
    • SUBTOTAL6

      public static final String SUBTOTAL6
      Generated constant - Attribute key of Material.subTotal6 attribute defined at extension sapinvoiceaddon.
      See Also:
    • QUALIFYCASHDISC

      public static final String QUALIFYCASHDISC
      Generated constant - Attribute key of Material.qualifyCashDisc attribute defined at extension sapinvoiceaddon.
      See Also:
    • ABSTNETVALUE

      public static final String ABSTNETVALUE
      Generated constant - Attribute key of Material.abstNetValue attribute defined at extension sapinvoiceaddon.
      See Also:
    • NETPRICE

      public static final String NETPRICE
      Generated constant - Attribute key of Material.netPrice attribute defined at extension sapinvoiceaddon.
      See Also:
    • CASHDISC

      public static final String CASHDISC
      Generated constant - Attribute key of Material.cashDisc attribute defined at extension sapinvoiceaddon.
      See Also:
    • STATVALUE

      public static final String STATVALUE
      Generated constant - Attribute key of Material.statValue attribute defined at extension sapinvoiceaddon.
      See Also:
    • SAPB2BDOCUMENT

      public static final String SAPB2BDOCUMENT
      Generated constant - Attribute key of Material.sapB2BDocument attribute defined at extension sapinvoiceaddon.
      See Also:
  • Constructor Details

    • MaterialModel

      public MaterialModel()
      Generated constructor - Default constructor for generic creation.
    • MaterialModel

      public MaterialModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • MaterialModel

      @Deprecated(since="4.1.1", forRemoval=true) public MaterialModel(ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAbstNetValue

      @Accessor(qualifier="abstNetValue", type=GETTER) public String getAbstNetValue()
      Generated method - Getter of the Material.abstNetValue attribute defined at extension sapinvoiceaddon.
      Returns:
      the abstNetValue - Absolute net value of item
    • getCashDisc

      @Accessor(qualifier="cashDisc", type=GETTER) public String getCashDisc()
      Generated method - Getter of the Material.cashDisc attribute defined at extension sapinvoiceaddon.
      Returns:
      the cashDisc - Cash discount amount
    • getGrossPrice

      @Accessor(qualifier="grossPrice", type=GETTER) public String getGrossPrice()
      Generated method - Getter of the Material.grossPrice attribute defined at extension sapinvoiceaddon.
      Returns:
      the grossPrice - Gross Price (per Unit)
    • getGrossValue

      @Accessor(qualifier="grossValue", type=GETTER) public String getGrossValue()
      Generated method - Getter of the Material.grossValue attribute defined at extension sapinvoiceaddon.
      Returns:
      the grossValue - Gross Price (total)
    • getMatDesc

      @Accessor(qualifier="matDesc", type=GETTER) public String getMatDesc()
      Generated method - Getter of the Material.matDesc attribute defined at extension sapinvoiceaddon.
      Returns:
      the matDesc - Item Description
    • getMatNo

      @Accessor(qualifier="matNo", type=GETTER) public String getMatNo()
      Generated method - Getter of the Material.matNo attribute defined at extension sapinvoiceaddon.
      Returns:
      the matNo - Item Number
    • getMatPosNo

      @Accessor(qualifier="matPosNo", type=GETTER) public String getMatPosNo()
      Generated method - Getter of the Material.matPosNo attribute defined at extension sapinvoiceaddon.
      Returns:
      the matPosNo - Item Position
    • getNetPrice

      @Accessor(qualifier="netPrice", type=GETTER) public String getNetPrice()
      Generated method - Getter of the Material.netPrice attribute defined at extension sapinvoiceaddon.
      Returns:
      the netPrice - Net price
    • getNetValue

      @Accessor(qualifier="netValue", type=GETTER) public String getNetValue()
      Generated method - Getter of the Material.netValue attribute defined at extension sapinvoiceaddon.
      Returns:
      the netValue - Net Value (total)
    • getQualifyCashDisc

      @Accessor(qualifier="qualifyCashDisc", type=GETTER) public String getQualifyCashDisc()
      Generated method - Getter of the Material.qualifyCashDisc attribute defined at extension sapinvoiceaddon.
      Returns:
      the qualifyCashDisc - Amount qualifying for cash discount
    • getQuantity

      @Accessor(qualifier="quantity", type=GETTER) public String getQuantity()
      Generated method - Getter of the Material.quantity attribute defined at extension sapinvoiceaddon.
      Returns:
      the quantity - Quantity
    • getSapB2BDocument

      @Accessor(qualifier="sapB2BDocument", type=GETTER) public SapB2BDocumentModel getSapB2BDocument()
      Generated method - Getter of the Material.sapB2BDocument attribute defined at extension sapinvoiceaddon.
      Returns:
      the sapB2BDocument
    • getStatValue

      @Accessor(qualifier="statValue", type=GETTER) public String getStatValue()
      Generated method - Getter of the Material.statValue attribute defined at extension sapinvoiceaddon.
      Returns:
      the statValue - Statistical value
    • getSubTotal1

      @Accessor(qualifier="subTotal1", type=GETTER) public String getSubTotal1()
      Generated method - Getter of the Material.subTotal1 attribute defined at extension sapinvoiceaddon.
      Returns:
      the subTotal1 - SubTotal 1 from pric. calc. proc
    • getSubTotal2

      @Accessor(qualifier="subTotal2", type=GETTER) public String getSubTotal2()
      Generated method - Getter of the Material.subTotal2 attribute defined at extension sapinvoiceaddon.
      Returns:
      the subTotal2 - SubTotal 2 from pric. calc. proc.(total discount amount applied)
    • getSubTotal3

      @Accessor(qualifier="subTotal3", type=GETTER) public String getSubTotal3()
      Generated method - Getter of the Material.subTotal3 attribute defined at extension sapinvoiceaddon.
      Returns:
      the subTotal3 - SubTotal 3 from pric. calc. proc. (Shipping costs)
    • getSubTotal4

      @Accessor(qualifier="subTotal4", type=GETTER) public String getSubTotal4()
      Generated method - Getter of the Material.subTotal4 attribute defined at extension sapinvoiceaddon.
      Returns:
      the subTotal4 - SubTotal 4 from pric. calc. proc. (Tax Amount)
    • getSubTotal5

      @Accessor(qualifier="subTotal5", type=GETTER) public String getSubTotal5()
      Generated method - Getter of the Material.subTotal5 attribute defined at extension sapinvoiceaddon.
      Returns:
      the subTotal5 - SubTotal 5 from pric. calc. proc. (Payment Costs)
    • getSubTotal6

      @Accessor(qualifier="subTotal6", type=GETTER) public String getSubTotal6()
      Generated method - Getter of the Material.subTotal6 attribute defined at extension sapinvoiceaddon.
      Returns:
      the subTotal6 - SubTotal 6 from pric. calc. proc.
    • getUnit

      @Accessor(qualifier="unit", type=GETTER) public String getUnit()
      Generated method - Getter of the Material.unit attribute defined at extension sapinvoiceaddon.
      Returns:
      the unit - Unit of Measure
    • setAbstNetValue

      @Accessor(qualifier="abstNetValue", type=SETTER) public void setAbstNetValue(String value)
      Generated method - Setter of Material.abstNetValue attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the abstNetValue - Absolute net value of item
    • setCashDisc

      @Accessor(qualifier="cashDisc", type=SETTER) public void setCashDisc(String value)
      Generated method - Setter of Material.cashDisc attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the cashDisc - Cash discount amount
    • setGrossPrice

      @Accessor(qualifier="grossPrice", type=SETTER) public void setGrossPrice(String value)
      Generated method - Setter of Material.grossPrice attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the grossPrice - Gross Price (per Unit)
    • setGrossValue

      @Accessor(qualifier="grossValue", type=SETTER) public void setGrossValue(String value)
      Generated method - Setter of Material.grossValue attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the grossValue - Gross Price (total)
    • setMatDesc

      @Accessor(qualifier="matDesc", type=SETTER) public void setMatDesc(String value)
      Generated method - Setter of Material.matDesc attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the matDesc - Item Description
    • setMatNo

      @Accessor(qualifier="matNo", type=SETTER) public void setMatNo(String value)
      Generated method - Setter of Material.matNo attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the matNo - Item Number
    • setMatPosNo

      @Accessor(qualifier="matPosNo", type=SETTER) public void setMatPosNo(String value)
      Generated method - Setter of Material.matPosNo attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the matPosNo - Item Position
    • setNetPrice

      @Accessor(qualifier="netPrice", type=SETTER) public void setNetPrice(String value)
      Generated method - Setter of Material.netPrice attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the netPrice - Net price
    • setNetValue

      @Accessor(qualifier="netValue", type=SETTER) public void setNetValue(String value)
      Generated method - Setter of Material.netValue attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the netValue - Net Value (total)
    • setQualifyCashDisc

      @Accessor(qualifier="qualifyCashDisc", type=SETTER) public void setQualifyCashDisc(String value)
      Generated method - Setter of Material.qualifyCashDisc attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the qualifyCashDisc - Amount qualifying for cash discount
    • setQuantity

      @Accessor(qualifier="quantity", type=SETTER) public void setQuantity(String value)
      Generated method - Setter of Material.quantity attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the quantity - Quantity
    • setSapB2BDocument

      @Accessor(qualifier="sapB2BDocument", type=SETTER) public void setSapB2BDocument(SapB2BDocumentModel value)
      Generated method - Setter of Material.sapB2BDocument attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the sapB2BDocument
    • setStatValue

      @Accessor(qualifier="statValue", type=SETTER) public void setStatValue(String value)
      Generated method - Setter of Material.statValue attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the statValue - Statistical value
    • setSubTotal1

      @Accessor(qualifier="subTotal1", type=SETTER) public void setSubTotal1(String value)
      Generated method - Setter of Material.subTotal1 attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the subTotal1 - SubTotal 1 from pric. calc. proc
    • setSubTotal2

      @Accessor(qualifier="subTotal2", type=SETTER) public void setSubTotal2(String value)
      Generated method - Setter of Material.subTotal2 attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the subTotal2 - SubTotal 2 from pric. calc. proc.(total discount amount applied)
    • setSubTotal3

      @Accessor(qualifier="subTotal3", type=SETTER) public void setSubTotal3(String value)
      Generated method - Setter of Material.subTotal3 attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the subTotal3 - SubTotal 3 from pric. calc. proc. (Shipping costs)
    • setSubTotal4

      @Accessor(qualifier="subTotal4", type=SETTER) public void setSubTotal4(String value)
      Generated method - Setter of Material.subTotal4 attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the subTotal4 - SubTotal 4 from pric. calc. proc. (Tax Amount)
    • setSubTotal5

      @Accessor(qualifier="subTotal5", type=SETTER) public void setSubTotal5(String value)
      Generated method - Setter of Material.subTotal5 attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the subTotal5 - SubTotal 5 from pric. calc. proc. (Payment Costs)
    • setSubTotal6

      @Accessor(qualifier="subTotal6", type=SETTER) public void setSubTotal6(String value)
      Generated method - Setter of Material.subTotal6 attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the subTotal6 - SubTotal 6 from pric. calc. proc.
    • setUnit

      @Accessor(qualifier="unit", type=SETTER) public void setUnit(String value)
      Generated method - Setter of Material.unit attribute defined at extension sapinvoiceaddon.
      Parameters:
      value - the unit - Unit of Measure