public class CommentModel extends AbstractCommentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ASSIGNEDTO
Generated constant - Attribute key of
Comment.assignedTo attribute defined at extension comments. |
static java.lang.String |
CODE
Generated constant - Attribute key of
Comment.code attribute defined at extension comments. |
static java.lang.String |
COMMENTAUTHOREMAIL
Generated constant - Attribute key of
Comment.commentAuthorEmail attribute defined at extension sapquoteintegration. |
static java.lang.String |
COMMENTMETADATA
Generated constant - Attribute key of
Comment.commentMetadata attribute defined at extension cockpit. |
static java.lang.String |
COMMENTTYPE
Generated constant - Attribute key of
Comment.commentType attribute defined at extension comments. |
static java.lang.String |
COMPONENT
Generated constant - Attribute key of
Comment.component attribute defined at extension comments. |
static java.lang.String |
PRIORITY
Generated constant - Attribute key of
Comment.priority attribute defined at extension comments. |
static java.lang.String |
RELATEDITEMS
Generated constant - Attribute key of
Comment.relatedItems attribute defined at extension comments. |
static java.lang.String |
REPLIES
Generated constant - Attribute key of
Comment.replies attribute defined at extension comments. |
static java.lang.String |
WATCHERS
Generated constant - Attribute key of
Comment.watchers attribute defined at extension comments. |
_COMMENTUSERSETTINGABSTRACTCOMMENTRELATION, ATTACHMENTS, AUTHOR, COMMENTUSERSETTINGS, SUBJECT, TEXT_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CommentModel()
Generated constructor - Default constructor for generic creation.
|
CommentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
CommentModel(UserModel _author,
CommentTypeModel _commentType,
ComponentModel _component,
ItemModel _owner,
java.lang.String _text)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CommentModel(UserModel _author,
CommentTypeModel _commentType,
ComponentModel _component,
java.lang.String _text)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<UserModel> |
getAssignedTo()
Generated method - Getter of the
Comment.assignedTo attribute defined at extension comments. |
java.lang.String |
getCode()
Generated method - Getter of the
Comment.code attribute defined at extension comments. |
java.lang.String |
getCommentAuthorEmail()
Generated method - Getter of the
Comment.commentAuthorEmail attribute defined at extension sapquoteintegration. |
java.util.Collection<CommentMetadataModel> |
getCommentMetadata()
Generated method - Getter of the
Comment.commentMetadata attribute defined at extension cockpit. |
CommentTypeModel |
getCommentType()
Generated method - Getter of the
Comment.commentType attribute defined at extension comments. |
ComponentModel |
getComponent()
Generated method - Getter of the
Comment.component attribute defined at extension comments. |
java.lang.Integer |
getPriority()
Generated method - Getter of the
Comment.priority attribute defined at extension comments. |
java.util.Collection<ItemModel> |
getRelatedItems()
Deprecated.
since ages
|
java.util.List<ReplyModel> |
getReplies()
Generated method - Getter of the
Comment.replies attribute defined at extension comments. |
java.util.Collection<PrincipalModel> |
getWatchers()
Generated method - Getter of the
Comment.watchers attribute defined at extension comments. |
void |
setAssignedTo(java.util.Collection<UserModel> value)
Generated method - Setter of
Comment.assignedTo attribute defined at extension comments. |
void |
setCode(java.lang.String value)
Generated method - Setter of
Comment.code attribute defined at extension comments. |
void |
setCommentAuthorEmail(java.lang.String value)
Generated method - Setter of
Comment.commentAuthorEmail attribute defined at extension sapquoteintegration. |
void |
setCommentMetadata(java.util.Collection<CommentMetadataModel> value)
Generated method - Setter of
Comment.commentMetadata attribute defined at extension cockpit. |
void |
setCommentType(CommentTypeModel value)
Generated method - Initial setter of
Comment.commentType attribute defined at extension comments. |
void |
setComponent(ComponentModel value)
Generated method - Initial setter of
Comment.component attribute defined at extension comments. |
void |
setPriority(java.lang.Integer value)
Generated method - Setter of
Comment.priority attribute defined at extension comments. |
void |
setRelatedItems(java.util.Collection<ItemModel> value)
Deprecated.
since ages
|
void |
setReplies(java.util.List<ReplyModel> value)
Generated method - Setter of
Comment.replies attribute defined at extension comments. |
void |
setWatchers(java.util.Collection<PrincipalModel> value)
Generated method - Setter of
Comment.watchers attribute defined at extension comments. |
getAttachments, getAuthor, getSubject, getText, setAttachments, setAuthor, setSubject, setTextgetComments, 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
Comment.code attribute defined at extension comments.public static final java.lang.String PRIORITY
Comment.priority attribute defined at extension comments.public static final java.lang.String RELATEDITEMS
Comment.relatedItems attribute defined at extension comments.public static final java.lang.String REPLIES
Comment.replies attribute defined at extension comments.public static final java.lang.String ASSIGNEDTO
Comment.assignedTo attribute defined at extension comments.public static final java.lang.String WATCHERS
Comment.watchers attribute defined at extension comments.public static final java.lang.String COMPONENT
Comment.component attribute defined at extension comments.public static final java.lang.String COMMENTTYPE
Comment.commentType attribute defined at extension comments.public static final java.lang.String COMMENTMETADATA
Comment.commentMetadata attribute defined at extension cockpit.public static final java.lang.String COMMENTAUTHOREMAIL
Comment.commentAuthorEmail attribute defined at extension sapquoteintegration.public CommentModel()
public CommentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CommentModel(UserModel _author, CommentTypeModel _commentType, ComponentModel _component, java.lang.String _text)
_author - initial attribute declared by type AbstractComment at extension comments_commentType - initial attribute declared by type Comment at extension comments_component - initial attribute declared by type Comment at extension comments_text - initial attribute declared by type AbstractComment at extension comments@Deprecated public CommentModel(UserModel _author, CommentTypeModel _commentType, ComponentModel _component, ItemModel _owner, java.lang.String _text)
_author - initial attribute declared by type AbstractComment at extension comments_commentType - initial attribute declared by type Comment at extension comments_component - initial attribute declared by type Comment at extension comments_owner - initial attribute declared by type Item at extension core_text - initial attribute declared by type AbstractComment at extension comments@Accessor(qualifier="assignedTo", type=GETTER) public java.util.Collection<UserModel> getAssignedTo()
Comment.assignedTo 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()
Comment.code attribute defined at extension comments.@Accessor(qualifier="commentAuthorEmail", type=GETTER) public java.lang.String getCommentAuthorEmail()
Comment.commentAuthorEmail attribute defined at extension sapquoteintegration.@Accessor(qualifier="commentMetadata", type=GETTER) public java.util.Collection<CommentMetadataModel> getCommentMetadata()
Comment.commentMetadata attribute defined at extension cockpit.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="commentType", type=GETTER) public CommentTypeModel getCommentType()
Comment.commentType attribute defined at extension comments.@Accessor(qualifier="component", type=GETTER) public ComponentModel getComponent()
Comment.component attribute defined at extension comments.@Accessor(qualifier="priority", type=GETTER) public java.lang.Integer getPriority()
Comment.priority attribute defined at extension comments.@Deprecated @Accessor(qualifier="relatedItems", type=GETTER) public java.util.Collection<ItemModel> getRelatedItems()
Comment.relatedItems attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="replies", type=GETTER) public java.util.List<ReplyModel> getReplies()
Comment.replies attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="watchers", type=GETTER) public java.util.Collection<PrincipalModel> getWatchers()
Comment.watchers attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="assignedTo", type=SETTER) public void setAssignedTo(java.util.Collection<UserModel> value)
Comment.assignedTo attribute defined at extension comments.value - the assignedTo@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Comment.code attribute defined at extension comments.value - the code - unique identifier of the comment; will be generated if not set@Accessor(qualifier="commentAuthorEmail", type=SETTER) public void setCommentAuthorEmail(java.lang.String value)
Comment.commentAuthorEmail attribute defined at extension sapquoteintegration.value - the commentAuthorEmail - Temporary placeholder to map Author of comments@Accessor(qualifier="commentMetadata", type=SETTER) public void setCommentMetadata(java.util.Collection<CommentMetadataModel> value)
Comment.commentMetadata attribute defined at extension cockpit.value - the commentMetadata@Accessor(qualifier="commentType", type=SETTER) public void setCommentType(CommentTypeModel value)
Comment.commentType attribute defined at extension comments. Can only be used at creation of model - before first save.value - the commentType@Accessor(qualifier="component", type=SETTER) public void setComponent(ComponentModel value)
Comment.component attribute defined at extension comments. Can only be used at creation of model - before first save.value - the component@Accessor(qualifier="priority", type=SETTER) public void setPriority(java.lang.Integer value)
Comment.priority attribute defined at extension comments.value - the priority - Priority of a comment@Deprecated @Accessor(qualifier="relatedItems", type=SETTER) public void setRelatedItems(java.util.Collection<ItemModel> value)
Comment.relatedItems attribute defined at extension comments.value - the relatedItems - Related items of this comment@Accessor(qualifier="replies", type=SETTER) public void setReplies(java.util.List<ReplyModel> value)
Comment.replies attribute defined at extension comments.value - the replies@Accessor(qualifier="watchers", type=SETTER) public void setWatchers(java.util.Collection<PrincipalModel> value)
Comment.watchers attribute defined at extension comments.value - the watchersCopyright © 2018 SAP SE. All Rights Reserved.