Enum ReferenceScopeType
- java.lang.Object
-
- java.lang.Enum<ReferenceScopeType>
-
- mil.nga.geopackage.extension.metadata.reference.ReferenceScopeType
-
- All Implemented Interfaces:
Serializable
,Comparable<ReferenceScopeType>
public enum ReferenceScopeType extends Enum<ReferenceScopeType>
Reference Scope Type- Author:
- osbornb
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMN
ColumnGEOPACKAGE
GeopackageROW
RowROW_COL
Row and columnTABLE
Table
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferenceScopeType
fromValue(String value)
Get the type from the valueString
getValue()
Get the valuestatic ReferenceScopeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReferenceScopeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GEOPACKAGE
public static final ReferenceScopeType GEOPACKAGE
Geopackage
-
TABLE
public static final ReferenceScopeType TABLE
Table
-
COLUMN
public static final ReferenceScopeType COLUMN
Column
-
ROW
public static final ReferenceScopeType ROW
Row
-
ROW_COL
public static final ReferenceScopeType ROW_COL
Row and column
-
-
Method Detail
-
values
public static ReferenceScopeType[] 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 (ReferenceScopeType c : ReferenceScopeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReferenceScopeType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
Get the value- Returns:
- value
-
fromValue
public static ReferenceScopeType fromValue(String value)
Get the type from the value- Parameters:
value
- value- Returns:
- reference scope type
-
-