public class DomainModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CODE
Generated constant - Attribute key of
Domain.code attribute defined at extension comments. |
static java.lang.String |
COMMENTTYPES
Generated constant - Attribute key of
Domain.commentTypes attribute defined at extension comments. |
static java.lang.String |
COMPONENTS
Generated constant - Attribute key of
Domain.components attribute defined at extension comments. |
static java.lang.String |
NAME
Generated constant - Attribute key of
Domain.name attribute defined at extension comments. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_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(java.lang.String _code,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Generated method - Getter of the
Domain.code attribute defined at extension comments. |
java.util.Collection<CommentTypeModel> |
getCommentTypes()
Generated method - Getter of the
Domain.commentTypes attribute defined at extension comments. |
java.util.Collection<ComponentModel> |
getComponents()
Generated method - Getter of the
Domain.components attribute defined at extension comments. |
java.lang.String |
getName()
Generated method - Getter of the
Domain.name attribute defined at extension comments. |
void |
setCode(java.lang.String value)
Generated method - Initial setter of
Domain.code attribute defined at extension comments. |
void |
setCommentTypes(java.util.Collection<CommentTypeModel> value)
Generated method - Setter of
Domain.commentTypes attribute defined at extension comments. |
void |
setComponents(java.util.Collection<ComponentModel> value)
Generated method - Setter of
Domain.components attribute defined at extension comments. |
void |
setName(java.lang.String value)
Generated method - Setter of
Domain.name attribute defined at extension comments. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, 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 java.lang.String _TYPECODE
public static final java.lang.String CODE
Domain.code attribute defined at extension comments.public static final java.lang.String NAME
Domain.name attribute defined at extension comments.public static final java.lang.String COMPONENTS
Domain.components attribute defined at extension comments.public static final java.lang.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(java.lang.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 java.lang.String getCode()
Domain.code attribute defined at extension comments.@Accessor(qualifier="commentTypes", type=GETTER) public java.util.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 java.util.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 java.lang.String getName()
Domain.name attribute defined at extension comments.@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.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(java.util.Collection<CommentTypeModel> value)
Domain.commentTypes attribute defined at extension comments.value - the commentTypes@Accessor(qualifier="components", type=SETTER) public void setComponents(java.util.Collection<ComponentModel> value)
Domain.components attribute defined at extension comments.value - the componentsCopyright © 2018 SAP SE. All Rights Reserved.