Interface Conferral
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRelationship, Temporal
A Conferral represents an Award conferred to a
Recipient for something (reference). Often, an award is conferred for a
body of work. The body of work may be represented by another
OsidObject , such as an Asset or an Assessment may be
related using an Id . The recipiens is the Resource to
whom the award is addressed is often the producer or creator of the work.
In some instances, the Resource and the reference may be one in
the same.
-
Method Summary
Modifier and TypeMethodDescriptiongetAward()Gets the subscriber's award.Gets theIdof the subscriber's award.getConferralRecord(Type conferralRecordType) Gets the conferral record corresponding to the givenConferralrecordType.Gets the convocation (e.g.Gets theIdof the convocation.Gets the recipient (e.g.Gets theIdof the recipient.Gets theIdof the reference (e.g.booleanTests if the award was conferred as part of a convocation.booleanTests if the was conferred for a reference object.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.Methods inherited from interface OsidRelationship
getEndReason, getEndReasonId, hasEndReasonModifier and TypeMethodDescriptionGets a state indicating why this relationship has ended.Gets a stateIdindicating why this relationship has ended.booleanTests if a reason this relationship came to an end is known.Methods inherited from interface Temporal
getEndDate, getStartDate, isEffectiveModifier and TypeMethodDescriptionGets the end date.Gets the start date.booleanTests if the current date is within the start end end dates inclusive.
-
Method Details
-
getAwardId
Id getAwardId()Gets theIdof the subscriber's award.- Returns:
- the subscriber
Id - Compliance:
mandatory- This method must be implemented.
-
getAward
Gets the subscriber's award.- Returns:
- the subscriber's award.
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getRecipientId
Id getRecipientId()Gets theIdof the recipient.- Returns:
- the resource
Id - Compliance:
mandatory- This method must be implemented.
-
getRecipient
Gets the recipient (e.g. Samuel Goldwyn).- Returns:
- the resource
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasReference
boolean hasReference()Tests if the was conferred for a reference object.- Returns:
trueif a reference exists,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getReferenceId
Id getReferenceId()Gets theIdof the reference (e.g. "Best Years of Our Lives").- Returns:
- the reference
Id - Throws:
IllegalStateException-hasReference()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasConvocation
boolean hasConvocation()Tests if the award was conferred as part of a convocation.- Returns:
trueif a convocation exists,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getConvocationId
Id getConvocationId()Gets theIdof the convocation.- Returns:
- the convocation
Id - Throws:
IllegalStateException-hasConvocation()isfalse- Compliance:
mandatory- This method must be implemented.
-
getConvocation
Gets the convocation (e.g. 19th Academy Awards for the time period 1946).- Returns:
- the convocation
- Throws:
IllegalStateException-hasConvocation()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getConferralRecord
Gets the conferral record corresponding to the givenConferralrecordType. This method is used to retrieve an object implementing the requested record. TheconferralRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(conferralRecordType)istrue.- Parameters:
conferralRecordType- the type of conferral record to retrieve- Returns:
- the conferral record
- Throws:
NullArgumentException-conferralRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(conferralRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-