public interface Relevancy extends OsidRelationship
A Relevancy
maps an Id
to an
Subject.
Modifier and Type | Method and Description |
---|---|
Id |
getMappedId()
Gets the
Id mapped to this Subject. |
RelevancyRecord |
getRelevancyRecord(Type relevancyRecordType)
Gets the relevancy record corresponding to the given
Relevancy
record Type. |
Subject |
getSubject()
Gets the
Subject. |
Id |
getSubjectId()
Gets the subject
Id. |
getEndReason, getEndReasonId, hasEndReason
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getEndDate, getStartDate, isEffective
Id getSubjectId()
Id.
Id
mandatory
- This method must be implemented. Subject getSubject() throws OperationFailedException
Subject.
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getMappedId()
Id
mapped to this Subject.
Id
mandatory
- This method must be implemented. RelevancyRecord getRelevancyRecord(Type relevancyRecordType) throws OperationFailedException
Relevancy
record Type.
This method must is to retrieve an
object implementing the requested record. The
relevancyRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(relevancyRecordType)
is true
.relevancyRecordType
- the type of the record to retrieveNullArgumentException
- relevancyRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(relevancyRecordType)
is false
mandatory
- This method must be implemented.