|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ReferenceType>
com.ail.insurance.policy.ReferenceType
public enum ReferenceType
Used by "Reference" to indicate they type of target.
| Enum Constant Summary | |
|---|---|
ASSESSMENT_LINE
|
|
ASSET
|
|
EXCESS
|
|
SECTION
|
|
XPATH
|
|
| Method Summary | |
|---|---|
static ReferenceType |
forName(java.lang.String name)
This method is similar to the valueOf() method offered by Java's Enum type, but in this case it will match either the Enum's name or the longName. |
java.lang.String |
getLongName()
Returns the same value as longName(). |
java.lang.String |
getName()
Returns the same value as name(). |
int |
getOrdinal()
Return this Enum's ordinal id. |
java.lang.String |
longName()
The long name for an enum. |
static ReferenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReferenceType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
java.lang.String |
valuesAsCsv()
|
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ail.core.TypeEnum |
|---|
name |
| Enum Constant Detail |
|---|
public static final ReferenceType ASSET
public static final ReferenceType EXCESS
public static final ReferenceType SECTION
public static final ReferenceType ASSESSMENT_LINE
public static final ReferenceType XPATH
| Method Detail |
|---|
public static final ReferenceType[] values()
for(ReferenceType c : ReferenceType.values())
System.out.println(c);
public static ReferenceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.lang.String valuesAsCsv()
public java.lang.String longName()
TypeEnum
longName in interface TypeEnumpublic static ReferenceType forName(java.lang.String name)
name - The name to lookup
public java.lang.String getName()
TypeEnum
getName in interface TypeEnumpublic java.lang.String getLongName()
TypeEnum
getLongName in interface TypeEnumpublic int getOrdinal()
TypeEnum
getOrdinal in interface TypeEnum
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||