public interface RaceConstrainer extends OsidConstrainer
A RaceConstrainer
describes the rules for constraining
the voting requests in a race.
Modifier and Type | Method and Description |
---|---|
RaceConstrainerRecord |
getRaceConstrainerRecord(Type raceConstrainerRecordType)
Gets the race constrainer record corresponding to the given
RaceConstrainer record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
isActive, isDisabled, isEnabled, isOperational
RaceConstrainerRecord getRaceConstrainerRecord(Type raceConstrainerRecordType) throws OperationFailedException
RaceConstrainer
record Type.
This method is
used to retrieve an object implementing the requested record. The
raceConstrainerRecordType
may be the Type
returned in getRecordTypes()
or any of its
parents in a Type
hierarchy where
hasRecordType(raceConstrainerRecordType)
is true
.raceConstrainerRecordType
- the type of race constrainer record
to retrieveNullArgumentException
-
raceConstrainerRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(raceConstrainerRecordType)
is
false
mandatory
- This method must be implemented.