Class ItemModel

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