|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<FakeExceptionCode> de.smartics.exceptions.i18n.test.FakeExceptionCode
public enum FakeExceptionCode
Defines test codes.
Enum Constant Summary | |
---|---|
DETAILS_AND_EXTRAS Provides details, implications and todo. |
|
FULL Provides messages for all types. |
|
MINIMAL Provides minimal message types. |
|
STANDARD Provides the standard message types. |
|
WITH_URL Provides minimal message types with URL. |
Method Summary | |
---|---|
String |
getCode() |
String |
getComponentId() |
String |
getDisplayId() |
Integer |
getMajorNumber() |
Integer |
getMinorNumber() |
String |
toString() Returns the string representation of the object. |
static FakeExceptionCode |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static FakeExceptionCode[] |
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 FakeExceptionCode FULL
public static final FakeExceptionCode STANDARD
public static final FakeExceptionCode MINIMAL
public static final FakeExceptionCode WITH_URL
public static final FakeExceptionCode DETAILS_AND_EXTRAS
Method Detail |
---|
public static FakeExceptionCode[] values()
for (FakeExceptionCode c : FakeExceptionCode.values()) System.out.println(c);
public static FakeExceptionCode 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
Code.getCode()
public String getComponentId()
getComponentId
in interface
Code
Code.getComponentId()
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<FakeExceptionCode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |