|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.referential.pmfm.FractionId
public class FractionId
Field Summary | |
---|---|
static FractionId |
ALL
|
static FractionId |
GEAR
|
Constructor Summary | |
---|---|
protected |
FractionId()
The default constructor allowing super classes to access it. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object that)
|
boolean |
equals(java.lang.Object object)
|
static FractionId |
fromInteger(java.lang.Integer value)
Creates an instance of FractionId 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 FractionId ALL
public static final FractionId GEAR
Constructor Detail |
---|
protected FractionId()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public static FractionId fromInteger(java.lang.Integer value)
value
.
value
- the value to create the FractionId 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 |