javax.wvcm
Interface Location


public interface Location

The location of a resource. All methods in this interface are client-side only, i.e. no communication with the server is required.


Method Summary
 Activity activity()
          Return a proxy for the activity at this Location.
 Location child(String bindingName)
          Return the Location of the child with the specified binding name in the folder at this Location.
 ControllableResource controllableResource()
          Return a proxy for the controllable resource at this Location.
 Folder folder()
          Return a proxy for the folder at this Location.
 Location parent()
          Return the Location of the parent folder of the resource at this Location.
 Resource resource()
          Return a proxy for the resource at this Location.
 String string()
          Return the string value for this Location.
 Workspace workspace()
          Return a proxy for the workspace at this location.
 

Method Detail

string

public String string()
Return the string value for this Location.


child

public Location child(String bindingName)
               throws WvcmException
Return the Location of the child with the specified binding name in the folder at this Location. The string value of the Location of the child is commonly created by appending a "/" and the name of the child to the string value of this Location.

WvcmException

parent

public Location parent()
Return the Location of the parent folder of the resource at this Location. If this Location is the root of the namespace, null is returned. The string value of the Location of the parent folder is commonly created by stripping off the last segment beginning with a "/" character of this Location.


activity

public Activity activity()
Return a proxy for the activity at this Location.


folder

public Folder folder()
Return a proxy for the folder at this Location.


resource

public Resource resource()
Return a proxy for the resource at this Location.


controllableResource

public ControllableResource controllableResource()
Return a proxy for the controllable resource at this Location.


workspace

public Workspace workspace()
Return a proxy for the workspace at this location.