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

public class TmaCartValidationModel extends ItemModel
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation Cart2TmaCartValidation defining source attribute cart in extension tuadatacommonsservices.
    static final String
    Generated relation code constant for relation CartEntry2TmaCartValidation defining source attribute cartEntry in extension tuadatacommonsservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of TmaCartValidation.cart attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaCartValidation.cartEntry attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaCartValidation.code attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaCartValidation.id attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaCartValidation.message attribute defined at extension tuadatacommonsservices.

    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
    Generated constructor - Default constructor for generic creation.
    TmaCartValidationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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 Type
    Method
    Description
    Generated method - Getter of the TmaCartValidation.cart attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaCartValidation.cartEntry attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaCartValidation.code attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaCartValidation.id attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaCartValidation.message attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of TmaCartValidation.cart attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of TmaCartValidation.cartEntry attribute defined at extension tuadatacommonsservices.
    void
    setCode(String value)
    Generated method - Setter of TmaCartValidation.code attribute defined at extension tuadatacommonsservices.
    void
    setId(String value)
    Generated method - Initial setter of TmaCartValidation.id attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of TmaCartValidation.message attribute defined at extension tuadatacommonsservices.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _CARTENTRY2TMACARTVALIDATION

      public static final String _CARTENTRY2TMACARTVALIDATION
      Generated relation code constant for relation CartEntry2TmaCartValidation defining source attribute cartEntry in extension tuadatacommonsservices.
      See Also:
    • _CART2TMACARTVALIDATION

      public static final String _CART2TMACARTVALIDATION
      Generated relation code constant for relation Cart2TmaCartValidation defining source attribute cart in extension tuadatacommonsservices.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of TmaCartValidation.id attribute defined at extension tuadatacommonsservices.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of TmaCartValidation.code attribute defined at extension tuadatacommonsservices.
      See Also:
    • MESSAGE

      public static final String MESSAGE
      Generated constant - Attribute key of TmaCartValidation.message attribute defined at extension tuadatacommonsservices.
      See Also:
    • CARTENTRY

      public static final String CARTENTRY
      Generated constant - Attribute key of TmaCartValidation.cartEntry attribute defined at extension tuadatacommonsservices.
      See Also:
    • CART

      public static final String CART
      Generated constant - Attribute key of TmaCartValidation.cart attribute defined at extension tuadatacommonsservices.
      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(since="4.1.1", forRemoval=true) public TmaCartValidationModel(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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _id - initial attribute declared by type TmaCartValidation at extension tuadatacommonsservices
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _id - initial attribute declared by type TmaCartValidation at extension tuadatacommonsservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCart

      @Accessor(qualifier="cart", type=GETTER) public CartModel getCart()
      Generated method - Getter of the TmaCartValidation.cart attribute defined at extension tuadatacommonsservices.
      Returns:
      the cart - The cart
    • getCartEntry

      @Accessor(qualifier="cartEntry", type=GETTER) public CartEntryModel getCartEntry()
      Generated method - Getter of the TmaCartValidation.cartEntry attribute defined at extension tuadatacommonsservices.
      Returns:
      the cartEntry - The cart entry
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the TmaCartValidation.code attribute defined at extension tuadatacommonsservices.
      Returns:
      the code - The code of the validation result.
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the TmaCartValidation.id attribute defined at extension tuadatacommonsservices.
      Returns:
      the id - Identifier of the cart validation object
    • getMessage

      @Accessor(qualifier="message", type=GETTER) public String getMessage()
      Generated method - Getter of the TmaCartValidation.message attribute defined at extension tuadatacommonsservices.
      Returns:
      the message - Represents the cart validation error message.
    • setCart

      @Accessor(qualifier="cart", type=SETTER) public void setCart(CartModel value)
      Generated method - Setter of TmaCartValidation.cart attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the cart - The cart
    • setCartEntry

      @Accessor(qualifier="cartEntry", type=SETTER) public void setCartEntry(CartEntryModel value)
      Generated method - Setter of TmaCartValidation.cartEntry attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the cartEntry - The cart entry
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of TmaCartValidation.code attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the code - The code of the validation result.
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Initial setter of TmaCartValidation.id attribute defined at extension tuadatacommonsservices. 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(String value)
      Generated method - Setter of TmaCartValidation.message attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the message - Represents the cart validation error message.