Class 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
    • 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 java.lang.String _CART2TMACARTVALIDATION
      Generated relation code constant for relation Cart2TmaCartValidation defining source attribute cart in extension b2ctelcoservices.
      static java.lang.String _CARTENTRY2TMACARTVALIDATION
      Generated relation code constant for relation CartEntry2TmaCartValidation defining source attribute cartEntry in extension b2ctelcoservices.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CART
      Generated constant - Attribute key of TmaCartValidation.cart attribute defined at extension b2ctelcoservices.
      static java.lang.String CARTENTRY
      Generated constant - Attribute key of TmaCartValidation.cartEntry attribute defined at extension b2ctelcoservices.
      static java.lang.String CODE
      Generated constant - Attribute key of TmaCartValidation.code attribute defined at extension b2ctelcoservices.
      static java.lang.String ID
      Generated constant - Attribute key of TmaCartValidation.id attribute defined at extension b2ctelcoservices.
      static java.lang.String MESSAGE
      Generated constant - Attribute key of TmaCartValidation.message attribute defined at extension b2ctelcoservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • 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 context
      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 parameters
      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 parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CartModel getCart()
      Generated method - Getter of the TmaCartValidation.cart attribute defined at extension b2ctelcoservices.
      CartEntryModel getCartEntry()
      Generated method - Getter of the TmaCartValidation.cartEntry attribute defined at extension b2ctelcoservices.
      java.lang.String getCode()
      Generated method - Getter of the TmaCartValidation.code attribute defined at extension b2ctelcoservices.
      java.lang.String getId()
      Generated method - Getter of the TmaCartValidation.id attribute defined at extension b2ctelcoservices.
      java.lang.String getMessage()
      Generated method - Getter of the TmaCartValidation.message attribute defined at extension b2ctelcoservices.
      void setCart​(CartModel value)
      Generated method - Setter of TmaCartValidation.cart attribute defined at extension b2ctelcoservices.
      void setCartEntry​(CartEntryModel value)
      Generated method - Setter of TmaCartValidation.cartEntry attribute defined at extension b2ctelcoservices.
      void setCode​(java.lang.String value)
      Generated method - Setter of TmaCartValidation.code attribute defined at extension b2ctelcoservices.
      void setId​(java.lang.String value)
      Generated method - Initial setter of TmaCartValidation.id attribute defined at extension b2ctelcoservices.
      void setMessage​(java.lang.String value)
      Generated method - Setter of TmaCartValidation.message attribute defined at extension b2ctelcoservices.
      • 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 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 relation CartEntry2TmaCartValidation defining source attribute cartEntry in extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • _CART2TMACARTVALIDATION

        public static final java.lang.String _CART2TMACARTVALIDATION
        Generated relation code constant for relation Cart2TmaCartValidation defining source attribute cart in extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • ID

        public static final java.lang.String ID
        Generated constant - Attribute key of TmaCartValidation.id attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of TmaCartValidation.code attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • MESSAGE

        public static final java.lang.String MESSAGE
        Generated constant - Attribute key of TmaCartValidation.message attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • CARTENTRY

        public static final java.lang.String CARTENTRY
        Generated constant - Attribute key of TmaCartValidation.cartEntry attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • CART

        public static final java.lang.String CART
        Generated constant - Attribute key of TmaCartValidation.cart attribute defined at extension b2ctelcoservices.
        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 parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _id - initial attribute declared by type TmaCartValidation at extension b2ctelcoservices
      • 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 parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _id - initial attribute declared by type TmaCartValidation at extension b2ctelcoservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCart

        @Accessor(qualifier="cart",
                  type=GETTER)
        public CartModel getCart()
        Generated method - Getter of the TmaCartValidation.cart attribute defined at extension b2ctelcoservices.
        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 b2ctelcoservices.
        Returns:
        the cartEntry - The cart entry
      • getCode

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

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

        @Accessor(qualifier="message",
                  type=GETTER)
        public java.lang.String getMessage()
        Generated method - Getter of the TmaCartValidation.message attribute defined at extension b2ctelcoservices.
        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 b2ctelcoservices.
        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 b2ctelcoservices.
        Parameters:
        value - the cartEntry - The cart entry
      • setCode

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