Class B2BDocumentTypeModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.accountsummaryaddon.model.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_B2BDOCUMENTB2BDOCUMENTYPERELATION
Generated relation code constant for relationB2BDocumentB2BDocumenTypeRelation
defining source attributedocument
in extensionaccountsummaryaddon
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CODE
Generated constant - Attribute key ofB2BDocumentType.code
attribute defined at extensionaccountsummaryaddon
.static java.lang.String
DISPLAYINALLLIST
Generated constant - Attribute key ofB2BDocumentType.displayInAllList
attribute defined at extensionaccountsummaryaddon
.static java.lang.String
DOCUMENT
Generated constant - Attribute key ofB2BDocumentType.document
attribute defined at extensionaccountsummaryaddon
.static java.lang.String
INCLUDEINOPENBALANCE
Generated constant - Attribute key ofB2BDocumentType.includeInOpenBalance
attribute defined at extensionaccountsummaryaddon
.static java.lang.String
NAME
Generated constant - Attribute key ofB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.static java.lang.String
PAYABLEORUSABLE
Generated constant - Attribute key ofB2BDocumentType.payableOrUsable
attribute defined at extensionaccountsummaryaddon
.-
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 B2BDocumentTypeModel()
Generated constructor - Default constructor for generic creation.B2BDocumentTypeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextB2BDocumentTypeModel(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 parametersB2BDocumentTypeModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
Generated method - Getter of theB2BDocumentType.code
attribute defined at extensionaccountsummaryaddon
.java.lang.Boolean
getDisplayInAllList()
Generated method - Getter of theB2BDocumentType.displayInAllList
attribute defined at extensionaccountsummaryaddon
.java.util.Collection<B2BDocumentModel>
getDocument()
Generated method - Getter of theB2BDocumentType.document
attribute defined at extensionaccountsummaryaddon
.java.lang.Boolean
getIncludeInOpenBalance()
Generated method - Getter of theB2BDocumentType.includeInOpenBalance
attribute defined at extensionaccountsummaryaddon
.java.lang.String
getName()
Generated method - Getter of theB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.DocumentPayableOrUsable
getPayableOrUsable()
Generated method - Getter of theB2BDocumentType.payableOrUsable
attribute defined at extensionaccountsummaryaddon
.void
setCode(java.lang.String value)
Generated method - Setter ofB2BDocumentType.code
attribute defined at extensionaccountsummaryaddon
.void
setDisplayInAllList(java.lang.Boolean value)
Generated method - Setter ofB2BDocumentType.displayInAllList
attribute defined at extensionaccountsummaryaddon
.void
setDocument(java.util.Collection<B2BDocumentModel> value)
Generated method - Setter ofB2BDocumentType.document
attribute defined at extensionaccountsummaryaddon
.void
setIncludeInOpenBalance(java.lang.Boolean value)
Generated method - Setter ofB2BDocumentType.includeInOpenBalance
attribute defined at extensionaccountsummaryaddon
.void
setName(java.lang.String value)
Generated method - Setter ofB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.void
setPayableOrUsable(DocumentPayableOrUsable value)
Generated method - Setter ofB2BDocumentType.payableOrUsable
attribute defined at extensionaccountsummaryaddon
.-
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
-
-
-
-
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 relationB2BDocumentB2BDocumenTypeRelation
defining source attributedocument
in extensionaccountsummaryaddon
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofB2BDocumentType.code
attribute defined at extensionaccountsummaryaddon
.- See Also:
- Constant Field Values
-
INCLUDEINOPENBALANCE
public static final java.lang.String INCLUDEINOPENBALANCE
Generated constant - Attribute key ofB2BDocumentType.includeInOpenBalance
attribute defined at extensionaccountsummaryaddon
.- See Also:
- Constant Field Values
-
DISPLAYINALLLIST
public static final java.lang.String DISPLAYINALLLIST
Generated constant - Attribute key ofB2BDocumentType.displayInAllList
attribute defined at extensionaccountsummaryaddon
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.- See Also:
- Constant Field Values
-
PAYABLEORUSABLE
public static final java.lang.String PAYABLEORUSABLE
Generated constant - Attribute key ofB2BDocumentType.payableOrUsable
attribute defined at extensionaccountsummaryaddon
.- See Also:
- Constant Field Values
-
DOCUMENT
public static final java.lang.String DOCUMENT
Generated constant - Attribute key ofB2BDocumentType.document
attribute defined at extensionaccountsummaryaddon
.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code
- initial attribute declared by typeB2BDocumentType
at extensionaccountsummaryaddon
_displayInAllList
- initial attribute declared by typeB2BDocumentType
at extensionaccountsummaryaddon
_includeInOpenBalance
- initial attribute declared by typeB2BDocumentType
at extensionaccountsummaryaddon
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code
- initial attribute declared by typeB2BDocumentType
at extensionaccountsummaryaddon
_displayInAllList
- initial attribute declared by typeB2BDocumentType
at extensionaccountsummaryaddon
_includeInOpenBalance
- initial attribute declared by typeB2BDocumentType
at extensionaccountsummaryaddon
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theB2BDocumentType.code
attribute defined at extensionaccountsummaryaddon
.- Returns:
- the code - code
-
getDisplayInAllList
@Accessor(qualifier="displayInAllList", type=GETTER) public java.lang.Boolean getDisplayInAllList()
Generated method - Getter of theB2BDocumentType.displayInAllList
attribute defined at extensionaccountsummaryaddon
.- Returns:
- the displayInAllList - displayInAllList
-
getDocument
@Accessor(qualifier="document", type=GETTER) public java.util.Collection<B2BDocumentModel> getDocument()
Generated method - Getter of theB2BDocumentType.document
attribute defined at extensionaccountsummaryaddon
. 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 theB2BDocumentType.includeInOpenBalance
attribute defined at extensionaccountsummaryaddon
.- Returns:
- the includeInOpenBalance - includeInOpenBalance
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.- Returns:
- the name - name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.- 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 theB2BDocumentType.payableOrUsable
attribute defined at extensionaccountsummaryaddon
.- Returns:
- the payableOrUsable - payableOrUsable
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofB2BDocumentType.code
attribute defined at extensionaccountsummaryaddon
.- Parameters:
value
- the code - code
-
setDisplayInAllList
@Accessor(qualifier="displayInAllList", type=SETTER) public void setDisplayInAllList(java.lang.Boolean value)
Generated method - Setter ofB2BDocumentType.displayInAllList
attribute defined at extensionaccountsummaryaddon
.- Parameters:
value
- the displayInAllList - displayInAllList
-
setDocument
@Accessor(qualifier="document", type=SETTER) public void setDocument(java.util.Collection<B2BDocumentModel> value)
Generated method - Setter ofB2BDocumentType.document
attribute defined at extensionaccountsummaryaddon
.- Parameters:
value
- the document
-
setIncludeInOpenBalance
@Accessor(qualifier="includeInOpenBalance", type=SETTER) public void setIncludeInOpenBalance(java.lang.Boolean value)
Generated method - Setter ofB2BDocumentType.includeInOpenBalance
attribute defined at extensionaccountsummaryaddon
.- Parameters:
value
- the includeInOpenBalance - includeInOpenBalance
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.- 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 ofB2BDocumentType.name
attribute defined at extensionaccountsummaryaddon
.- Parameters:
value
- the name - nameloc
- 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 ofB2BDocumentType.payableOrUsable
attribute defined at extensionaccountsummaryaddon
.- Parameters:
value
- the payableOrUsable - payableOrUsable
-
-