public interface RelationshipForm extends OsidRelationshipForm
This is the form for creating and updating Relationships.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
RelationshipAdminSession.
For each data element that may be set,
metadata may be examined to provide display hints or data constraints.
Modifier and Type | Method and Description |
---|---|
RelationshipFormRecord |
getRelationshipFormRecord(Type relationshipRecordType)
Gets the
RelationshipFormRecord corresponding to the
given relationship record Type. |
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
RelationshipFormRecord getRelationshipFormRecord(Type relationshipRecordType) throws OperationFailedException, PermissionDeniedException
RelationshipFormRecord
corresponding to the
given relationship record Type.
relationshipRecordType
- a relationship record typeNullArgumentException
- relationshipRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(relationshipRecordType)
is false
mandatory
- This method must be implemented.