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
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
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationB2BDocumentB2BDocumenTypeRelationdefining source attributedocumentin extensionb2bacceleratorservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofB2BDocumentType.codeattribute defined at extensionb2bacceleratorservices.static final StringGenerated constant - Attribute key ofB2BDocumentType.displayInAllListattribute defined at extensionb2bacceleratorservices.static final StringGenerated constant - Attribute key ofB2BDocumentType.documentattribute defined at extensionb2bacceleratorservices.static final StringGenerated constant - Attribute key ofB2BDocumentType.includeInOpenBalanceattribute defined at extensionb2bacceleratorservices.static final StringGenerated constant - Attribute key ofB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.static final StringGenerated constant - Attribute key ofB2BDocumentType.payableOrUsableattribute defined at extensionb2bacceleratorservices.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 extensionb2bacceleratorservices.Generated method - Getter of theB2BDocumentType.displayInAllListattribute defined at extensionb2bacceleratorservices.Generated method - Getter of theB2BDocumentType.documentattribute defined at extensionb2bacceleratorservices.Generated method - Getter of theB2BDocumentType.includeInOpenBalanceattribute defined at extensionb2bacceleratorservices.getName()Generated method - Getter of theB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.Generated method - Getter of theB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.Generated method - Getter of theB2BDocumentType.payableOrUsableattribute defined at extensionb2bacceleratorservices.voidGenerated method - Setter ofB2BDocumentType.codeattribute defined at extensionb2bacceleratorservices.voidsetDisplayInAllList(Boolean value) Generated method - Setter ofB2BDocumentType.displayInAllListattribute defined at extensionb2bacceleratorservices.voidsetDocument(Collection<B2BDocumentModel> value) Generated method - Setter ofB2BDocumentType.documentattribute defined at extensionb2bacceleratorservices.voidsetIncludeInOpenBalance(Boolean value) Generated method - Setter ofB2BDocumentType.includeInOpenBalanceattribute defined at extensionb2bacceleratorservices.voidGenerated method - Setter ofB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.voidGenerated method - Setter ofB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.voidGenerated method - Setter ofB2BDocumentType.payableOrUsableattribute defined at extensionb2bacceleratorservices.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 extensionb2bacceleratorservices.- See Also:
-
CODE
Generated constant - Attribute key ofB2BDocumentType.codeattribute defined at extensionb2bacceleratorservices.- See Also:
-
INCLUDEINOPENBALANCE
Generated constant - Attribute key ofB2BDocumentType.includeInOpenBalanceattribute defined at extensionb2bacceleratorservices.- See Also:
-
DISPLAYINALLLIST
Generated constant - Attribute key ofB2BDocumentType.displayInAllListattribute defined at extensionb2bacceleratorservices.- See Also:
-
NAME
Generated constant - Attribute key ofB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.- See Also:
-
PAYABLEORUSABLE
Generated constant - Attribute key ofB2BDocumentType.payableOrUsableattribute defined at extensionb2bacceleratorservices.- See Also:
-
DOCUMENT
Generated constant - Attribute key ofB2BDocumentType.documentattribute defined at extensionb2bacceleratorservices.- 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 extensionb2bacceleratorservices_displayInAllList- initial attribute declared by typeB2BDocumentTypeat extensionb2bacceleratorservices_includeInOpenBalance- initial attribute declared by typeB2BDocumentTypeat extensionb2bacceleratorservices
-
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 extensionb2bacceleratorservices_displayInAllList- initial attribute declared by typeB2BDocumentTypeat extensionb2bacceleratorservices_includeInOpenBalance- initial attribute declared by typeB2BDocumentTypeat extensionb2bacceleratorservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theB2BDocumentType.codeattribute defined at extensionb2bacceleratorservices.- Returns:
- the code - code
-
getDisplayInAllList
Generated method - Getter of theB2BDocumentType.displayInAllListattribute defined at extensionb2bacceleratorservices.- Returns:
- the displayInAllList - displayInAllList
-
getDocument
Generated method - Getter of theB2BDocumentType.documentattribute defined at extensionb2bacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the document
-
getIncludeInOpenBalance
Generated method - Getter of theB2BDocumentType.includeInOpenBalanceattribute defined at extensionb2bacceleratorservices.- Returns:
- the includeInOpenBalance - includeInOpenBalance
-
getName
Generated method - Getter of theB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.- Returns:
- the name - name
-
getName
Generated method - Getter of theB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.- 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 extensionb2bacceleratorservices.- Returns:
- the payableOrUsable - payableOrUsable
-
setCode
Generated method - Setter ofB2BDocumentType.codeattribute defined at extensionb2bacceleratorservices.- Parameters:
value- the code - code
-
setDisplayInAllList
Generated method - Setter ofB2BDocumentType.displayInAllListattribute defined at extensionb2bacceleratorservices.- Parameters:
value- the displayInAllList - displayInAllList
-
setDocument
@Accessor(qualifier="document", type=SETTER) public void setDocument(Collection<B2BDocumentModel> value) Generated method - Setter ofB2BDocumentType.documentattribute defined at extensionb2bacceleratorservices.- Parameters:
value- the document
-
setIncludeInOpenBalance
@Accessor(qualifier="includeInOpenBalance", type=SETTER) public void setIncludeInOpenBalance(Boolean value) Generated method - Setter ofB2BDocumentType.includeInOpenBalanceattribute defined at extensionb2bacceleratorservices.- Parameters:
value- the includeInOpenBalance - includeInOpenBalance
-
setName
Generated method - Setter ofB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.- Parameters:
value- the name - name
-
setName
Generated method - Setter ofB2BDocumentType.nameattribute defined at extensionb2bacceleratorservices.- 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 extensionb2bacceleratorservices.- Parameters:
value- the payableOrUsable - payableOrUsable
-