public enum FieldType extends Enum<FieldType> implements Serializable
Enum Constant and Description |
---|
ACCESS |
ATTRIBUTE_DEF |
LIST |
NAMING |
Modifier and Type | Method and Description |
---|---|
static FieldType |
getInstance(String type) |
String |
getType() |
String |
toString() |
static FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldType |
valueOfIgnoreCase(String type,
boolean exceptionOnNull) |
static FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType ACCESS
public static final FieldType ATTRIBUTE_DEF
public static final FieldType LIST
public static final FieldType NAMING
public static FieldType[] values()
for (FieldType c : FieldType.values()) System.out.println(c);
public static FieldType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static FieldType valueOfIgnoreCase(String type, boolean exceptionOnNull)
type
- exceptionOnNull
- public String toString()
toString
in class Enum<FieldType>
Enum.toString()
public String getType()
Copyright © 2016 Internet2. All rights reserved.