Class AbstractActionModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    SimpleActionModel

    public class AbstractActionModel
    extends ItemModel
    Generated model class for type AbstractAction first defined at extension processing.
    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 _TYPECODE
      Generated model type code constant.
      static java.lang.String CODE
      Generated constant - Attribute key of AbstractAction.code attribute defined at extension processing.
      static java.lang.String TARGET
      Generated constant - Attribute key of AbstractAction.target attribute defined at extension processing.
      static java.lang.String TYPE
      Generated constant - Attribute key of AbstractAction.type attribute defined at extension processing.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractActionModel()
      Generated constructor - Default constructor for generic creation.
      AbstractActionModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      AbstractActionModel​(java.lang.String _code, ItemModel _owner, java.lang.String _target, ActionType _type)
      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
      AbstractActionModel​(java.lang.String _code, java.lang.String _target, ActionType _type)
      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
      java.lang.String getCode()
      Generated method - Getter of the AbstractAction.code attribute defined at extension processing.
      java.lang.String getTarget()
      Generated method - Getter of the AbstractAction.target attribute defined at extension processing.
      ActionType getType()
      Generated method - Getter of the AbstractAction.type attribute defined at extension processing.
      void setCode​(java.lang.String value)
      Generated method - Initial setter of AbstractAction.code attribute defined at extension processing.
      void setTarget​(java.lang.String value)
      Generated method - Initial setter of AbstractAction.target attribute defined at extension processing.
      void setType​(ActionType value)
      Generated method - Initial setter of AbstractAction.type attribute defined at extension processing.
      • 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
      • CODE

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

        public static final java.lang.String TYPE
        Generated constant - Attribute key of AbstractAction.type attribute defined at extension processing.
        See Also:
        Constant Field Values
      • TARGET

        public static final java.lang.String TARGET
        Generated constant - Attribute key of AbstractAction.target attribute defined at extension processing.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractActionModel

        public AbstractActionModel()
        Generated constructor - Default constructor for generic creation.
      • AbstractActionModel

        public AbstractActionModel​(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
      • AbstractActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractActionModel​(java.lang.String _code,
                                   java.lang.String _target,
                                   ActionType _type)
        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:
        _code - initial attribute declared by type AbstractAction at extension processing
        _target - initial attribute declared by type AbstractAction at extension processing
        _type - initial attribute declared by type AbstractAction at extension processing
      • AbstractActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractActionModel​(java.lang.String _code,
                                   ItemModel _owner,
                                   java.lang.String _target,
                                   ActionType _type)
        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:
        _code - initial attribute declared by type AbstractAction at extension processing
        _owner - initial attribute declared by type Item at extension core
        _target - initial attribute declared by type AbstractAction at extension processing
        _type - initial attribute declared by type AbstractAction at extension processing
    • Method Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the AbstractAction.code attribute defined at extension processing.
        Returns:
        the code
      • getTarget

        @Accessor(qualifier="target",
                  type=GETTER)
        public java.lang.String getTarget()
        Generated method - Getter of the AbstractAction.target attribute defined at extension processing.
        Returns:
        the target
      • getType

        @Accessor(qualifier="type",
                  type=GETTER)
        public ActionType getType()
        Generated method - Getter of the AbstractAction.type attribute defined at extension processing.
        Returns:
        the type
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Initial setter of AbstractAction.code attribute defined at extension processing. Can only be used at creation of model - before first save.
        Parameters:
        value - the code
      • setTarget

        @Accessor(qualifier="target",
                  type=SETTER)
        public void setTarget​(java.lang.String value)
        Generated method - Initial setter of AbstractAction.target attribute defined at extension processing. Can only be used at creation of model - before first save.
        Parameters:
        value - the target
      • setType

        @Accessor(qualifier="type",
                  type=SETTER)
        public void setType​(ActionType value)
        Generated method - Initial setter of AbstractAction.type attribute defined at extension processing. Can only be used at creation of model - before first save.
        Parameters:
        value - the type