Interface Path

All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject

public interface Path extends OsidObject

A Path represents a navigable path or road. The Path is the interface to relate a navigable route to a physical path.

  • Method Details

    • getPathRecord

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