edu.lehigh.swat.hawk.core
Class ObjectId

java.lang.Object
  extended by edu.lehigh.swat.hawk.core.ObjectId
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DatatypeValue

public class ObjectId
extends java.lang.Object
implements java.io.Serializable

encapsulating the id of each ontObject

See Also:
Serialized Form

Constructor Summary
ObjectId(java.lang.String s)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Overide equals method.
 java.lang.String getId()
          Get the id.
 java.lang.String getLocalName()
          Get the local name.
 java.lang.String getNameSpace()
          Get the namespace.
 int hashCode()
          Overide hashCode method.
 void setLocalName(java.lang.String ln)
          Set the local name.
 void setNameSpace(java.lang.String ns)
          Set the namespace.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectId

public ObjectId(java.lang.String s)
Constructor

Method Detail

getId

public java.lang.String getId()
Get the id.


getNameSpace

public java.lang.String getNameSpace()
Get the namespace.


setNameSpace

public void setNameSpace(java.lang.String ns)
Set the namespace.


getLocalName

public java.lang.String getLocalName()
Get the local name.


setLocalName

public void setLocalName(java.lang.String ln)
Set the local name.


equals

public boolean equals(java.lang.Object o)
Overide equals method.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overide hashCode method.

Overrides:
hashCode in class java.lang.Object