org.pentaho.di.repository
Class LongObjectId

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

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


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

Constructor Detail

LongObjectId

public LongObjectId(long id)

LongObjectId

public LongObjectId(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(LongObjectId o)
Specified by:
compareTo in interface Comparable<LongObjectId>

toString

public String toString()
Overrides:
toString in class Object

getId

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

longValue

public Long longValue()
Returns:
the id in its original form.