org.nees.data.service
Class LogicalName
java.lang.Object
org.nees.metadata.Identifier
org.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
|
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)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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)
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