public class BoxComment extends BoxTypedObject
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_CREATED_BY |
static String |
FIELD_IS_REPLY_COMMENT |
static String |
FIELD_ITEM |
static String |
FIELD_MESSAGE |
FIELD_CREATED_AT, FIELD_ID, FIELD_MODIFIED_AT, FIELD_TYPE
Constructor and Description |
---|
BoxComment()
Constructor.
|
BoxComment(BoxComment obj)
Copy constructor, this does deep copy for all the fields.
|
BoxComment(Map<String,Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
BoxUser |
getCreatedBy()
Get the user creating this comment.
|
BoxTypedObject |
getItem()
Get the object being commented.
|
String |
getMessage()
Get the comment String.
|
Boolean |
isReplyComment()
Whether this is a comment replying another comment.
|
dateCreatedAt, dateModifiedAt, getCreatedAt, getId, getModifiedAt, getType, resourceType, setType
contains, equals, getExtraData, getKeySet, getValue, handleUnknown, hashCode, properties, put, putAll
toJSONString
public static final String FIELD_IS_REPLY_COMMENT
public static final String FIELD_MESSAGE
public static final String FIELD_CREATED_BY
public static final String FIELD_ITEM
public BoxComment()
public BoxComment(BoxComment obj)
obj
- public BoxComment(Map<String,Object> map)
map
- public Boolean isReplyComment()
public String getMessage()
public BoxUser getCreatedBy()
public BoxTypedObject getItem()
Copyright © 2015 Nuxeo SA. All rights reserved.