Location objects

Each resource has a location that uniquely identifies it to the server.

The HCL Compass CM API StpLocation object represents the location of a resource and is required to construct a proxy for the resource. An StpLocation object is constructed by the Provider from a string representation of the location. The syntax for specifying resource locations in this string representation is defined by the API in the Javadoc information for StpLocation. The string argument to the Provider.location(...), StpProvider.stpLocation(...), and StpPovider.buildProxy(...) operations must conform to the syntax specified in StpLocation.

The StpLocation interface also provides methods for parsing and composing strings that contain location specifications.

An StpLocation object is available from each proxy, which corresponds to the location of the object referenced by that proxy. StpLocation is extended to provide the Provider from which an StpLocation object originated.