Package de.hybris.platform.hmc.model
Class SavedValuesModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.hmc.model.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_ITEMSAVEDVALUESRELATIONGenerated relation code constant for relationItemSavedValuesRelationdefining source attributemodifiedItemin extensioncore.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCHANGEDATTRIBUTESGenerated constant - Attribute key ofSavedValues.changedAttributesattribute defined at extensioncore.static java.lang.StringMODIFICATIONTYPEGenerated constant - Attribute key ofSavedValues.modificationTypeattribute defined at extensioncore.static java.lang.StringMODIFIEDITEMGenerated constant - Attribute key ofSavedValues.modifiedItemattribute defined at extensioncore.static java.lang.StringMODIFIEDITEMDISPLAYSTRINGGenerated constant - Attribute key ofSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.static java.lang.StringMODIFIEDITEMPOSGenerated constant - Attribute key ofSavedValues.modifiedItemPOSattribute defined at extensioncore.static java.lang.StringMODIFIEDITEMTYPEGenerated constant - Attribute key ofSavedValues.modifiedItemTypeattribute defined at extensioncore.static java.lang.StringNUMBEROFCHANGEDATTRIBUTESGenerated constant - Attribute key ofSavedValues.numberOfChangedAttributesattribute defined at extensioncore.static java.lang.StringSAVEDVALUESENTRIESGenerated constant - Attribute key ofSavedValues.savedValuesEntriesattribute defined at extensioncore.static java.lang.StringTIMESTAMPGenerated constant - Attribute key ofSavedValues.timestampattribute defined at extensioncore.static java.lang.StringUSERGenerated constant - Attribute key ofSavedValues.userattribute defined at extensioncore.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SavedValuesModel()Generated constructor - Default constructor for generic creation.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 parametersSavedValuesModel(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 parametersSavedValuesModel(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.lang.StringgetChangedAttributes()Generated method - Getter of theSavedValues.changedAttributesattribute defined at extensioncore.SavedValueEntryTypegetModificationType()Generated method - Getter of theSavedValues.modificationTypeattribute defined at extensioncore.ItemModelgetModifiedItem()Generated method - Getter of theSavedValues.modifiedItemattribute defined at extensioncore.java.lang.StringgetModifiedItemDisplayString()Generated method - Getter of theSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.ComposedTypeModelgetModifiedItemType()Generated method - Getter of theSavedValues.modifiedItemTypeattribute defined at extensioncore.java.lang.IntegergetNumberOfChangedAttributes()Generated method - Getter of theSavedValues.numberOfChangedAttributesattribute defined at extensioncore.java.util.Set<SavedValueEntryModel>getSavedValuesEntries()Generated method - Getter of theSavedValues.savedValuesEntriesattribute defined at extensioncore.java.util.DategetTimestamp()Generated method - Getter of theSavedValues.timestampattribute defined at extensioncore.UserModelgetUser()Generated method - Getter of theSavedValues.userattribute defined at extensioncore.voidsetModificationType(SavedValueEntryType value)Generated method - Setter ofSavedValues.modificationTypeattribute defined at extensioncore.voidsetModifiedItem(ItemModel value)Generated method - Initial setter ofSavedValues.modifiedItemattribute defined at extensioncore.voidsetModifiedItemDisplayString(java.lang.String value)Generated method - Setter ofSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.voidsetModifiedItemType(ComposedTypeModel value)Generated method - Setter ofSavedValues.modifiedItemTypeattribute defined at extensioncore.voidsetTimestamp(java.util.Date value)Generated method - Setter ofSavedValues.timestampattribute defined at extensioncore.voidsetUser(UserModel value)Generated method - Setter ofSavedValues.userattribute defined at extensioncore.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
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
-
-
-
-
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 relationItemSavedValuesRelationdefining source attributemodifiedItemin extensioncore.- See Also:
- Constant Field Values
-
MODIFIEDITEMTYPE
public static final java.lang.String MODIFIEDITEMTYPE
Generated constant - Attribute key ofSavedValues.modifiedItemTypeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
MODIFIEDITEMDISPLAYSTRING
public static final java.lang.String MODIFIEDITEMDISPLAYSTRING
Generated constant - Attribute key ofSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.- See Also:
- Constant Field Values
-
TIMESTAMP
public static final java.lang.String TIMESTAMP
Generated constant - Attribute key ofSavedValues.timestampattribute defined at extensioncore.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofSavedValues.userattribute defined at extensioncore.- See Also:
- Constant Field Values
-
CHANGEDATTRIBUTES
public static final java.lang.String CHANGEDATTRIBUTES
Generated constant - Attribute key ofSavedValues.changedAttributesattribute defined at extensioncore.- See Also:
- Constant Field Values
-
NUMBEROFCHANGEDATTRIBUTES
public static final java.lang.String NUMBEROFCHANGEDATTRIBUTES
Generated constant - Attribute key ofSavedValues.numberOfChangedAttributesattribute defined at extensioncore.- See Also:
- Constant Field Values
-
MODIFICATIONTYPE
public static final java.lang.String MODIFICATIONTYPE
Generated constant - Attribute key ofSavedValues.modificationTypeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
SAVEDVALUESENTRIES
public static final java.lang.String SAVEDVALUESENTRIES
Generated constant - Attribute key ofSavedValues.savedValuesEntriesattribute defined at extensioncore.- See Also:
- Constant Field Values
-
MODIFIEDITEMPOS
public static final java.lang.String MODIFIEDITEMPOS
Generated constant - Attribute key ofSavedValues.modifiedItemPOSattribute defined at extensioncore.- See Also:
- Constant Field Values
-
MODIFIEDITEM
public static final java.lang.String MODIFIEDITEM
Generated constant - Attribute key ofSavedValues.modifiedItemattribute defined at extensioncore.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_modificationType- initial attribute declared by typeSavedValuesat extensioncore_modifiedItemDisplayString- initial attribute declared by typeSavedValuesat extensioncore_modifiedItemType- initial attribute declared by typeSavedValuesat extensioncore_timestamp- initial attribute declared by typeSavedValuesat extensioncore_user- initial attribute declared by typeSavedValuesat extensioncore
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_modificationType- initial attribute declared by typeSavedValuesat extensioncore_modifiedItem- initial attribute declared by typeSavedValuesat extensioncore_modifiedItemDisplayString- initial attribute declared by typeSavedValuesat extensioncore_modifiedItemType- initial attribute declared by typeSavedValuesat extensioncore_owner- initial attribute declared by typeItemat extensioncore_timestamp- initial attribute declared by typeSavedValuesat extensioncore_user- initial attribute declared by typeSavedValuesat extensioncore
-
-
Method Detail
-
getChangedAttributes
@Accessor(qualifier="changedAttributes", type=GETTER) public java.lang.String getChangedAttributes()
Generated method - Getter of theSavedValues.changedAttributesattribute defined at extensioncore.- Returns:
- the changedAttributes - jalo generated string of changes attributes
-
getModificationType
@Accessor(qualifier="modificationType", type=GETTER) public SavedValueEntryType getModificationType()
Generated method - Getter of theSavedValues.modificationTypeattribute defined at extensioncore.- 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 theSavedValues.modifiedItemattribute defined at extensioncore.- Returns:
- the modifiedItem
-
getModifiedItemDisplayString
@Accessor(qualifier="modifiedItemDisplayString", type=GETTER) public java.lang.String getModifiedItemDisplayString()
Generated method - Getter of theSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.- Returns:
- the modifiedItemDisplayString - Display String. @since 2.10
-
getModifiedItemType
@Accessor(qualifier="modifiedItemType", type=GETTER) public ComposedTypeModel getModifiedItemType()
Generated method - Getter of theSavedValues.modifiedItemTypeattribute defined at extensioncore.- Returns:
- the modifiedItemType - Type
-
getNumberOfChangedAttributes
@Accessor(qualifier="numberOfChangedAttributes", type=GETTER) public java.lang.Integer getNumberOfChangedAttributes()
Generated method - Getter of theSavedValues.numberOfChangedAttributesattribute defined at extensioncore.- 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 theSavedValues.savedValuesEntriesattribute defined at extensioncore. 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 theSavedValues.timestampattribute defined at extensioncore.- Returns:
- the timestamp - the timestamp of the last modification
-
getUser
@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
Generated method - Getter of theSavedValues.userattribute defined at extensioncore.- 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 ofSavedValues.modificationTypeattribute defined at extensioncore.- 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 ofSavedValues.modifiedItemattribute defined at extensioncore. 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 ofSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.- Parameters:
value- the modifiedItemDisplayString - Display String. @since 2.10
-
setModifiedItemType
@Accessor(qualifier="modifiedItemType", type=SETTER) public void setModifiedItemType(ComposedTypeModel value)
Generated method - Setter ofSavedValues.modifiedItemTypeattribute defined at extensioncore.- Parameters:
value- the modifiedItemType - Type
-
setTimestamp
@Accessor(qualifier="timestamp", type=SETTER) public void setTimestamp(java.util.Date value)
Generated method - Setter ofSavedValues.timestampattribute defined at extensioncore.- Parameters:
value- the timestamp - the timestamp of the last modification
-
-