org.pentaho.di.repository
Class StringObjectId

java.lang.Object
  extended by org.pentaho.di.repository.StringObjectId
All Implemented Interfaces:
Comparable<StringObjectId>, ObjectId

public class StringObjectId
extends Object
implements ObjectId, Comparable<StringObjectId>


Constructor Summary
StringObjectId(ObjectId objectId)
           
StringObjectId(String id)
           
 
Method Summary
 int compareTo(StringObjectId o)
           
 boolean equals(Object obj)
           
 String getId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringObjectId

public StringObjectId(String id)

StringObjectId

public StringObjectId(ObjectId objectId)
Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(StringObjectId o)
Specified by:
compareTo in interface Comparable<StringObjectId>

toString

public String toString()
Overrides:
toString in class Object

getId

public String getId()
Specified by:
getId in interface ObjectId
Returns:
the id