Interface Deed
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRelationship, Temporal
A Deed represents ownership of a building.
Like all OsidObjects, Deed is managed by its
OsidSessions and may not be accessed by concurrent processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets the owner building.Gets theIdof the owner building.getDeedRecord(Type deedRecordType) Gets the deed record corresponding to the givenDeedrecordType.This method is used to retrieve an object implementing the requested record.getOwner()Gets the owner resource.Gets theIdof the owner resource.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeMethods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeMethods inherited from interface OsidRelationship
getEndReason, getEndReasonId, hasEndReasonMethods inherited from interface Temporal
getEndDate, getStartDate, isEffective
-
Method Details
-
getBuildingId
Id getBuildingId()Gets theIdof the owner building.- Returns:
- the building
Id - Compliance:
mandatory- This method must be implemented.
-
getBuilding
Gets the owner building.- Returns:
- the building
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getOwnerId
Id getOwnerId()Gets theIdof the owner resource.- Returns:
- the resource
Id - Compliance:
mandatory- This method must be implemented.
-
getOwner
Gets the owner resource.- Returns:
- the resource
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getDeedRecord
Gets the deed record corresponding to the givenDeedrecordType.This method is used to retrieve an object implementing the requested record. TheDeedRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(deedRecordType)istrue.- Parameters:
deedRecordType- the type of deed record to retrieve- Returns:
- the deed record
- Throws:
NullArgumentException-deedRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(deedRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-