Class TmaCartValidationModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaCartValidationModel
- All Implemented Interfaces:
Serializable
Generated model class for type TmaCartValidation first defined at extension tuadatacommonsservices.
Represents the cart entry validation result.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCart2TmaCartValidationdefining source attributecartin extensiontuadatacommonsservices.static final StringGenerated relation code constant for relationCartEntry2TmaCartValidationdefining source attributecartEntryin extensiontuadatacommonsservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaCartValidation.cartattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaCartValidation.cartEntryattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaCartValidation.codeattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaCartValidation.idattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaCartValidation.messageattribute defined at extensiontuadatacommonsservices.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.TmaCartValidationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextDeprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaCartValidationModel(String _id, 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 TypeMethodDescriptiongetCart()Generated method - Getter of theTmaCartValidation.cartattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaCartValidation.cartEntryattribute defined at extensiontuadatacommonsservices.getCode()Generated method - Getter of theTmaCartValidation.codeattribute defined at extensiontuadatacommonsservices.getId()Generated method - Getter of theTmaCartValidation.idattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaCartValidation.messageattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaCartValidation.cartattribute defined at extensiontuadatacommonsservices.voidsetCartEntry(CartEntryModel value) Generated method - Setter ofTmaCartValidation.cartEntryattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaCartValidation.codeattribute defined at extensiontuadatacommonsservices.voidGenerated method - Initial setter ofTmaCartValidation.idattribute defined at extensiontuadatacommonsservices.voidsetMessage(String value) Generated method - Setter ofTmaCartValidation.messageattribute defined at extensiontuadatacommonsservices.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:
-
_CARTENTRY2TMACARTVALIDATION
Generated relation code constant for relationCartEntry2TmaCartValidationdefining source attributecartEntryin extensiontuadatacommonsservices.- See Also:
-
_CART2TMACARTVALIDATION
Generated relation code constant for relationCart2TmaCartValidationdefining source attributecartin extensiontuadatacommonsservices.- See Also:
-
ID
Generated constant - Attribute key ofTmaCartValidation.idattribute defined at extensiontuadatacommonsservices.- See Also:
-
CODE
Generated constant - Attribute key ofTmaCartValidation.codeattribute defined at extensiontuadatacommonsservices.- See Also:
-
MESSAGE
Generated constant - Attribute key ofTmaCartValidation.messageattribute defined at extensiontuadatacommonsservices.- See Also:
-
CARTENTRY
Generated constant - Attribute key ofTmaCartValidation.cartEntryattribute defined at extensiontuadatacommonsservices.- See Also:
-
CART
Generated constant - Attribute key ofTmaCartValidation.cartattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
TmaCartValidationModel
public TmaCartValidationModel()Generated constructor - Default constructor for generic creation. -
TmaCartValidationModel
public TmaCartValidationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TmaCartValidationModel
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:
_id- initial attribute declared by typeTmaCartValidationat extensiontuadatacommonsservices
-
TmaCartValidationModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaCartValidationModel(String _id, 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:
_id- initial attribute declared by typeTmaCartValidationat extensiontuadatacommonsservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCart
Generated method - Getter of theTmaCartValidation.cartattribute defined at extensiontuadatacommonsservices.- Returns:
- the cart - The cart
-
getCartEntry
Generated method - Getter of theTmaCartValidation.cartEntryattribute defined at extensiontuadatacommonsservices.- Returns:
- the cartEntry - The cart entry
-
getCode
Generated method - Getter of theTmaCartValidation.codeattribute defined at extensiontuadatacommonsservices.- Returns:
- the code - The code of the validation result.
-
getId
Generated method - Getter of theTmaCartValidation.idattribute defined at extensiontuadatacommonsservices.- Returns:
- the id - Identifier of the cart validation object
-
getMessage
Generated method - Getter of theTmaCartValidation.messageattribute defined at extensiontuadatacommonsservices.- Returns:
- the message - Represents the cart validation error message.
-
setCart
Generated method - Setter ofTmaCartValidation.cartattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the cart - The cart
-
setCartEntry
Generated method - Setter ofTmaCartValidation.cartEntryattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the cartEntry - The cart entry
-
setCode
Generated method - Setter ofTmaCartValidation.codeattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the code - The code of the validation result.
-
setId
Generated method - Initial setter ofTmaCartValidation.idattribute defined at extensiontuadatacommonsservices. Can only be used at creation of model - before first save.- Parameters:
value- the id - Identifier of the cart validation object
-
setMessage
Generated method - Setter ofTmaCartValidation.messageattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the message - Represents the cart validation error message.
-