Class B2BDocumentModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2bacceleratorservices.model.B2BDocumentModel
All Implemented Interfaces:
Serializable

public class B2BDocumentModel extends ItemModel
Generated model class for type B2BDocument first defined at extension b2bacceleratorservices.
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 B2BUnit2B2BDocument defining source attribute unit in extension b2bacceleratorservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of B2BDocument.amount attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.currency attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.date attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.documentMedia attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.documentNumber attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.documentType attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.dueDate attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.openAmount attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.order attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.payDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.status attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.unit attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocument.useDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.

    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.
    B2BDocumentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    B2BDocumentModel(BigDecimal _amount, CurrencyModel _currency, String _documentNumber, B2BDocumentTypeModel _documentType, B2BUnitModel _unit)
    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
    B2BDocumentModel(BigDecimal _amount, CurrencyModel _currency, String _documentNumber, B2BDocumentTypeModel _documentType, ItemModel _owner, B2BUnitModel _unit)
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the B2BDocument.amount attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.currency attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.date attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.documentMedia attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.documentNumber attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.documentType attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.dueDate attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.openAmount attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.order attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.payDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.status attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.unit attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocument.useDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.amount attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.currency attribute defined at extension b2bacceleratorservices.
    void
    setDate(Date value)
    Generated method - Setter of B2BDocument.date attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.documentMedia attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.documentNumber attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.documentType attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.dueDate attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.openAmount attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.order attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.payDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.status attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.unit attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocument.useDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.

    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:
    • _B2BUNIT2B2BDOCUMENT

      public static final String _B2BUNIT2B2BDOCUMENT
      Generated relation code constant for relation B2BUnit2B2BDocument defining source attribute unit in extension b2bacceleratorservices.
      See Also:
    • DOCUMENTNUMBER

      public static final String DOCUMENTNUMBER
      Generated constant - Attribute key of B2BDocument.documentNumber attribute defined at extension b2bacceleratorservices.
      See Also:
    • STATUS

      public static final String STATUS
      Generated constant - Attribute key of B2BDocument.status attribute defined at extension b2bacceleratorservices.
      See Also:
    • DATE

      public static final String DATE
      Generated constant - Attribute key of B2BDocument.date attribute defined at extension b2bacceleratorservices.
      See Also:
    • DUEDATE

      public static final String DUEDATE
      Generated constant - Attribute key of B2BDocument.dueDate attribute defined at extension b2bacceleratorservices.
      See Also:
    • AMOUNT

      public static final String AMOUNT
      Generated constant - Attribute key of B2BDocument.amount attribute defined at extension b2bacceleratorservices.
      See Also:
    • OPENAMOUNT

      public static final String OPENAMOUNT
      Generated constant - Attribute key of B2BDocument.openAmount attribute defined at extension b2bacceleratorservices.
      See Also:
    • CURRENCY

      public static final String CURRENCY
      Generated constant - Attribute key of B2BDocument.currency attribute defined at extension b2bacceleratorservices.
      See Also:
    • DOCUMENTMEDIA

      public static final String DOCUMENTMEDIA
      Generated constant - Attribute key of B2BDocument.documentMedia attribute defined at extension b2bacceleratorservices.
      See Also:
    • DOCUMENTTYPE

      public static final String DOCUMENTTYPE
      Generated constant - Attribute key of B2BDocument.documentType attribute defined at extension b2bacceleratorservices.
      See Also:
    • UNIT

      public static final String UNIT
      Generated constant - Attribute key of B2BDocument.unit attribute defined at extension b2bacceleratorservices.
      See Also:
    • ORDER

      public static final String ORDER
      Generated constant - Attribute key of B2BDocument.order attribute defined at extension b2bacceleratorservices.
      See Also:
    • PAYDOCUMENTPAYMENTINFO

      public static final String PAYDOCUMENTPAYMENTINFO
      Generated constant - Attribute key of B2BDocument.payDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.
      See Also:
    • USEDOCUMENTPAYMENTINFO

      public static final String USEDOCUMENTPAYMENTINFO
      Generated constant - Attribute key of B2BDocument.useDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.
      See Also:
  • Constructor Details

    • B2BDocumentModel

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

      public B2BDocumentModel(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
    • B2BDocumentModel

      @Deprecated(since="4.1.1", forRemoval=true) public B2BDocumentModel(BigDecimal _amount, CurrencyModel _currency, String _documentNumber, B2BDocumentTypeModel _documentType, B2BUnitModel _unit)
      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 - Constructor with all mandatory attributes.
      Parameters:
      _amount - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
      _currency - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
      _documentNumber - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
      _documentType - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
      _unit - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
    • B2BDocumentModel

      @Deprecated(since="4.1.1", forRemoval=true) public B2BDocumentModel(BigDecimal _amount, CurrencyModel _currency, String _documentNumber, B2BDocumentTypeModel _documentType, ItemModel _owner, B2BUnitModel _unit)
      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:
      _amount - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
      _currency - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
      _documentNumber - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
      _documentType - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
      _owner - initial attribute declared by type Item at extension core
      _unit - initial attribute declared by type B2BDocument at extension b2bacceleratorservices
  • Method Details

    • getAmount

      @Accessor(qualifier="amount", type=GETTER) public BigDecimal getAmount()
      Generated method - Getter of the B2BDocument.amount attribute defined at extension b2bacceleratorservices.
      Returns:
      the amount - amount
    • getCurrency

      @Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
      Generated method - Getter of the B2BDocument.currency attribute defined at extension b2bacceleratorservices.
      Returns:
      the currency
    • getDate

      @Accessor(qualifier="date", type=GETTER) public Date getDate()
      Generated method - Getter of the B2BDocument.date attribute defined at extension b2bacceleratorservices.
      Returns:
      the date - date
    • getDocumentMedia

      @Accessor(qualifier="documentMedia", type=GETTER) public DocumentMediaModel getDocumentMedia()
      Generated method - Getter of the B2BDocument.documentMedia attribute defined at extension b2bacceleratorservices.
      Returns:
      the documentMedia
    • getDocumentNumber

      @Accessor(qualifier="documentNumber", type=GETTER) public String getDocumentNumber()
      Generated method - Getter of the B2BDocument.documentNumber attribute defined at extension b2bacceleratorservices.
      Returns:
      the documentNumber
    • getDocumentType

      @Accessor(qualifier="documentType", type=GETTER) public B2BDocumentTypeModel getDocumentType()
      Generated method - Getter of the B2BDocument.documentType attribute defined at extension b2bacceleratorservices.
      Returns:
      the documentType
    • getDueDate

      @Accessor(qualifier="dueDate", type=GETTER) public Date getDueDate()
      Generated method - Getter of the B2BDocument.dueDate attribute defined at extension b2bacceleratorservices.
      Returns:
      the dueDate - dueDate
    • getOpenAmount

      @Accessor(qualifier="openAmount", type=GETTER) public BigDecimal getOpenAmount()
      Generated method - Getter of the B2BDocument.openAmount attribute defined at extension b2bacceleratorservices.
      Returns:
      the openAmount - openAmount
    • getOrder

      @Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
      Generated method - Getter of the B2BDocument.order attribute defined at extension b2bacceleratorservices.
      Returns:
      the order
    • getPayDocumentPaymentInfo

      @Accessor(qualifier="payDocumentPaymentInfo", type=GETTER) public Collection<B2BDocumentPaymentInfoModel> getPayDocumentPaymentInfo()
      Generated method - Getter of the B2BDocument.payDocumentPaymentInfo attribute defined at extension b2bacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the payDocumentPaymentInfo
    • getStatus

      @Accessor(qualifier="status", type=GETTER) public DocumentStatus getStatus()
      Generated method - Getter of the B2BDocument.status attribute defined at extension b2bacceleratorservices.
      Returns:
      the status
    • getUnit

      @Accessor(qualifier="unit", type=GETTER) public B2BUnitModel getUnit()
      Generated method - Getter of the B2BDocument.unit attribute defined at extension b2bacceleratorservices.
      Returns:
      the unit
    • getUseDocumentPaymentInfo

      @Accessor(qualifier="useDocumentPaymentInfo", type=GETTER) public Collection<B2BDocumentPaymentInfoModel> getUseDocumentPaymentInfo()
      Generated method - Getter of the B2BDocument.useDocumentPaymentInfo attribute defined at extension b2bacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the useDocumentPaymentInfo
    • setAmount

      @Accessor(qualifier="amount", type=SETTER) public void setAmount(BigDecimal value)
      Generated method - Setter of B2BDocument.amount attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the amount - amount
    • setCurrency

      @Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
      Generated method - Setter of B2BDocument.currency attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the currency
    • setDate

      @Accessor(qualifier="date", type=SETTER) public void setDate(Date value)
      Generated method - Setter of B2BDocument.date attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the date - date
    • setDocumentMedia

      @Accessor(qualifier="documentMedia", type=SETTER) public void setDocumentMedia(DocumentMediaModel value)
      Generated method - Setter of B2BDocument.documentMedia attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the documentMedia
    • setDocumentNumber

      @Accessor(qualifier="documentNumber", type=SETTER) public void setDocumentNumber(String value)
      Generated method - Setter of B2BDocument.documentNumber attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the documentNumber
    • setDocumentType

      @Accessor(qualifier="documentType", type=SETTER) public void setDocumentType(B2BDocumentTypeModel value)
      Generated method - Setter of B2BDocument.documentType attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the documentType
    • setDueDate

      @Accessor(qualifier="dueDate", type=SETTER) public void setDueDate(Date value)
      Generated method - Setter of B2BDocument.dueDate attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the dueDate - dueDate
    • setOpenAmount

      @Accessor(qualifier="openAmount", type=SETTER) public void setOpenAmount(BigDecimal value)
      Generated method - Setter of B2BDocument.openAmount attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the openAmount - openAmount
    • setOrder

      @Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
      Generated method - Setter of B2BDocument.order attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the order
    • setPayDocumentPaymentInfo

      @Accessor(qualifier="payDocumentPaymentInfo", type=SETTER) public void setPayDocumentPaymentInfo(Collection<B2BDocumentPaymentInfoModel> value)
      Generated method - Setter of B2BDocument.payDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the payDocumentPaymentInfo
    • setStatus

      @Accessor(qualifier="status", type=SETTER) public void setStatus(DocumentStatus value)
      Generated method - Setter of B2BDocument.status attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the status
    • setUnit

      @Accessor(qualifier="unit", type=SETTER) public void setUnit(B2BUnitModel value)
      Generated method - Setter of B2BDocument.unit attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the unit
    • setUseDocumentPaymentInfo

      @Accessor(qualifier="useDocumentPaymentInfo", type=SETTER) public void setUseDocumentPaymentInfo(Collection<B2BDocumentPaymentInfoModel> value)
      Generated method - Setter of B2BDocument.useDocumentPaymentInfo attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the useDocumentPaymentInfo