JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.persistence
Class StringOID

java.lang.Object
  |
  +--org.objectweb.jac.aspects.persistence.OID
        |
        +--org.objectweb.jac.aspects.persistence.StringOID
All Implemented Interfaces:
Serializable

public class StringOID
extends OID

An implementation of OID with a long

See Also:
Serialized Form

Constructor Summary
StringOID(String oid)
           
 
Method Summary
 boolean equals(Object obj)
          Test if two OIDs are equal.
 String getOID()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringOID

public StringOID(String oid)
Method Detail

getOID

public String getOID()

equals

public boolean equals(Object obj)
Description copied from class: OID
Test if two OIDs are equal.

Specified by:
equals in class OID
Parameters:
obj - the OID to test
Returns:
true if obj equals this OID

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Specified by:
hashCode in class OID

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli