public abstract class Id extends Object implements Comparable<Id>, Serializable
| Modifier and Type | Field and Description |
|---|---|
String |
id
The internal value of this id; while public, this should only be required very rarely
|
static boolean |
SANITY_CHECK
If true the constructor for Id will verify that all Ids comply with the
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Id that)
Compares another Id to this id.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public static final boolean SANITY_CHECK
public final String id
public Id(String id)
id - the id value to use (may not be null)public final int compareTo(Id that)
compareTo in interface Comparable<Id>Comparable.compareTo(java.lang.Object)Copyright © 2016. All rights reserved.