org.pentaho.di.repository
Class LongObjectId
java.lang.Object
org.pentaho.di.repository.LongObjectId
- All Implemented Interfaces:
- Comparable<LongObjectId>, ObjectId
public class LongObjectId
- extends Object
- implements ObjectId, Comparable<LongObjectId>
LongObjectId
public LongObjectId(long id)
LongObjectId
public LongObjectId(ObjectId objectId)
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.