|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.client.RAMVote
public class RAMVote
Represents a user's approval or rejection of an asset
| Field Summary | |
|---|---|
static java.lang.String |
APPROVE
Votes to approve the asset |
static java.lang.String |
REJECT
Votes to reject the asset |
| Constructor Summary | |
|---|---|
RAMVote()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getComment()
Returns the comment associated with this vote or null if none is set |
protected Vote |
getInternalVote()
|
RAMStateHistory |
getStateHistory()
|
RAMUser |
getUser()
|
java.lang.String |
getVoteChoice()
Returns the users vote choice |
void |
setComment(java.lang.String comment)
Returns the comment associated with this vote or null if none is set |
protected void |
setInternalVote(Vote vote)
|
void |
setVoteChoice(java.lang.String voteChoice)
Sets the users vote choice |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String APPROVE
public static java.lang.String REJECT
| Constructor Detail |
|---|
public RAMVote()
| Method Detail |
|---|
protected Vote getInternalVote()
protected void setInternalVote(Vote vote)
vote - The fVote to set.
public java.lang.String getComment()
throws RAMRuntimeException
RAMRuntimeExceptionpublic void setComment(java.lang.String comment)
public java.lang.String getVoteChoice()
approve choice,
reject choicepublic void setVoteChoice(java.lang.String voteChoice)
approve choice,
reject choicepublic RAMStateHistory getStateHistory()
public RAMUser getUser()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||