Class B2BDocumentTypeModel

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

public class B2BDocumentTypeModel extends ItemModel
Generated model class for type B2BDocumentType 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 B2BDocumentB2BDocumenTypeRelation defining source attribute document in extension b2bacceleratorservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of B2BDocumentType.code attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocumentType.displayInAllList attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocumentType.document attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocumentType.includeInOpenBalance attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocumentType.name attribute defined at extension b2bacceleratorservices.
    static final String
    Generated constant - Attribute key of B2BDocumentType.payableOrUsable 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.
    B2BDocumentTypeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    B2BDocumentTypeModel(String _code, Boolean _displayInAllList, Boolean _includeInOpenBalance)
    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
    B2BDocumentTypeModel(String _code, Boolean _displayInAllList, Boolean _includeInOpenBalance, 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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the B2BDocumentType.code attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocumentType.displayInAllList attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocumentType.document attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocumentType.includeInOpenBalance attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocumentType.name attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocumentType.name attribute defined at extension b2bacceleratorservices.
    Generated method - Getter of the B2BDocumentType.payableOrUsable attribute defined at extension b2bacceleratorservices.
    void
    setCode(String value)
    Generated method - Setter of B2BDocumentType.code attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocumentType.displayInAllList attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocumentType.document attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocumentType.includeInOpenBalance attribute defined at extension b2bacceleratorservices.
    void
    setName(String value)
    Generated method - Setter of B2BDocumentType.name attribute defined at extension b2bacceleratorservices.
    void
    setName(String value, Locale loc)
    Generated method - Setter of B2BDocumentType.name attribute defined at extension b2bacceleratorservices.
    void
    Generated method - Setter of B2BDocumentType.payableOrUsable 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:
    • _B2BDOCUMENTB2BDOCUMENTYPERELATION

      public static final String _B2BDOCUMENTB2BDOCUMENTYPERELATION
      Generated relation code constant for relation B2BDocumentB2BDocumenTypeRelation defining source attribute document in extension b2bacceleratorservices.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of B2BDocumentType.code attribute defined at extension b2bacceleratorservices.
      See Also:
    • INCLUDEINOPENBALANCE

      public static final String INCLUDEINOPENBALANCE
      Generated constant - Attribute key of B2BDocumentType.includeInOpenBalance attribute defined at extension b2bacceleratorservices.
      See Also:
    • DISPLAYINALLLIST

      public static final String DISPLAYINALLLIST
      Generated constant - Attribute key of B2BDocumentType.displayInAllList attribute defined at extension b2bacceleratorservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of B2BDocumentType.name attribute defined at extension b2bacceleratorservices.
      See Also:
    • PAYABLEORUSABLE

      public static final String PAYABLEORUSABLE
      Generated constant - Attribute key of B2BDocumentType.payableOrUsable attribute defined at extension b2bacceleratorservices.
      See Also:
    • DOCUMENT

      public static final String DOCUMENT
      Generated constant - Attribute key of B2BDocumentType.document attribute defined at extension b2bacceleratorservices.
      See Also:
  • Constructor Details

    • B2BDocumentTypeModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public B2BDocumentTypeModel(String _code, Boolean _displayInAllList, Boolean _includeInOpenBalance)
      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:
      _code - initial attribute declared by type B2BDocumentType at extension b2bacceleratorservices
      _displayInAllList - initial attribute declared by type B2BDocumentType at extension b2bacceleratorservices
      _includeInOpenBalance - initial attribute declared by type B2BDocumentType at extension b2bacceleratorservices
    • B2BDocumentTypeModel

      @Deprecated(since="4.1.1", forRemoval=true) public B2BDocumentTypeModel(String _code, Boolean _displayInAllList, Boolean _includeInOpenBalance, 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:
      _code - initial attribute declared by type B2BDocumentType at extension b2bacceleratorservices
      _displayInAllList - initial attribute declared by type B2BDocumentType at extension b2bacceleratorservices
      _includeInOpenBalance - initial attribute declared by type B2BDocumentType at extension b2bacceleratorservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the B2BDocumentType.code attribute defined at extension b2bacceleratorservices.
      Returns:
      the code - code
    • getDisplayInAllList

      @Accessor(qualifier="displayInAllList", type=GETTER) public Boolean getDisplayInAllList()
      Generated method - Getter of the B2BDocumentType.displayInAllList attribute defined at extension b2bacceleratorservices.
      Returns:
      the displayInAllList - displayInAllList
    • getDocument

      @Accessor(qualifier="document", type=GETTER) public Collection<B2BDocumentModel> getDocument()
      Generated method - Getter of the B2BDocumentType.document attribute defined at extension b2bacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the document
    • getIncludeInOpenBalance

      @Accessor(qualifier="includeInOpenBalance", type=GETTER) public Boolean getIncludeInOpenBalance()
      Generated method - Getter of the B2BDocumentType.includeInOpenBalance attribute defined at extension b2bacceleratorservices.
      Returns:
      the includeInOpenBalance - includeInOpenBalance
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the B2BDocumentType.name attribute defined at extension b2bacceleratorservices.
      Returns:
      the name - name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the B2BDocumentType.name attribute defined at extension b2bacceleratorservices.
      Parameters:
      loc - the value localization key
      Returns:
      the name - name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getPayableOrUsable

      @Accessor(qualifier="payableOrUsable", type=GETTER) public DocumentPayableOrUsable getPayableOrUsable()
      Generated method - Getter of the B2BDocumentType.payableOrUsable attribute defined at extension b2bacceleratorservices.
      Returns:
      the payableOrUsable - payableOrUsable
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of B2BDocumentType.code attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the code - code
    • setDisplayInAllList

      @Accessor(qualifier="displayInAllList", type=SETTER) public void setDisplayInAllList(Boolean value)
      Generated method - Setter of B2BDocumentType.displayInAllList attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the displayInAllList - displayInAllList
    • setDocument

      @Accessor(qualifier="document", type=SETTER) public void setDocument(Collection<B2BDocumentModel> value)
      Generated method - Setter of B2BDocumentType.document attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the document
    • setIncludeInOpenBalance

      @Accessor(qualifier="includeInOpenBalance", type=SETTER) public void setIncludeInOpenBalance(Boolean value)
      Generated method - Setter of B2BDocumentType.includeInOpenBalance attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the includeInOpenBalance - includeInOpenBalance
    • setName

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

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of B2BDocumentType.name attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the name - name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setPayableOrUsable

      @Accessor(qualifier="payableOrUsable", type=SETTER) public void setPayableOrUsable(DocumentPayableOrUsable value)
      Generated method - Setter of B2BDocumentType.payableOrUsable attribute defined at extension b2bacceleratorservices.
      Parameters:
      value - the payableOrUsable - payableOrUsable