public class RDBMSUniqueIntID extends Object implements UniqueID
Constructor and Description |
---|
RDBMSUniqueIntID(int _id) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GroundTerm o)
Inherited from
Comparable.compareTo(Object) . |
boolean |
equals(Object oth)
Checks equality with an Object.
|
int |
getID() |
Object |
getInternalID() |
int |
hashCode() |
String |
toString()
Returns a human-friendly String representation of this UniqueID.
|
public int getID()
public Object getInternalID()
getInternalID
in interface UniqueID
DataStore
implementationpublic int hashCode()
public boolean equals(Object oth)
Term
Equality semantics are implementation specific.
public int compareTo(GroundTerm o)
GroundTerm
Comparable.compareTo(Object)
.
Implementations should compare to GroundTerms without a parent implementation in common using
this.getClass().getSimpleName().compareTo(o.getClass().getSimpleName());
compareTo
in interface GroundTerm
compareTo
in interface Comparable<GroundTerm>