Class ItemModel

    • 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 _COMMENTITEMRELATION
      Generated relation code constant for relation CommentItemRelation defining source attribute comments in extension comments.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String COMMENTS
      Generated constant - Attribute key of Item.comments attribute defined at extension comments.
      static java.lang.String CREATIONTIME
      Generated constant - Attribute key of Item.creationtime attribute defined at extension core.
      static java.lang.String ITEMTYPE
      Generated constant - Attribute key of Item.itemtype attribute defined at extension core.
      static java.lang.String MODIFIEDTIME
      Generated constant - Attribute key of Item.modifiedtime attribute defined at extension core.
      static java.lang.String OWNER
      Generated constant - Attribute key of Item.owner attribute defined at extension core.
      static java.lang.String PK
      Generated constant - Attribute key of Item.pk attribute defined at extension core.
      static java.lang.String SEALED
      Generated constant - Attribute key of Item.sealed attribute defined at extension core.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemModel()
      Generated constructor - Default constructor for generic creation.
      ItemModel​(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
      ItemModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<CommentModel> getComments()
      Generated method - Getter of the Item.comments attribute defined at extension comments.
      java.util.Date getCreationtime()
      Generated method - Getter of the Item.creationtime attribute defined at extension core.
      java.util.Date getModifiedtime()
      Generated method - Getter of the Item.modifiedtime attribute defined at extension core.
      ItemModel getOwner()
      Generated method - Getter of the Item.owner attribute defined at extension core.
      boolean isSealed()
      Generated method - Getter of the Item.sealed attribute defined at extension core.
      void setComments​(java.util.List<CommentModel> value)
      Generated method - Setter of Item.comments attribute defined at extension comments.
      void setCreationtime​(java.util.Date value)
      Generated method - Initial setter of Item.creationtime attribute defined at extension core.
      void setModifiedtime​(java.util.Date value)
      Generated method - Setter of Item.modifiedtime attribute defined at extension core.
      void setOwner​(ItemModel value)
      Generated method - Initial setter of Item.owner attribute defined at extension core.
      • 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
      • _COMMENTITEMRELATION

        public static final java.lang.String _COMMENTITEMRELATION
        Generated relation code constant for relation CommentItemRelation defining source attribute comments in extension comments.
        See Also:
        Constant Field Values
      • CREATIONTIME

        public static final java.lang.String CREATIONTIME
        Generated constant - Attribute key of Item.creationtime attribute defined at extension core.
        See Also:
        Constant Field Values
      • MODIFIEDTIME

        public static final java.lang.String MODIFIEDTIME
        Generated constant - Attribute key of Item.modifiedtime attribute defined at extension core.
        See Also:
        Constant Field Values
      • ITEMTYPE

        public static final java.lang.String ITEMTYPE
        Generated constant - Attribute key of Item.itemtype attribute defined at extension core.
        See Also:
        Constant Field Values
      • OWNER

        public static final java.lang.String OWNER
        Generated constant - Attribute key of Item.owner attribute defined at extension core.
        See Also:
        Constant Field Values
      • PK

        public static final java.lang.String PK
        Generated constant - Attribute key of Item.pk attribute defined at extension core.
        See Also:
        Constant Field Values
      • SEALED

        public static final java.lang.String SEALED
        Generated constant - Attribute key of Item.sealed attribute defined at extension core.
        See Also:
        Constant Field Values
      • COMMENTS

        public static final java.lang.String COMMENTS
        Generated constant - Attribute key of Item.comments attribute defined at extension comments.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ItemModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ItemModel​(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:
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getComments

        @Accessor(qualifier="comments",
                  type=GETTER)
        public java.util.List<CommentModel> getComments()
        Generated method - Getter of the Item.comments attribute defined at extension comments. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the comments
      • getCreationtime

        @Accessor(qualifier="creationtime",
                  type=GETTER)
        public java.util.Date getCreationtime()
        Generated method - Getter of the Item.creationtime attribute defined at extension core.
        Returns:
        the creationtime
      • getModifiedtime

        @Accessor(qualifier="modifiedtime",
                  type=GETTER)
        public java.util.Date getModifiedtime()
        Generated method - Getter of the Item.modifiedtime attribute defined at extension core.
        Returns:
        the modifiedtime
      • getOwner

        @Accessor(qualifier="owner",
                  type=GETTER)
        public ItemModel getOwner()
        Generated method - Getter of the Item.owner attribute defined at extension core.
        Returns:
        the owner
      • isSealed

        @Accessor(qualifier="sealed",
                  type=GETTER)
        public boolean isSealed()
        Generated method - Getter of the Item.sealed attribute defined at extension core.
        Returns:
        the sealed
      • setComments

        @Accessor(qualifier="comments",
                  type=SETTER)
        public void setComments​(java.util.List<CommentModel> value)
        Generated method - Setter of Item.comments attribute defined at extension comments.
        Parameters:
        value - the comments
      • setCreationtime

        @Accessor(qualifier="creationtime",
                  type=SETTER)
        public void setCreationtime​(java.util.Date value)
        Generated method - Initial setter of Item.creationtime attribute defined at extension core. Can only be used at creation of model - before first save.
        Parameters:
        value - the creationtime
      • setModifiedtime

        @Accessor(qualifier="modifiedtime",
                  type=SETTER)
        public void setModifiedtime​(java.util.Date value)
        Generated method - Setter of Item.modifiedtime attribute defined at extension core.
        Parameters:
        value - the modifiedtime
      • setOwner

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