magoffin.matt.ma2.domain
Interface UserComment


public interface UserComment

Java content class for user-comment complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Volumes/Renton/Users/matt/ws/ws-home/matte/hyperjaxb2-build/src/main/resources/domain.xsd line 243)

 <complexType name="user-comment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="commenting-user" type="{http://msqr.us/xsd/matte}user" minOccurs="0"/>
         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
       <attribute name="approved" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="comment-id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="commenter" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="creation-date" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 java.lang.String getComment()
          Gets the value of the comment property.
 java.lang.String getCommenter()
          Gets the value of the commenter property.
 java.lang.Long getCommentId()
          Gets the value of the commentId property.
 User getCommentingUser()
          Gets the value of the commentingUser property.
 java.util.Calendar getCreationDate()
          Gets the value of the creationDate property.
 boolean isApproved()
          Gets the value of the approved property.
 void setApproved(boolean value)
          Sets the value of the approved property.
 void setComment(java.lang.String value)
          Sets the value of the comment property.
 void setCommenter(java.lang.String value)
          Sets the value of the commenter property.
 void setCommentId(java.lang.Long value)
          Sets the value of the commentId property.
 void setCommentingUser(User value)
          Sets the value of the commentingUser property.
 void setCreationDate(java.util.Calendar value)
          Sets the value of the creationDate property.
 

Method Detail

getCommentingUser

User getCommentingUser()
Gets the value of the commentingUser property.

Returns:
possible object is User

setCommentingUser

void setCommentingUser(User value)
Sets the value of the commentingUser property.

Parameters:
value - allowed object is User

getCommentId

java.lang.Long getCommentId()
Gets the value of the commentId property.

Returns:
possible object is Long

setCommentId

void setCommentId(java.lang.Long value)
Sets the value of the commentId property.

Parameters:
value - allowed object is Long

getComment

java.lang.String getComment()
Gets the value of the comment property.

Returns:
possible object is String

setComment

void setComment(java.lang.String value)
Sets the value of the comment property.

Parameters:
value - allowed object is String

isApproved

boolean isApproved()
Gets the value of the approved property.


setApproved

void setApproved(boolean value)
Sets the value of the approved property.


getCreationDate

java.util.Calendar getCreationDate()
Gets the value of the creationDate property.

Returns:
possible object is Calendar

setCreationDate

void setCreationDate(java.util.Calendar value)
Sets the value of the creationDate property.

Parameters:
value - allowed object is Calendar

getCommenter

java.lang.String getCommenter()
Gets the value of the commenter property.

Returns:
possible object is String

setCommenter

void setCommenter(java.lang.String value)
Sets the value of the commenter property.

Parameters:
value - allowed object is String