public class ItemModel extends AbstractItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_COMMENTITEMRELATION
Generated relation code constant for relation
CommentItemRelation defining source attribute comments in extension comments. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
COMMENTS
Generated constant - Attribute key of
Item.comments attribute defined at extension comments. |
static String |
CREATIONTIME
Generated constant - Attribute key of
Item.creationtime attribute defined at extension core. |
static String |
ITEMTYPE
Generated constant - Attribute key of
Item.itemtype attribute defined at extension core. |
static String |
MODIFIEDTIME
Generated constant - Attribute key of
Item.modifiedtime attribute defined at extension core. |
static String |
OWNER
Generated constant - Attribute key of
Item.owner attribute defined at extension core. |
static String |
PK
Generated constant - Attribute key of
Item.pk 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 |
|---|---|
List<CommentModel> |
getComments()
Generated method - Getter of the
Item.comments attribute defined at extension comments. |
Date |
getCreationtime()
Generated method - Getter of the
Item.creationtime attribute defined at extension core. |
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. |
void |
setComments(List<CommentModel> value)
Generated method - Setter of
Item.comments attribute defined at extension comments. |
void |
setCreationtime(Date value)
Generated method - Initial setter of
Item.creationtime attribute defined at extension core. |
void |
setModifiedtime(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 String _TYPECODE
public static final String _COMMENTITEMRELATION
CommentItemRelation defining source attribute comments in extension comments.public static final String CREATIONTIME
Item.creationtime attribute defined at extension core.public static final String MODIFIEDTIME
Item.modifiedtime attribute defined at extension core.public static final String ITEMTYPE
Item.itemtype attribute defined at extension core.public static final String OWNER
Item.owner attribute defined at extension core.public static final String PK
Item.pk attribute defined at extension core.public static final 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 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 Date getCreationtime()
Item.creationtime attribute defined at extension core.@Accessor(qualifier="modifiedtime", type=GETTER) public 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="comments", type=SETTER) public void setComments(List<CommentModel> value)
Item.comments attribute defined at extension comments.value - the comments@Accessor(qualifier="creationtime", type=SETTER) public void setCreationtime(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(Date value)
Item.modifiedtime attribute defined at extension core.value - the modifiedtimeCopyright © 2017 SAP SE. All Rights Reserved.