public class CommentTypeModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_COMMENTCOMMENTTYPERELATION
Generated relation code constant for relation
CommentCommentTypeRelation defining source attribute comment in extension comments. |
static String |
_DOMAINCOMMENTTYPERELATION
Generated relation code constant for relation
DomainCommentTypeRelation defining source attribute domain in extension comments. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CODE
Generated constant - Attribute key of
CommentType.code attribute defined at extension comments. |
static String |
COMMENT
Generated constant - Attribute key of
CommentType.comment attribute defined at extension comments. |
static String |
DOMAIN
Generated constant - Attribute key of
CommentType.domain attribute defined at extension comments. |
static String |
METATYPE
Generated constant - Attribute key of
CommentType.metaType attribute defined at extension comments. |
static String |
NAME
Generated constant - Attribute key of
CommentType.name attribute defined at extension comments. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CommentTypeModel()
Generated constructor - Default constructor for generic creation.
|
CommentTypeModel(DomainModel _domain)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CommentTypeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
CommentTypeModel(String _code,
DomainModel _domain,
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
CommentType.code attribute defined at extension comments. |
DomainModel |
getDomain()
Generated method - Getter of the
CommentType.domain attribute defined at extension comments. |
ComposedTypeModel |
getMetaType()
Generated method - Getter of the
CommentType.metaType attribute defined at extension comments. |
String |
getName()
Generated method - Getter of the
CommentType.name attribute defined at extension comments. |
void |
setCode(String value)
Generated method - Initial setter of
CommentType.code attribute defined at extension comments. |
void |
setDomain(DomainModel value)
Generated method - Initial setter of
CommentType.domain attribute defined at extension comments. |
void |
setMetaType(ComposedTypeModel value)
Generated method - Setter of
CommentType.metaType attribute defined at extension comments. |
void |
setName(String value)
Generated method - Setter of
CommentType.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 _DOMAINCOMMENTTYPERELATION
DomainCommentTypeRelation defining source attribute domain in extension comments.public static final String _COMMENTCOMMENTTYPERELATION
CommentCommentTypeRelation defining source attribute comment in extension comments.public static final String CODE
CommentType.code attribute defined at extension comments.public static final String NAME
CommentType.name attribute defined at extension comments.public static final String METATYPE
CommentType.metaType attribute defined at extension comments.public static final String DOMAIN
CommentType.domain attribute defined at extension comments.public static final String COMMENT
CommentType.comment attribute defined at extension comments.public CommentTypeModel()
public CommentTypeModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CommentTypeModel(DomainModel _domain)
_domain - initial attribute declared by type CommentType at extension comments@Deprecated public CommentTypeModel(String _code, DomainModel _domain, ItemModel _owner)
_code - initial attribute declared by type CommentType at extension comments_domain - initial attribute declared by type CommentType at extension comments_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="code", type=GETTER) public String getCode()
CommentType.code attribute defined at extension comments.@Accessor(qualifier="domain", type=GETTER) public DomainModel getDomain()
CommentType.domain attribute defined at extension comments.@Accessor(qualifier="metaType", type=GETTER) public ComposedTypeModel getMetaType()
CommentType.metaType attribute defined at extension comments.@Accessor(qualifier="name", type=GETTER) public String getName()
CommentType.name attribute defined at extension comments.@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
CommentType.code attribute defined at extension comments. Can only be used at creation of model - before first save.value - the code - unique identifier of the comment type within domain@Accessor(qualifier="domain", type=SETTER) public void setDomain(DomainModel value)
CommentType.domain attribute defined at extension comments. Can only be used at creation of model - before first save.value - the domain@Accessor(qualifier="metaType", type=SETTER) public void setMetaType(ComposedTypeModel value)
CommentType.metaType attribute defined at extension comments.value - the metaTypeCopyright © 2017 SAP SE. All Rights Reserved.