Package oracle.spatial.network.lod
Enum Feature.FeatureType
- java.lang.Object
-
- java.lang.Enum<Feature.FeatureType>
-
- oracle.spatial.network.lod.Feature.FeatureType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Feature.FeatureType>
- Enclosing interface:
- Feature
public static enum Feature.FeatureType extends java.lang.Enum<Feature.FeatureType>
A list of valid feature types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLECTIONFor features that consist of one or more points or lines.LINEFor features that consist of a single line (link or partial link).MULTI_LINEFor features that consist of one or more lines.MULTI_POINTFor features that consist of one or more points.MULTI_POINT_ON_LINKFor features that consist of one or more points on link.MULTI_POINT_ON_NODEFor features that consist of one or more points on node.POINTFor features that consist of a single point.POINT_ON_LINKFor features that consist of a single point on link.POINT_ON_NODEFor features that consist of a single point on node.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Feature.FeatureTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Feature.FeatureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POINT_ON_NODE
public static final Feature.FeatureType POINT_ON_NODE
For features that consist of a single point on node.
-
POINT_ON_LINK
public static final Feature.FeatureType POINT_ON_LINK
For features that consist of a single point on link.
-
POINT
public static final Feature.FeatureType POINT
For features that consist of a single point.
-
LINE
public static final Feature.FeatureType LINE
For features that consist of a single line (link or partial link).
-
MULTI_POINT_ON_NODE
public static final Feature.FeatureType MULTI_POINT_ON_NODE
For features that consist of one or more points on node.
-
MULTI_POINT_ON_LINK
public static final Feature.FeatureType MULTI_POINT_ON_LINK
For features that consist of one or more points on link.
-
MULTI_POINT
public static final Feature.FeatureType MULTI_POINT
For features that consist of one or more points.
-
MULTI_LINE
public static final Feature.FeatureType MULTI_LINE
For features that consist of one or more lines.
-
COLLECTION
public static final Feature.FeatureType COLLECTION
For features that consist of one or more points or lines.
-
-
Method Detail
-
values
public static Feature.FeatureType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Feature.FeatureType c : Feature.FeatureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Feature.FeatureType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-