public interface Ballot extends OsidGovernator, Temporal
A Ballot represents a set of races.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRevote()
Tests if races on this ballot can be modified before the election
ends.
|
BallotRecord |
getBallotRecord(Type ballotRecordType)
Gets the ballot record corresponding to the given
Ballot
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeisActive, isDisabled, isEnabled, isOperationalgetBranding, getBrandingIds, getLicense, getProvider, getProviderIdgetEndDate, getStartDate, isEffectiveboolean canRevote()
true if votes can be modified, false
otherwisemandatory - This method must be implemented. BallotRecord getBallotRecord(Type ballotRecordType) throws OperationFailedException
Ballot
record Type. This method is used to retrieve an
object implementing the requested record. The ballotRecordType
may be the Type returned in
getRecordTypes() or any of its parents in a Type
hierarchy where hasRecordType(ballotRecordType)
is true .ballotRecordType - the ballot record typeNullArgumentException - ballotRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(ballotRecordType) is false
mandatory - This method must be implemented.