org.apache.jetspeed.util
Class JetspeedObjectID

java.lang.Object
  extended by org.apache.jetspeed.util.JetspeedObjectID
All Implemented Interfaces:
Serializable, org.apache.pluto.om.common.ObjectID

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

JetspeedObjectID 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:
$Id: JetspeedObjectID.java 516448 2007-03-09 16:25:47Z ate $
See Also:
Serialized Form

Field Summary
private  String stringOID
           
 
Constructor Summary
JetspeedObjectID(String stringOID)
           
 
Method Summary
static JetspeedObjectID createFromString(String idStr)
           
static JetspeedObjectID createPortletEntityId(org.apache.pluto.om.portlet.PortletDefinition portletDefinition, String instanceName)
           
 boolean equals(Object object)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

stringOID

private String stringOID
Constructor Detail

JetspeedObjectID

public JetspeedObjectID(String stringOID)
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

createFromString

public static JetspeedObjectID createFromString(String idStr)

createPortletEntityId

public static JetspeedObjectID createPortletEntityId(org.apache.pluto.om.portlet.PortletDefinition portletDefinition,
                                                     String instanceName)
Parameters:
portletDefinition -
instanceName -
Returns:


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.