jxtaimpl.ids
Class GenericId

java.lang.Object
  |
  +--jxtaimpl.ids.GenericId
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AntId, RequestId

public class GenericId
extends Object
implements Serializable

This class generates a new identifier shaped as a String taking, as input value, the object to identify. The id could be obtained invoking the getId method.

Author:
Francesco Russo (frusso@cs.unibo.it)
See Also:
Serialized Form

Constructor Summary
GenericId(Object obj)
          The constructor
 
Method Summary
 String getId()
          This method returns the ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericId

public GenericId(Object obj)
The constructor

Parameters:
obj - The object to be identified
Method Detail

getId

public String getId()
This method returns the ID