public class DomainModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CODE
Generated constant - Attribute key of
Domain.code attribute defined at extension comments. |
static String |
COMMENTTYPES
Generated constant - Attribute key of
Domain.commentTypes attribute defined at extension comments. |
static String |
COMPONENTS
Generated constant - Attribute key of
Domain.components attribute defined at extension comments. |
static String |
NAME
Generated constant - Attribute key of
Domain.name attribute defined at extension comments. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
DomainModel()
Generated constructor - Default constructor for generic creation.
|
DomainModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
DomainModel(String _code,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Generated method - Getter of the
Domain.code attribute defined at extension comments. |
Collection<CommentTypeModel> |
getCommentTypes()
Generated method - Getter of the
Domain.commentTypes attribute defined at extension comments. |
Collection<ComponentModel> |
getComponents()
Generated method - Getter of the
Domain.components attribute defined at extension comments. |
String |
getName()
Generated method - Getter of the
Domain.name attribute defined at extension comments. |
void |
setCode(String value)
Generated method - Initial setter of
Domain.code attribute defined at extension comments. |
void |
setCommentTypes(Collection<CommentTypeModel> value)
Generated method - Setter of
Domain.commentTypes attribute defined at extension comments. |
void |
setComponents(Collection<ComponentModel> value)
Generated method - Setter of
Domain.components attribute defined at extension comments. |
void |
setName(String value)
Generated method - Setter of
Domain.name attribute defined at extension comments. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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 CODE
Domain.code attribute defined at extension comments.public static final String NAME
Domain.name attribute defined at extension comments.public static final String COMPONENTS
Domain.components attribute defined at extension comments.public static final String COMMENTTYPES
Domain.commentTypes attribute defined at extension comments.public DomainModel()
public DomainModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public DomainModel(String _code, ItemModel _owner)
_code - initial attribute declared by type Domain at extension comments_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="code", type=GETTER) public String getCode()
Domain.code attribute defined at extension comments.@Accessor(qualifier="commentTypes", type=GETTER) public Collection<CommentTypeModel> getCommentTypes()
Domain.commentTypes attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="components", type=GETTER) public Collection<ComponentModel> getComponents()
Domain.components attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="name", type=GETTER) public String getName()
Domain.name attribute defined at extension comments.@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
Domain.code attribute defined at extension comments. Can only be used at creation of model - before first save.value - the code - unique identifier of the domain; will be generated if not set@Accessor(qualifier="commentTypes", type=SETTER) public void setCommentTypes(Collection<CommentTypeModel> value)
Domain.commentTypes attribute defined at extension comments.value - the commentTypes@Accessor(qualifier="components", type=SETTER) public void setComponents(Collection<ComponentModel> value)
Domain.components attribute defined at extension comments.value - the componentsCopyright © 2017 SAP SE. All Rights Reserved.