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:
Serializable
Generated model class for type B2BDocumentType first defined at extension accountsummaryaddon.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationB2BDocumentB2BDocumenTypeRelationdefining source attributedocumentin extensionaccountsummaryaddon.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofB2BDocumentType.codeattribute defined at extensionaccountsummaryaddon.static final StringGenerated constant - Attribute key ofB2BDocumentType.displayInAllListattribute defined at extensionaccountsummaryaddon.static final StringGenerated constant - Attribute key ofB2BDocumentType.documentattribute defined at extensionaccountsummaryaddon.static final StringGenerated constant - Attribute key ofB2BDocumentType.includeInOpenBalanceattribute defined at extensionaccountsummaryaddon.static final StringGenerated constant - Attribute key ofB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.static final StringGenerated constant - Attribute key ofB2BDocumentType.payableOrUsableattribute defined at extensionaccountsummaryaddon.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextB2BDocumentTypeModel(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 parametersB2BDocumentTypeModel(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 TypeMethodDescriptiongetCode()Generated method - Getter of theB2BDocumentType.codeattribute defined at extensionaccountsummaryaddon.Generated method - Getter of theB2BDocumentType.displayInAllListattribute defined at extensionaccountsummaryaddon.Generated method - Getter of theB2BDocumentType.documentattribute defined at extensionaccountsummaryaddon.Generated method - Getter of theB2BDocumentType.includeInOpenBalanceattribute defined at extensionaccountsummaryaddon.getName()Generated method - Getter of theB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.Generated method - Getter of theB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.Generated method - Getter of theB2BDocumentType.payableOrUsableattribute defined at extensionaccountsummaryaddon.voidGenerated method - Setter ofB2BDocumentType.codeattribute defined at extensionaccountsummaryaddon.voidsetDisplayInAllList(Boolean value) Generated method - Setter ofB2BDocumentType.displayInAllListattribute defined at extensionaccountsummaryaddon.voidsetDocument(Collection<B2BDocumentModel> value) Generated method - Setter ofB2BDocumentType.documentattribute defined at extensionaccountsummaryaddon.voidsetIncludeInOpenBalance(Boolean value) Generated method - Setter ofB2BDocumentType.includeInOpenBalanceattribute defined at extensionaccountsummaryaddon.voidGenerated method - Setter ofB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.voidGenerated method - Setter ofB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.voidGenerated method - Setter ofB2BDocumentType.payableOrUsableattribute defined at extensionaccountsummaryaddon.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_B2BDOCUMENTB2BDOCUMENTYPERELATION
Generated relation code constant for relationB2BDocumentB2BDocumenTypeRelationdefining source attributedocumentin extensionaccountsummaryaddon.- See Also:
-
CODE
Generated constant - Attribute key ofB2BDocumentType.codeattribute defined at extensionaccountsummaryaddon.- See Also:
-
INCLUDEINOPENBALANCE
Generated constant - Attribute key ofB2BDocumentType.includeInOpenBalanceattribute defined at extensionaccountsummaryaddon.- See Also:
-
DISPLAYINALLLIST
Generated constant - Attribute key ofB2BDocumentType.displayInAllListattribute defined at extensionaccountsummaryaddon.- See Also:
-
NAME
Generated constant - Attribute key ofB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.- See Also:
-
PAYABLEORUSABLE
Generated constant - Attribute key ofB2BDocumentType.payableOrUsableattribute defined at extensionaccountsummaryaddon.- See Also:
-
DOCUMENT
Generated constant - Attribute key ofB2BDocumentType.documentattribute defined at extensionaccountsummaryaddon.- See Also:
-
-
Constructor Details
-
B2BDocumentTypeModel
public B2BDocumentTypeModel()Generated constructor - Default constructor for generic creation. -
B2BDocumentTypeModel
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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeB2BDocumentTypeat extensionaccountsummaryaddon_displayInAllList- initial attribute declared by typeB2BDocumentTypeat extensionaccountsummaryaddon_includeInOpenBalance- initial attribute declared by typeB2BDocumentTypeat extensionaccountsummaryaddon
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeB2BDocumentTypeat extensionaccountsummaryaddon_displayInAllList- initial attribute declared by typeB2BDocumentTypeat extensionaccountsummaryaddon_includeInOpenBalance- initial attribute declared by typeB2BDocumentTypeat extensionaccountsummaryaddon_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theB2BDocumentType.codeattribute defined at extensionaccountsummaryaddon.- Returns:
- the code - code
-
getDisplayInAllList
Generated method - Getter of theB2BDocumentType.displayInAllListattribute defined at extensionaccountsummaryaddon.- Returns:
- the displayInAllList - displayInAllList
-
getDocument
Generated method - Getter of theB2BDocumentType.documentattribute defined at extensionaccountsummaryaddon. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the document
-
getIncludeInOpenBalance
Generated method - Getter of theB2BDocumentType.includeInOpenBalanceattribute defined at extensionaccountsummaryaddon.- Returns:
- the includeInOpenBalance - includeInOpenBalance
-
getName
Generated method - Getter of theB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.- Returns:
- the name - name
-
getName
Generated method - Getter of theB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.- 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 theB2BDocumentType.payableOrUsableattribute defined at extensionaccountsummaryaddon.- Returns:
- the payableOrUsable - payableOrUsable
-
setCode
Generated method - Setter ofB2BDocumentType.codeattribute defined at extensionaccountsummaryaddon.- Parameters:
value- the code - code
-
setDisplayInAllList
Generated method - Setter ofB2BDocumentType.displayInAllListattribute defined at extensionaccountsummaryaddon.- Parameters:
value- the displayInAllList - displayInAllList
-
setDocument
@Accessor(qualifier="document", type=SETTER) public void setDocument(Collection<B2BDocumentModel> value) Generated method - Setter ofB2BDocumentType.documentattribute defined at extensionaccountsummaryaddon.- Parameters:
value- the document
-
setIncludeInOpenBalance
@Accessor(qualifier="includeInOpenBalance", type=SETTER) public void setIncludeInOpenBalance(Boolean value) Generated method - Setter ofB2BDocumentType.includeInOpenBalanceattribute defined at extensionaccountsummaryaddon.- Parameters:
value- the includeInOpenBalance - includeInOpenBalance
-
setName
Generated method - Setter ofB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.- Parameters:
value- the name - name
-
setName
Generated method - Setter ofB2BDocumentType.nameattribute defined at extensionaccountsummaryaddon.- Parameters:
value- the name - nameloc- 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 ofB2BDocumentType.payableOrUsableattribute defined at extensionaccountsummaryaddon.- Parameters:
value- the payableOrUsable - payableOrUsable
-