|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.referential.pmfm.UnitId
public class UnitId
Field Summary | |
---|---|
static UnitId |
MILLIMETER
|
static UnitId |
NONE
|
Constructor Summary | |
---|---|
protected |
UnitId()
The default constructor allowing super classes to access it. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object that)
|
boolean |
equals(java.lang.Object object)
|
static UnitId |
fromInteger(java.lang.Integer value)
Creates an instance of UnitId from value . |
java.lang.Integer |
getValue()
Gets the underlying value of this type safe enumeration. |
int |
hashCode()
|
static java.util.List |
literals()
Returns an unmodifiable list containing the literals that are known by this enumeration. |
static java.util.List |
names()
Returns an unmodifiable list containing the names of the literals that are known by this enumeration. |
java.lang.String |
toString()
|
static java.util.List |
values()
Returns an unmodifiable list containing the actual enumeration instance values. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final UnitId NONE
public static final UnitId MILLIMETER
Constructor Detail |
---|
protected UnitId()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public static UnitId fromInteger(java.lang.Integer value)
value
.
value
- the value to create the UnitId from.public java.lang.Integer getValue()
public int compareTo(java.lang.Object that)
Comparable.compareTo(java.lang.Object)
public static java.util.List literals()
public static java.util.List names()
public static java.util.List values()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |