Package com.emc.d2fs.models.comment
Class Comment
java.lang.Object
com.emc.d2fs.models.comment.Comment
- All Implemented Interfaces:
Serializable
Java class for comment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="comment"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.emc.com/d2fs/models/comment}comments" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute ref="{http://www.emc.com/d2fs/models/common}id use="required""/> <attribute name="comment_id" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="owner_name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="modify_date" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="content_value" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="parent_id" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="canDelete" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="canReply" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the commentId property.Gets the value of the comments property.Gets the value of the contentValue property.getId()
Gets the value of the id property.Gets the value of the modifyDate property.Gets the value of the ownerName property.Gets the value of the parentId property.getTitle()
Gets the value of the title property.Gets the value of the canDelete property.Gets the value of the canReply property.void
setCanDelete
(Boolean value) Sets the value of the canDelete property.void
setCanReply
(Boolean value) Sets the value of the canReply property.void
setCommentId
(String value) Sets the value of the commentId property.void
setContentValue
(String value) Sets the value of the contentValue property.void
Sets the value of the id property.void
setModifyDate
(String value) Sets the value of the modifyDate property.void
setOwnerName
(String value) Sets the value of the ownerName property.void
setParentId
(String value) Sets the value of the parentId property.void
Sets the value of the title property.
-
Constructor Details
-
Comment
public Comment()
-
-
Method Details
-
getComments
Gets the value of the comments property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the comments property.For example, to add a new item, do as follows:
getComments().add(newItem);
Objects of the following type(s) are allowed in the list
Comment
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getCommentId
Gets the value of the commentId property.- Returns:
- possible object is
String
-
setCommentId
Sets the value of the commentId property.- Parameters:
value
- allowed object isString
-
getOwnerName
Gets the value of the ownerName property.- Returns:
- possible object is
String
-
setOwnerName
Sets the value of the ownerName property.- Parameters:
value
- allowed object isString
-
getModifyDate
Gets the value of the modifyDate property.- Returns:
- possible object is
String
-
setModifyDate
Sets the value of the modifyDate property.- Parameters:
value
- allowed object isString
-
getContentValue
Gets the value of the contentValue property.- Returns:
- possible object is
String
-
setContentValue
Sets the value of the contentValue property.- Parameters:
value
- allowed object isString
-
getParentId
Gets the value of the parentId property.- Returns:
- possible object is
String
-
setParentId
Sets the value of the parentId property.- Parameters:
value
- allowed object isString
-
getTitle
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
Sets the value of the title property.- Parameters:
value
- allowed object isString
-
isCanDelete
Gets the value of the canDelete property.- Returns:
- possible object is
Boolean
-
setCanDelete
Sets the value of the canDelete property.- Parameters:
value
- allowed object isBoolean
-
isCanReply
Gets the value of the canReply property.- Returns:
- possible object is
Boolean
-
setCanReply
Sets the value of the canReply property.- Parameters:
value
- allowed object isBoolean
-