uk.org.ogsadai.resource
Class ResourceID

java.lang.Object
  extended by uk.org.ogsadai.common.ID
      extended by uk.org.ogsadai.resource.ResourceID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class ResourceID
extends ID

Represents a resource identifier.

Author:
The OGSA-DAI Team.
See Also:
Serialized Form

Constructor Summary
ResourceID(java.lang.String compositeName)
          Constructs a new resource ID from a composite name.
ResourceID(java.lang.String localName, java.lang.String qualifier)
          Constructs a new resource ID with the local name and qualifier.
 
Method Summary
 
Methods inherited from class uk.org.ogsadai.common.ID
compareTo, equals, getLocalPart, getNamespace, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceID

public ResourceID(java.lang.String compositeName)
Constructs a new resource ID from a composite name.

Parameters:
compositeName - a composite name consisting of qualifier and local name

ResourceID

public ResourceID(java.lang.String localName,
                  java.lang.String qualifier)
Constructs a new resource ID with the local name and qualifier.

Parameters:
localName - local name of the resource ID
qualifier - qualifier for the resource ID