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:
java.io.Serializable
public class TmaCartValidationModel extends ItemModel
Generated model class for type TmaCartValidation first defined at extension b2ctelcoservices.Represents the cart entry validation result.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CART2TMACARTVALIDATIONGenerated relation code constant for relationCart2TmaCartValidationdefining source attributecartin extensionb2ctelcoservices.static java.lang.String_CARTENTRY2TMACARTVALIDATIONGenerated relation code constant for relationCartEntry2TmaCartValidationdefining source attributecartEntryin extensionb2ctelcoservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCARTGenerated constant - Attribute key ofTmaCartValidation.cartattribute defined at extensionb2ctelcoservices.static java.lang.StringCARTENTRYGenerated constant - Attribute key ofTmaCartValidation.cartEntryattribute defined at extensionb2ctelcoservices.static java.lang.StringCODEGenerated constant - Attribute key ofTmaCartValidation.codeattribute defined at extensionb2ctelcoservices.static java.lang.StringIDGenerated constant - Attribute key ofTmaCartValidation.idattribute defined at extensionb2ctelcoservices.static java.lang.StringMESSAGEGenerated constant - Attribute key ofTmaCartValidation.messageattribute defined at extensionb2ctelcoservices.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
Constructor Summary
Constructors Constructor Description TmaCartValidationModel()Generated constructor - Default constructor for generic creation.TmaCartValidationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextTmaCartValidationModel(java.lang.String _id)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaCartValidationModel(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartModelgetCart()Generated method - Getter of theTmaCartValidation.cartattribute defined at extensionb2ctelcoservices.CartEntryModelgetCartEntry()Generated method - Getter of theTmaCartValidation.cartEntryattribute defined at extensionb2ctelcoservices.java.lang.StringgetCode()Generated method - Getter of theTmaCartValidation.codeattribute defined at extensionb2ctelcoservices.java.lang.StringgetId()Generated method - Getter of theTmaCartValidation.idattribute defined at extensionb2ctelcoservices.java.lang.StringgetMessage()Generated method - Getter of theTmaCartValidation.messageattribute defined at extensionb2ctelcoservices.voidsetCart(CartModel value)Generated method - Setter ofTmaCartValidation.cartattribute defined at extensionb2ctelcoservices.voidsetCartEntry(CartEntryModel value)Generated method - Setter ofTmaCartValidation.cartEntryattribute defined at extensionb2ctelcoservices.voidsetCode(java.lang.String value)Generated method - Setter ofTmaCartValidation.codeattribute defined at extensionb2ctelcoservices.voidsetId(java.lang.String value)Generated method - Initial setter ofTmaCartValidation.idattribute defined at extensionb2ctelcoservices.voidsetMessage(java.lang.String value)Generated method - Setter ofTmaCartValidation.messageattribute defined at extensionb2ctelcoservices.-
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
-
_CARTENTRY2TMACARTVALIDATION
public static final java.lang.String _CARTENTRY2TMACARTVALIDATION
Generated relation code constant for relationCartEntry2TmaCartValidationdefining source attributecartEntryin extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
_CART2TMACARTVALIDATION
public static final java.lang.String _CART2TMACARTVALIDATION
Generated relation code constant for relationCart2TmaCartValidationdefining source attributecartin extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofTmaCartValidation.idattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofTmaCartValidation.codeattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
MESSAGE
public static final java.lang.String MESSAGE
Generated constant - Attribute key ofTmaCartValidation.messageattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CARTENTRY
public static final java.lang.String CARTENTRY
Generated constant - Attribute key ofTmaCartValidation.cartEntryattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CART
public static final java.lang.String CART
Generated constant - Attribute key ofTmaCartValidation.cartattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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(since="4.1.1", forRemoval=true) public TmaCartValidationModel(java.lang.String _id)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 extensionb2ctelcoservices
-
TmaCartValidationModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaCartValidationModel(java.lang.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 extensionb2ctelcoservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getCart
@Accessor(qualifier="cart", type=GETTER) public CartModel getCart()Generated method - Getter of theTmaCartValidation.cartattribute defined at extensionb2ctelcoservices.- Returns:
- the cart - The cart
-
getCartEntry
@Accessor(qualifier="cartEntry", type=GETTER) public CartEntryModel getCartEntry()Generated method - Getter of theTmaCartValidation.cartEntryattribute defined at extensionb2ctelcoservices.- Returns:
- the cartEntry - The cart entry
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()Generated method - Getter of theTmaCartValidation.codeattribute defined at extensionb2ctelcoservices.- Returns:
- the code - The code of the validation result.
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()Generated method - Getter of theTmaCartValidation.idattribute defined at extensionb2ctelcoservices.- Returns:
- the id - Identifier of the cart validation object
-
getMessage
@Accessor(qualifier="message", type=GETTER) public java.lang.String getMessage()Generated method - Getter of theTmaCartValidation.messageattribute defined at extensionb2ctelcoservices.- Returns:
- the message - Represents the cart validation error message.
-
setCart
@Accessor(qualifier="cart", type=SETTER) public void setCart(CartModel value)Generated method - Setter ofTmaCartValidation.cartattribute defined at extensionb2ctelcoservices.- Parameters:
value- the cart - The cart
-
setCartEntry
@Accessor(qualifier="cartEntry", type=SETTER) public void setCartEntry(CartEntryModel value)Generated method - Setter ofTmaCartValidation.cartEntryattribute defined at extensionb2ctelcoservices.- Parameters:
value- the cartEntry - The cart entry
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)Generated method - Setter ofTmaCartValidation.codeattribute defined at extensionb2ctelcoservices.- Parameters:
value- the code - The code of the validation result.
-
setId
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)Generated method - Initial setter ofTmaCartValidation.idattribute defined at extensionb2ctelcoservices. Can only be used at creation of model - before first save.- Parameters:
value- the id - Identifier of the cart validation object
-
setMessage
@Accessor(qualifier="message", type=SETTER) public void setMessage(java.lang.String value)Generated method - Setter ofTmaCartValidation.messageattribute defined at extensionb2ctelcoservices.- Parameters:
value- the message - Represents the cart validation error message.
-
-