Entity.UrlType| Constructor and Description |
|---|
Poll() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOption(Option option) |
void |
addVote(Vote vote)
Attach a vote to the list of votes for this poll
|
static Poll |
fromXML(Element element) |
String |
getDetails() |
String |
getId() |
ResourceProperties |
getProperties() |
String |
getReference() |
String |
getReference(String arg0) |
String |
getUrl() |
String |
getUrl(String arg0) |
String |
getVoteCloseStr() |
String |
getVoteOpenStr() |
void |
setDetails(String value) |
void |
setVoteCloseStr(String value) |
void |
setVoteOpenStr(String value) |
String |
toString() |
Element |
toXml(Document doc,
Stack stack) |
public void setVoteOpenStr(String value)
public String getVoteOpenStr()
public void setVoteCloseStr(String value)
public String getVoteCloseStr()
public void addVote(Vote vote)
vote - public void addOption(Option option)
public void setDetails(String value)
public String getDetails()
public String getReference()
getReference in interface Entitypublic String getReference(String arg0)
getReference in interface Entitypublic ResourceProperties getProperties()
getProperties in interface EntityCopyright © 2003–2021 Sakai Project. All rights reserved.