public class ItemModel extends AbstractItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and 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. |
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ItemModel()
Generated constructor - Default constructor for generic creation.
|
ItemModel(ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ItemModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and 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. |
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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String _COMMENTITEMRELATION
CommentItemRelation defining source attribute comments in extension comments.public static final java.lang.String CREATIONTIME
Item.creationtime attribute defined at extension core.public static final java.lang.String MODIFIEDTIME
Item.modifiedtime attribute defined at extension core.public static final java.lang.String ITEMTYPE
Item.itemtype attribute defined at extension core.public static final java.lang.String OWNER
Item.owner attribute defined at extension core.public static final java.lang.String PK
Item.pk attribute defined at extension core.public static final java.lang.String SEALED
Item.sealed attribute defined at extension core.public static final java.lang.String COMMENTS
Item.comments attribute defined at extension comments.public ItemModel()
public ItemModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ItemModel(ItemModel _owner)
_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="comments", type=GETTER) public java.util.List<CommentModel> getComments()
Item.comments attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="creationtime", type=GETTER) public java.util.Date getCreationtime()
Item.creationtime attribute defined at extension core.@Accessor(qualifier="modifiedtime", type=GETTER) public java.util.Date getModifiedtime()
Item.modifiedtime attribute defined at extension core.@Accessor(qualifier="owner", type=GETTER) public ItemModel getOwner()
Item.owner attribute defined at extension core.@Accessor(qualifier="sealed", type=GETTER) public boolean isSealed()
Item.sealed attribute defined at extension core.@Accessor(qualifier="comments", type=SETTER) public void setComments(java.util.List<CommentModel> value)
Item.comments attribute defined at extension comments.value - the comments@Accessor(qualifier="creationtime", type=SETTER) public void setCreationtime(java.util.Date value)
Item.creationtime attribute defined at extension core. Can only be used at creation of model - before first save.value - the creationtime@Accessor(qualifier="modifiedtime", type=SETTER) public void setModifiedtime(java.util.Date value)
Item.modifiedtime attribute defined at extension core.value - the modifiedtimeCopyright © 2018 SAP SE. All Rights Reserved.