public enum NFEAttributeType extends java.lang.Enum<NFEAttributeType>
Enum Constant and Description |
---|
DATE |
INTEGER |
NUMBER |
SDO_GEOMETRY |
TIMESTAMP |
VARCHAR2 |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getTypeClass()
Gets the Java Class that corresponds to the current type
|
java.lang.Object |
parseJavaValue(java.lang.String strValue)
Gets the representation of the string parameter as the appropriate Java Class instance for the current type.
|
static NFEAttributeType |
parseString(java.lang.String typeStr)
Given an attribute type name, it returns the actual NFEAttributeType for that name.
|
java.lang.String |
toString() |
static NFEAttributeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NFEAttributeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final NFEAttributeType NUMBER
public static final NFEAttributeType INTEGER
public static final NFEAttributeType VARCHAR2
public static final NFEAttributeType DATE
public static final NFEAttributeType TIMESTAMP
public static final NFEAttributeType SDO_GEOMETRY
public static NFEAttributeType[] values()
for (NFEAttributeType c : NFEAttributeType.values()) System.out.println(c);
public static NFEAttributeType 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<NFEAttributeType>
public java.lang.Object parseJavaValue(java.lang.String strValue)
strValue
- a string valuepublic static NFEAttributeType parseString(java.lang.String typeStr)
typeStr
- an attribute type name. It is the same that the name of the current enumeration values and is not sensible to the case.public java.lang.Class<?> getTypeClass()