Interface Deed

All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRelationship, Temporal

public interface Deed extends OsidRelationship

A Deed represents ownership of a building.

  • Method Details

    • getBuildingId

      Id getBuildingId()
      Gets the Id of the owner building.
      Returns:
      the building Id
      Compliance:
      mandatory - This method must be implemented.
    • getBuilding

      Building getBuilding() throws OperationFailedException
      Gets the owner building.
      Returns:
      the building
      Throws:
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getOwnerId

      Id getOwnerId()
      Gets the Id of 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

      DeedRecord getDeedRecord(Type deedRecordType) throws OperationFailedException
      Gets the deed record corresponding to the given 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 .
      Parameters:
      deedRecordType - the type of deed record to retrieve
      Returns:
      the deed record
      Throws:
      NullArgumentException - deedRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(deedRecordType) is false
      Compliance:
      mandatory - This method must be implemented.