public interface VoteAtts extends Role, Agent
The attributes in voteAtts are used in votes to identify agents and choices in votes. In particular, attribute ‘by’ identifies the voter, optional attribute ‘as’ identifies the role under which the voter is acting, optional attribute ‘choice’ specifies the vote that was casted.
<xsd:attributeGroup name="voteAtts">
<xsd:attributeGroup ref="agent"/>
<xsd:attributeGroup ref="role"/>
<xsd:attribute name="choice" type="voteRef"/>
</xsd:attributeGroup>
| Modifier and Type | Method and Description |
|---|---|
VoteRef |
getChoice() |
void |
setChoice(VoteRef choice) |
attributes, compare, name, nestedCompareread, writeCopyright © 2017. All rights reserved.