Class SavedValuesModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class SavedValuesModel
    extends ItemModel
    Generated model class for type SavedValues first defined at extension core.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _ITEMSAVEDVALUESRELATION

        public static final java.lang.String _ITEMSAVEDVALUESRELATION
        Generated relation code constant for relation ItemSavedValuesRelation defining source attribute modifiedItem in extension core.
        See Also:
        Constant Field Values
      • MODIFIEDITEMTYPE

        public static final java.lang.String MODIFIEDITEMTYPE
        Generated constant - Attribute key of SavedValues.modifiedItemType attribute defined at extension core.
        See Also:
        Constant Field Values
      • MODIFIEDITEMDISPLAYSTRING

        public static final java.lang.String MODIFIEDITEMDISPLAYSTRING
        Generated constant - Attribute key of SavedValues.modifiedItemDisplayString attribute defined at extension core.
        See Also:
        Constant Field Values
      • TIMESTAMP

        public static final java.lang.String TIMESTAMP
        Generated constant - Attribute key of SavedValues.timestamp attribute defined at extension core.
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Generated constant - Attribute key of SavedValues.user attribute defined at extension core.
        See Also:
        Constant Field Values
      • CHANGEDATTRIBUTES

        public static final java.lang.String CHANGEDATTRIBUTES
        Generated constant - Attribute key of SavedValues.changedAttributes attribute defined at extension core.
        See Also:
        Constant Field Values
      • NUMBEROFCHANGEDATTRIBUTES

        public static final java.lang.String NUMBEROFCHANGEDATTRIBUTES
        Generated constant - Attribute key of SavedValues.numberOfChangedAttributes attribute defined at extension core.
        See Also:
        Constant Field Values
      • MODIFICATIONTYPE

        public static final java.lang.String MODIFICATIONTYPE
        Generated constant - Attribute key of SavedValues.modificationType attribute defined at extension core.
        See Also:
        Constant Field Values
      • SAVEDVALUESENTRIES

        public static final java.lang.String SAVEDVALUESENTRIES
        Generated constant - Attribute key of SavedValues.savedValuesEntries attribute defined at extension core.
        See Also:
        Constant Field Values
      • MODIFIEDITEMPOS

        public static final java.lang.String MODIFIEDITEMPOS
        Generated constant - Attribute key of SavedValues.modifiedItemPOS attribute defined at extension core.
        See Also:
        Constant Field Values
      • MODIFIEDITEM

        public static final java.lang.String MODIFIEDITEM
        Generated constant - Attribute key of SavedValues.modifiedItem attribute defined at extension core.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SavedValuesModel

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

        public SavedValuesModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • SavedValuesModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SavedValuesModel​(SavedValueEntryType _modificationType,
                                java.lang.String _modifiedItemDisplayString,
                                ComposedTypeModel _modifiedItemType,
                                java.util.Date _timestamp,
                                UserModel _user)
        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:
        _modificationType - initial attribute declared by type SavedValues at extension core
        _modifiedItemDisplayString - initial attribute declared by type SavedValues at extension core
        _modifiedItemType - initial attribute declared by type SavedValues at extension core
        _timestamp - initial attribute declared by type SavedValues at extension core
        _user - initial attribute declared by type SavedValues at extension core
      • SavedValuesModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SavedValuesModel​(SavedValueEntryType _modificationType,
                                ItemModel _modifiedItem,
                                java.lang.String _modifiedItemDisplayString,
                                ComposedTypeModel _modifiedItemType,
                                ItemModel _owner,
                                java.util.Date _timestamp,
                                UserModel _user)
        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:
        _modificationType - initial attribute declared by type SavedValues at extension core
        _modifiedItem - initial attribute declared by type SavedValues at extension core
        _modifiedItemDisplayString - initial attribute declared by type SavedValues at extension core
        _modifiedItemType - initial attribute declared by type SavedValues at extension core
        _owner - initial attribute declared by type Item at extension core
        _timestamp - initial attribute declared by type SavedValues at extension core
        _user - initial attribute declared by type SavedValues at extension core
    • Method Detail

      • getChangedAttributes

        @Accessor(qualifier="changedAttributes",
                  type=GETTER)
        public java.lang.String getChangedAttributes()
        Generated method - Getter of the SavedValues.changedAttributes attribute defined at extension core.
        Returns:
        the changedAttributes - jalo generated string of changes attributes
      • getModificationType

        @Accessor(qualifier="modificationType",
                  type=GETTER)
        public SavedValueEntryType getModificationType()
        Generated method - Getter of the SavedValues.modificationType attribute defined at extension core.
        Returns:
        the modificationType - the type of the 'modification' action (save,create,remove). @since 2.10
      • getModifiedItem

        @Accessor(qualifier="modifiedItem",
                  type=GETTER)
        public ItemModel getModifiedItem()
        Generated method - Getter of the SavedValues.modifiedItem attribute defined at extension core.
        Returns:
        the modifiedItem
      • getModifiedItemDisplayString

        @Accessor(qualifier="modifiedItemDisplayString",
                  type=GETTER)
        public java.lang.String getModifiedItemDisplayString()
        Generated method - Getter of the SavedValues.modifiedItemDisplayString attribute defined at extension core.
        Returns:
        the modifiedItemDisplayString - Display String. @since 2.10
      • getModifiedItemType

        @Accessor(qualifier="modifiedItemType",
                  type=GETTER)
        public ComposedTypeModel getModifiedItemType()
        Generated method - Getter of the SavedValues.modifiedItemType attribute defined at extension core.
        Returns:
        the modifiedItemType - Type
      • getNumberOfChangedAttributes

        @Accessor(qualifier="numberOfChangedAttributes",
                  type=GETTER)
        public java.lang.Integer getNumberOfChangedAttributes()
        Generated method - Getter of the SavedValues.numberOfChangedAttributes attribute defined at extension core.
        Returns:
        the numberOfChangedAttributes - jalo generated string of changes attributes
      • getSavedValuesEntries

        @Accessor(qualifier="savedValuesEntries",
                  type=GETTER)
        public java.util.Set<SavedValueEntryModel> getSavedValuesEntries()
        Generated method - Getter of the SavedValues.savedValuesEntries attribute defined at extension core. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the savedValuesEntries
      • getTimestamp

        @Accessor(qualifier="timestamp",
                  type=GETTER)
        public java.util.Date getTimestamp()
        Generated method - Getter of the SavedValues.timestamp attribute defined at extension core.
        Returns:
        the timestamp - the timestamp of the last modification
      • getUser

        @Accessor(qualifier="user",
                  type=GETTER)
        public UserModel getUser()
        Generated method - Getter of the SavedValues.user attribute defined at extension core.
        Returns:
        the user - the user, who has modified/saved/create this item
      • setModificationType

        @Accessor(qualifier="modificationType",
                  type=SETTER)
        public void setModificationType​(SavedValueEntryType value)
        Generated method - Setter of SavedValues.modificationType attribute defined at extension core.
        Parameters:
        value - the modificationType - the type of the 'modification' action (save,create,remove). @since 2.10
      • setModifiedItem

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

        @Accessor(qualifier="modifiedItemDisplayString",
                  type=SETTER)
        public void setModifiedItemDisplayString​(java.lang.String value)
        Generated method - Setter of SavedValues.modifiedItemDisplayString attribute defined at extension core.
        Parameters:
        value - the modifiedItemDisplayString - Display String. @since 2.10
      • setModifiedItemType

        @Accessor(qualifier="modifiedItemType",
                  type=SETTER)
        public void setModifiedItemType​(ComposedTypeModel value)
        Generated method - Setter of SavedValues.modifiedItemType attribute defined at extension core.
        Parameters:
        value - the modifiedItemType - Type
      • setTimestamp

        @Accessor(qualifier="timestamp",
                  type=SETTER)
        public void setTimestamp​(java.util.Date value)
        Generated method - Setter of SavedValues.timestamp attribute defined at extension core.
        Parameters:
        value - the timestamp - the timestamp of the last modification
      • setUser

        @Accessor(qualifier="user",
                  type=SETTER)
        public void setUser​(UserModel value)
        Generated method - Setter of SavedValues.user attribute defined at extension core.
        Parameters:
        value - the user - the user, who has modified/saved/create this item