public enum NFEFeatureShape extends java.lang.Enum<NFEFeatureShape>
| Enum Constant and Description |
|---|
COMPLEX_LINE |
LINE |
PATH |
POINT |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Gets the numeric value of the shape type
|
java.lang.String |
toString() |
static NFEFeatureShape |
valueOf(int featureShapeValue)
Gets a shape type based on a numeric type.
|
static NFEFeatureShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NFEFeatureShape[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final NFEFeatureShape POINT
public static final NFEFeatureShape LINE
public static final NFEFeatureShape COMPLEX_LINE
public static final NFEFeatureShape PATH
public static NFEFeatureShape[] values()
for (NFEFeatureShape c : NFEFeatureShape.values())
System.out.println(c);
public static NFEFeatureShape 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<NFEFeatureShape>public static NFEFeatureShape valueOf(int featureShapeValue)
featureShapeValue - a numeric value representing a shape type. The possible values are: Point=1, LINE=2, COMPLEX_LINE=3, PATH=4public int getValue()