Class B2BDocumentTypeModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class B2BDocumentTypeModel
    extends ItemModel
    Generated model class for type B2BDocumentType first defined at extension accountsummaryaddon.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _B2BDOCUMENTB2BDOCUMENTYPERELATION

        public static final java.lang.String _B2BDOCUMENTB2BDOCUMENTYPERELATION
        Generated relation code constant for relation B2BDocumentB2BDocumenTypeRelation defining source attribute document in extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • CODE

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

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

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

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

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

        public static final java.lang.String DOCUMENT
        Generated constant - Attribute key of B2BDocumentType.document attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.String _code,
                                    java.lang.Boolean _displayInAllList,
                                    java.lang.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​(java.lang.String _code,
                                    java.lang.Boolean _displayInAllList,
                                    java.lang.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 Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.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 java.lang.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 java.util.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 java.lang.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 java.lang.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 java.lang.String getName​(java.util.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:
        java.lang.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​(java.lang.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​(java.lang.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​(java.util.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​(java.lang.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​(java.lang.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​(java.lang.String value,
                            java.util.Locale loc)
        Generated method - Setter of B2BDocumentType.name attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the name - name
        loc - the value localization key
        Throws:
        java.lang.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