org.apache.cocoon.portal.pluto.om.common
Class ObjectIDImpl

java.lang.Object
  extended by org.apache.cocoon.portal.pluto.om.common.ObjectIDImpl
All Implemented Interfaces:
Serializable, org.apache.pluto.om.common.ObjectID

public class ObjectIDImpl
extends Object
implements org.apache.pluto.om.common.ObjectID, Serializable

Wraps around the internal Object IDs. By holding both the string and the integer version of an Object ID this class helps speed up the internal processing.

Version:
CVS $Id: ObjectIDImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
See Also:
Serialized Form

Method Summary
static ObjectIDImpl createFromString(String idStr)
           
 boolean equals(Object object)
           
 int hashCode()
           
 int intValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

intValue

public int intValue()

createFromString

public static ObjectIDImpl createFromString(String idStr)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.