public class ComponentModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_COMMENTCOMPONENTRELATION
Generated relation code constant for relation
CommentComponentRelation defining source attribute comment in extension comments. |
static java.lang.String |
_DOMAINCOMPONENTRELATION
Generated relation code constant for relation
DomainComponentRelation defining source attribute domain in extension comments. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
AVAILABLECOMMENTTYPES
Generated constant - Attribute key of
Component.availableCommentTypes attribute defined at extension comments. |
static java.lang.String |
CODE
Generated constant - Attribute key of
Component.code attribute defined at extension comments. |
static java.lang.String |
COMMENT
Generated constant - Attribute key of
Component.comment attribute defined at extension comments. |
static java.lang.String |
CREATEPERMITTED
Generated constant - Attribute key of
Component.createPermitted attribute defined at extension comments. |
static java.lang.String |
DOMAIN
Generated constant - Attribute key of
Component.domain attribute defined at extension comments. |
static java.lang.String |
NAME
Generated constant - Attribute key of
Component.name attribute defined at extension comments. |
static java.lang.String |
READPERMITTED
Generated constant - Attribute key of
Component.readPermitted attribute defined at extension comments. |
static java.lang.String |
REMOVEPERMITTED
Generated constant - Attribute key of
Component.removePermitted attribute defined at extension comments. |
static java.lang.String |
WRITEPERMITTED
Generated constant - Attribute key of
Component.writePermitted attribute defined at extension comments. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ComponentModel()
Generated constructor - Default constructor for generic creation.
|
ComponentModel(DomainModel _domain)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ComponentModel(java.lang.String _code,
DomainModel _domain,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<CommentTypeModel> |
getAvailableCommentTypes()
Deprecated.
since ages
|
java.lang.String |
getCode()
Generated method - Getter of the
Component.code attribute defined at extension comments. |
java.util.Collection<PrincipalModel> |
getCreatePermitted()
Generated method - Getter of the
Component.createPermitted attribute defined at extension comments. |
java.util.Collection<PrincipalModel> |
getCreatePermitted(java.util.Locale loc)
Generated method - Getter of the
Component.createPermitted attribute defined at extension comments. |
DomainModel |
getDomain()
Generated method - Getter of the
Component.domain attribute defined at extension comments. |
java.lang.String |
getName()
Generated method - Getter of the
Component.name attribute defined at extension comments. |
java.util.Collection<PrincipalModel> |
getReadPermitted()
Generated method - Getter of the
Component.readPermitted attribute defined at extension comments. |
java.util.Collection<PrincipalModel> |
getReadPermitted(java.util.Locale loc)
Generated method - Getter of the
Component.readPermitted attribute defined at extension comments. |
java.util.Collection<PrincipalModel> |
getRemovePermitted()
Generated method - Getter of the
Component.removePermitted attribute defined at extension comments. |
java.util.Collection<PrincipalModel> |
getRemovePermitted(java.util.Locale loc)
Generated method - Getter of the
Component.removePermitted attribute defined at extension comments. |
java.util.Collection<PrincipalModel> |
getWritePermitted()
Generated method - Getter of the
Component.writePermitted attribute defined at extension comments. |
java.util.Collection<PrincipalModel> |
getWritePermitted(java.util.Locale loc)
Generated method - Getter of the
Component.writePermitted attribute defined at extension comments. |
void |
setCode(java.lang.String value)
Generated method - Initial setter of
Component.code attribute defined at extension comments. |
void |
setCreatePermitted(java.util.Collection<PrincipalModel> value)
Generated method - Setter of
Component.createPermitted attribute defined at extension comments. |
void |
setCreatePermitted(java.util.Collection<PrincipalModel> value,
java.util.Locale loc)
Generated method - Setter of
Component.createPermitted attribute defined at extension comments. |
void |
setDomain(DomainModel value)
Generated method - Initial setter of
Component.domain attribute defined at extension comments. |
void |
setName(java.lang.String value)
Generated method - Setter of
Component.name attribute defined at extension comments. |
void |
setReadPermitted(java.util.Collection<PrincipalModel> value)
Generated method - Setter of
Component.readPermitted attribute defined at extension comments. |
void |
setReadPermitted(java.util.Collection<PrincipalModel> value,
java.util.Locale loc)
Generated method - Setter of
Component.readPermitted attribute defined at extension comments. |
void |
setRemovePermitted(java.util.Collection<PrincipalModel> value)
Generated method - Setter of
Component.removePermitted attribute defined at extension comments. |
void |
setRemovePermitted(java.util.Collection<PrincipalModel> value,
java.util.Locale loc)
Generated method - Setter of
Component.removePermitted attribute defined at extension comments. |
void |
setWritePermitted(java.util.Collection<PrincipalModel> value)
Generated method - Setter of
Component.writePermitted attribute defined at extension comments. |
void |
setWritePermitted(java.util.Collection<PrincipalModel> value,
java.util.Locale loc)
Generated method - Setter of
Component.writePermitted 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 _DOMAINCOMPONENTRELATION
DomainComponentRelation defining source attribute domain in extension comments.public static final java.lang.String _COMMENTCOMPONENTRELATION
CommentComponentRelation defining source attribute comment in extension comments.public static final java.lang.String CODE
Component.code attribute defined at extension comments.public static final java.lang.String NAME
Component.name attribute defined at extension comments.public static final java.lang.String AVAILABLECOMMENTTYPES
Component.availableCommentTypes attribute defined at extension comments.public static final java.lang.String DOMAIN
Component.domain attribute defined at extension comments.public static final java.lang.String COMMENT
Component.comment attribute defined at extension comments.public static final java.lang.String READPERMITTED
Component.readPermitted attribute defined at extension comments.public static final java.lang.String WRITEPERMITTED
Component.writePermitted attribute defined at extension comments.public static final java.lang.String CREATEPERMITTED
Component.createPermitted attribute defined at extension comments.public static final java.lang.String REMOVEPERMITTED
Component.removePermitted attribute defined at extension comments.public ComponentModel()
public ComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ComponentModel(DomainModel _domain)
_domain - initial attribute declared by type Component at extension comments@Deprecated
public ComponentModel(java.lang.String _code,
DomainModel _domain,
ItemModel _owner)
_code - initial attribute declared by type Component at extension comments_domain - initial attribute declared by type Component at extension comments_owner - initial attribute declared by type Item at extension core@Deprecated @Accessor(qualifier="availableCommentTypes", type=GETTER) public java.util.Collection<CommentTypeModel> getAvailableCommentTypes()
Component.availableCommentTypes attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Component.code attribute defined at extension comments.@Accessor(qualifier="createPermitted", type=GETTER) public java.util.Collection<PrincipalModel> getCreatePermitted()
Component.createPermitted attribute defined at extension comments.@Accessor(qualifier="createPermitted", type=GETTER) public java.util.Collection<PrincipalModel> getCreatePermitted(java.util.Locale loc)
Component.createPermitted attribute defined at extension comments.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="domain", type=GETTER) public DomainModel getDomain()
Component.domain attribute defined at extension comments.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Component.name attribute defined at extension comments.@Accessor(qualifier="readPermitted", type=GETTER) public java.util.Collection<PrincipalModel> getReadPermitted()
Component.readPermitted attribute defined at extension comments.@Accessor(qualifier="readPermitted", type=GETTER) public java.util.Collection<PrincipalModel> getReadPermitted(java.util.Locale loc)
Component.readPermitted attribute defined at extension comments.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="removePermitted", type=GETTER) public java.util.Collection<PrincipalModel> getRemovePermitted()
Component.removePermitted attribute defined at extension comments.@Accessor(qualifier="removePermitted", type=GETTER) public java.util.Collection<PrincipalModel> getRemovePermitted(java.util.Locale loc)
Component.removePermitted attribute defined at extension comments.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="writePermitted", type=GETTER) public java.util.Collection<PrincipalModel> getWritePermitted()
Component.writePermitted attribute defined at extension comments.@Accessor(qualifier="writePermitted", type=GETTER) public java.util.Collection<PrincipalModel> getWritePermitted(java.util.Locale loc)
Component.writePermitted attribute defined at extension comments.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Component.code attribute defined at extension comments. Can only be used at creation of model - before first save.value - the code - unique identifier of the component@Accessor(qualifier="createPermitted", type=SETTER) public void setCreatePermitted(java.util.Collection<PrincipalModel> value)
Component.createPermitted attribute defined at extension comments.value - the createPermitted@Accessor(qualifier="createPermitted", type=SETTER) public void setCreatePermitted(java.util.Collection<PrincipalModel> value, java.util.Locale loc)
Component.createPermitted attribute defined at extension comments.value - the createPermittedloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="domain", type=SETTER) public void setDomain(DomainModel value)
Component.domain attribute defined at extension comments. Can only be used at creation of model - before first save.value - the domain@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Component.name attribute defined at extension comments.value - the name - Name of the component@Accessor(qualifier="readPermitted", type=SETTER) public void setReadPermitted(java.util.Collection<PrincipalModel> value)
Component.readPermitted attribute defined at extension comments.value - the readPermitted@Accessor(qualifier="readPermitted", type=SETTER) public void setReadPermitted(java.util.Collection<PrincipalModel> value, java.util.Locale loc)
Component.readPermitted attribute defined at extension comments.value - the readPermittedloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="removePermitted", type=SETTER) public void setRemovePermitted(java.util.Collection<PrincipalModel> value)
Component.removePermitted attribute defined at extension comments.value - the removePermitted@Accessor(qualifier="removePermitted", type=SETTER) public void setRemovePermitted(java.util.Collection<PrincipalModel> value, java.util.Locale loc)
Component.removePermitted attribute defined at extension comments.value - the removePermittedloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="writePermitted", type=SETTER) public void setWritePermitted(java.util.Collection<PrincipalModel> value)
Component.writePermitted attribute defined at extension comments.value - the writePermitted@Accessor(qualifier="writePermitted", type=SETTER) public void setWritePermitted(java.util.Collection<PrincipalModel> value, java.util.Locale loc)
Component.writePermitted attribute defined at extension comments.value - the writePermittedloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2018 SAP SE. All Rights Reserved.