com.ibm.ram.internal.jaxb
Class Vote

java.lang.Object
  extended by com.ibm.ram.internal.jaxb.Vote

public class Vote
extends java.lang.Object

Java class for Vote complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Vote">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="user" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
         <element name="userGroup" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
         <element name="comment" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
         <element name="voteDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="choice" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}VoteChoice"/>
       </sequence>
       <attribute name="withdrawn" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  VoteChoice choice
           
protected  Link<Comment> comment
           
protected  Link<User> user
           
protected  Link<UserGroup> userGroup
           
protected  javax.xml.datatype.XMLGregorianCalendar voteDate
           
protected  java.lang.Boolean withdrawn
           
 
Constructor Summary
Vote()
           
 
Method Summary
 VoteChoice getChoice()
          Gets the value of the choice property.
 Link<Comment> getComment()
          Gets the value of the comment property.
 Link<User> getUser()
          Gets the value of the user property.
 Link<UserGroup> getUserGroup()
          Gets the value of the userGroup property.
 javax.xml.datatype.XMLGregorianCalendar getVoteDate()
          Gets the value of the voteDate property.
 boolean isSetUser()
           
 boolean isSetUserGroup()
           
 boolean isSetWithdrawn()
           
 boolean isWithdrawn()
          Gets the value of the withdrawn property.
 void setChoice(VoteChoice value)
          Sets the value of the choice property.
 void setComment(Link<Comment> value)
          Sets the value of the comment property.
 void setUser(Link<User> value)
          Sets the value of the user property.
 void setUserGroup(Link<UserGroup> value)
          Sets the value of the userGroup property.
 void setVoteDate(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the voteDate property.
 void setWithdrawn(boolean value)
          Sets the value of the withdrawn property.
 void unsetWithdrawn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

protected Link<User> user

userGroup

protected Link<UserGroup> userGroup

comment

protected Link<Comment> comment

voteDate

protected javax.xml.datatype.XMLGregorianCalendar voteDate

choice

protected VoteChoice choice

withdrawn

protected java.lang.Boolean withdrawn
Constructor Detail

Vote

public Vote()
Method Detail

getUser

public Link<User> getUser()
Gets the value of the user property.

Returns:
possible object is Link

setUser

public void setUser(Link<User> value)
Sets the value of the user property.

Parameters:
value - allowed object is Link

isSetUser

public boolean isSetUser()

getUserGroup

public Link<UserGroup> getUserGroup()
Gets the value of the userGroup property.

Returns:
possible object is Link

setUserGroup

public void setUserGroup(Link<UserGroup> value)
Sets the value of the userGroup property.

Parameters:
value - allowed object is Link

isSetUserGroup

public boolean isSetUserGroup()

getComment

public Link<Comment> getComment()
Gets the value of the comment property.

Returns:
possible object is Link

setComment

public void setComment(Link<Comment> value)
Sets the value of the comment property.

Parameters:
value - allowed object is Link

getVoteDate

public javax.xml.datatype.XMLGregorianCalendar getVoteDate()
Gets the value of the voteDate property.

Returns:
possible object is XMLGregorianCalendar

setVoteDate

public void setVoteDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the voteDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getChoice

public VoteChoice getChoice()
Gets the value of the choice property.

Returns:
possible object is VoteChoice

setChoice

public void setChoice(VoteChoice value)
Sets the value of the choice property.

Parameters:
value - allowed object is VoteChoice

isWithdrawn

public boolean isWithdrawn()
Gets the value of the withdrawn property.

Returns:
possible object is Boolean

setWithdrawn

public void setWithdrawn(boolean value)
Sets the value of the withdrawn property.

Parameters:
value - allowed object is Boolean

isSetWithdrawn

public boolean isSetWithdrawn()

unsetWithdrawn

public void unsetWithdrawn()