public interface Deed extends OsidRelationship
A Deed
represents ownership of a building.
Modifier and Type | Method and Description |
---|---|
Building |
getBuilding()
Gets the owner building.
|
Id |
getBuildingId()
Gets the
Id of the owner building. |
DeedRecord |
getDeedRecord(Type deedRecordType)
Gets the deed record corresponding to the given
Deed
record Type. |
Resource |
getOwner()
Gets the owner resource.
|
Id |
getOwnerId()
Gets the
Id of the owner resource. |
getEndReason, getEndReasonId, hasEndReason
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getEndDate, getStartDate, isEffective
Id getBuildingId()
Id
of the owner building. Id
mandatory
- This method must be implemented. Building getBuilding() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getOwnerId()
Id
of the owner resource. Id
mandatory
- This method must be implemented. Resource getOwner() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DeedRecord getDeedRecord(Type deedRecordType) throws OperationFailedException
Deed
record Type.
This method is used to retrieve an object
implementing the requested record. The DeedRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(deedRecordType)
is true
.deedRecordType
- the type of deed record to retrieveNullArgumentException
- deedRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(deedRecordType)
is false
mandatory
- This method must be implemented.