Interface RelationshipEnabler

All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidEnabler, OsidObject, OsidRule, Temporal

public interface RelationshipEnabler extends OsidEnabler

A RelationshipEnabler describes the rules for making Relationships effective.

  • Method Details

    • getRelationshipEnablerRecord

      RelationshipEnablerRecord getRelationshipEnablerRecord(Type relationshipEnablerRecordType) throws OperationFailedException
      Gets the relationship enabler record corresponding to the given RelationshipEnabler record Type. This method is used to retrieve an object implementing the requested record. The relationshipEnablerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(relationshipEnablerRecordType) is true.
      Parameters:
      relationshipEnablerRecordType - the type of relationship enabler record to retrieve
      Returns:
      the relationship enabler record
      Throws:
      NullArgumentException - relationshipEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(relationshipEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.