public class ReplyModel extends AbstractCommentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_COMMENTREPLYRELATION
Generated relation code constant for relation
CommentReplyRelation defining source attribute comment in extension comments. |
static java.lang.String |
_REPLYPARENTRELATION
Generated relation code constant for relation
ReplyParentRelation defining source attribute replies in extension comments. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
COMMENT
Generated constant - Attribute key of
Reply.comment attribute defined at extension comments. |
static java.lang.String |
COMMENTPOS
Generated constant - Attribute key of
Reply.commentPOS attribute defined at extension comments. |
static java.lang.String |
PARENT
Generated constant - Attribute key of
Reply.parent attribute defined at extension comments. |
static java.lang.String |
PARENTPOS
Generated constant - Attribute key of
Reply.parentPOS attribute defined at extension comments. |
static java.lang.String |
REPLIES
Generated constant - Attribute key of
Reply.replies 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 |
|---|
ReplyModel()
Generated constructor - Default constructor for generic creation.
|
ReplyModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ReplyModel(UserModel _author,
CommentModel _comment,
ItemModel _owner,
ReplyModel _parent,
java.lang.String _text)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ReplyModel(UserModel _author,
CommentModel _comment,
java.lang.String _text)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
CommentModel |
getComment()
Generated method - Getter of the
Reply.comment attribute defined at extension comments. |
ReplyModel |
getParent()
Generated method - Getter of the
Reply.parent attribute defined at extension comments. |
java.util.List<ReplyModel> |
getReplies()
Generated method - Getter of the
Reply.replies attribute defined at extension comments. |
void |
setComment(CommentModel value)
Generated method - Initial setter of
Reply.comment attribute defined at extension comments. |
void |
setParent(ReplyModel value)
Generated method - Initial setter of
Reply.parent attribute defined at extension comments. |
void |
setReplies(java.util.List<ReplyModel> value)
Generated method - Setter of
Reply.replies 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 _REPLYPARENTRELATION
ReplyParentRelation defining source attribute replies in extension comments.public static final java.lang.String _COMMENTREPLYRELATION
CommentReplyRelation defining source attribute comment in extension comments.public static final java.lang.String REPLIES
Reply.replies attribute defined at extension comments.public static final java.lang.String PARENTPOS
Reply.parentPOS attribute defined at extension comments.public static final java.lang.String PARENT
Reply.parent attribute defined at extension comments.public static final java.lang.String COMMENTPOS
Reply.commentPOS attribute defined at extension comments.public static final java.lang.String COMMENT
Reply.comment attribute defined at extension comments.public ReplyModel()
public ReplyModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ReplyModel(UserModel _author, CommentModel _comment, java.lang.String _text)
_author - initial attribute declared by type AbstractComment at extension comments_comment - initial attribute declared by type Reply at extension comments_text - initial attribute declared by type AbstractComment at extension comments@Deprecated public ReplyModel(UserModel _author, CommentModel _comment, ItemModel _owner, ReplyModel _parent, java.lang.String _text)
_author - initial attribute declared by type AbstractComment at extension comments_comment - initial attribute declared by type Reply at extension comments_owner - initial attribute declared by type Item at extension core_parent - initial attribute declared by type Reply at extension comments_text - initial attribute declared by type AbstractComment at extension comments@Accessor(qualifier="comment", type=GETTER) public CommentModel getComment()
Reply.comment attribute defined at extension comments.@Accessor(qualifier="parent", type=GETTER) public ReplyModel getParent()
Reply.parent attribute defined at extension comments.@Accessor(qualifier="replies", type=GETTER) public java.util.List<ReplyModel> getReplies()
Reply.replies attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="comment", type=SETTER) public void setComment(CommentModel value)
Reply.comment attribute defined at extension comments. Can only be used at creation of model - before first save.value - the comment@Accessor(qualifier="parent", type=SETTER) public void setParent(ReplyModel value)
Reply.parent attribute defined at extension comments. Can only be used at creation of model - before first save.value - the parent@Accessor(qualifier="replies", type=SETTER) public void setReplies(java.util.List<ReplyModel> value)
Reply.replies attribute defined at extension comments.value - the repliesCopyright © 2018 SAP SE. All Rights Reserved.