org.jasig.portal.portlet.om
Class AbstractObjectId

java.lang.Object
  extended by org.jasig.portal.portlet.om.AbstractObjectId
All Implemented Interfaces:
Serializable, IObjectId

public abstract class AbstractObjectId
extends Object
implements IObjectId

Version:
$Revision$
Author:
Eric Dalquist
See Also:
Serialized Form

Constructor Summary
AbstractObjectId(String objectId)
           
 
Method Summary
 boolean equals(Object object)
           
 String getStringId()
          Returns the unique string ID of a object
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractObjectId

public AbstractObjectId(String objectId)
Method Detail

getStringId

public String getStringId()
Description copied from interface: IObjectId
Returns the unique string ID of a object

Depending on the implementation of toString() is dangerous, because the original implementation in Object is not qualified.

Specified by:
getStringId in interface IObjectId
Returns:
the unique string ID of a object

equals

public boolean equals(Object object)
Overrides:
equals in class Object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2010 Jasig. All Rights Reserved.