org.nees.data.service
Class LogicalName

java.lang.Object
  extended byorg.nees.metadata.Identifier
      extended byorg.nees.data.service.LogicalName
All Implemented Interfaces:
java.io.Serializable

public class LogicalName
extends Identifier

Author:
Jeff Gaynor

Created on March 19, 2004, 11:50 AM

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.nees.metadata.Identifier
qName
 
Constructor Summary
LogicalName(Identifier id)
          When you can't downcast, use this constructor.
LogicalName(java.lang.String namespace, java.lang.String fullPath)
           
LogicalName(java.net.URI namespace, java.lang.String fullPath)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getFullPath()
           
 java.net.URI getNamespace()
           
 void setFullPath(java.lang.String fullPath)
          Deprecated.  
 void setNamespace(java.lang.String namespace)
          Deprecated.  
 void setNamespace(java.net.URI namespace)
           
 java.lang.String toString()
          For debugging purposes only.
 
Methods inherited from class org.nees.metadata.Identifier
deserialize, getLocalPart, getNamespaceURI, getQName, hashCode, serialize, setQName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogicalName

public LogicalName(Identifier id)
When you can't downcast, use this constructor.


LogicalName

public LogicalName(java.lang.String namespace,
                   java.lang.String fullPath)

LogicalName

public LogicalName(java.net.URI namespace,
                   java.lang.String fullPath)
Method Detail

getNamespace

public java.net.URI getNamespace()
                          throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

setNamespace

public void setNamespace(java.net.URI namespace)

setNamespace

public void setNamespace(java.lang.String namespace)
Deprecated.  


getFullPath

public java.lang.String getFullPath()

setFullPath

public void setFullPath(java.lang.String fullPath)
Deprecated.  


equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class Identifier

toString

public java.lang.String toString()
Description copied from class: Identifier
For debugging purposes only. If you want a canonical String representation of an Identifier, use IdSerializer. Or the convenience methods serialize and deserialize

Overrides:
toString in class Identifier