|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DummyNumberCode> de.smartics.exceptions.test.dummy.DummyNumberCode
public enum DummyNumberCode
Defines the parsing exception codes for this package.
Enum Constant Summary | |
---|---|
ONE The first code. |
|
THREE The third code. |
|
TWO The second code. |
|
ZERO The zeroth code. |
Method Summary | |
---|---|
String |
getCode() |
String |
getComponentId() |
String |
getDisplayId() |
Integer |
getMajorNumber() |
Integer |
getMinorNumber() |
String |
toString() Returns the string representation of the object. |
static DummyNumberCode |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static DummyNumberCode[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DummyNumberCode ZERO
public static final DummyNumberCode ONE
public static final DummyNumberCode TWO
public static final DummyNumberCode THREE
Method Detail |
---|
public static DummyNumberCode[] values()
for (DummyNumberCode c : DummyNumberCode.values()) System.out.println(c);
public static DummyNumberCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
public String getCode()
getCode
in interface
Code
public String getComponentId()
getComponentId
in interface
Code
public Integer getMajorNumber()
getMajorNumber
in interface
NumberCode
NumberCode.getMajorNumber()
public Integer getMinorNumber()
getMinorNumber
in interface
NumberCode
NumberCode.getMinorNumber()
public String getDisplayId()
getDisplayId
in interface
Code
Code.getDisplayId()
public String toString()
toString
in interface
Code
toString
in class
Enum<DummyNumberCode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |