Class B2BDocumentTypeModel

All Implemented Interfaces:
Serializable

public class B2BDocumentTypeModel extends ItemModel
Generated model class for type B2BDocumentType first defined at extension accountsummaryaddon.
See Also:
  • 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 accountsummaryaddon.
      See Also:
    • CODE

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

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

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

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

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

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

    • B2BDocumentTypeModel

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

      public B2BDocumentTypeModel(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 accountsummaryaddon
      _displayInAllList - initial attribute declared by type B2BDocumentType at extension accountsummaryaddon
      _includeInOpenBalance - initial attribute declared by type B2BDocumentType at extension accountsummaryaddon
    • 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 accountsummaryaddon
      _displayInAllList - initial attribute declared by type B2BDocumentType at extension accountsummaryaddon
      _includeInOpenBalance - initial attribute declared by type B2BDocumentType at extension accountsummaryaddon
      _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 accountsummaryaddon.
      Returns:
      the code - code
    • getDisplayInAllList

      @Accessor(qualifier="displayInAllList", type=GETTER) public Boolean getDisplayInAllList()
      Generated method - Getter of the B2BDocumentType.displayInAllList attribute defined at extension accountsummaryaddon.
      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 accountsummaryaddon. 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 accountsummaryaddon.
      Returns:
      the includeInOpenBalance - includeInOpenBalance
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the B2BDocumentType.name attribute defined at extension accountsummaryaddon.
      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 accountsummaryaddon.
      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 accountsummaryaddon.
      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 accountsummaryaddon.
      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 accountsummaryaddon.
      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 accountsummaryaddon.
      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 accountsummaryaddon.
      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 accountsummaryaddon.
      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 accountsummaryaddon.
      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 accountsummaryaddon.
      Parameters:
      value - the payableOrUsable - payableOrUsable