Package mil.nga.geopackage.extension
Enum ExtensionScopeType
- java.lang.Object
-
- java.lang.Enum<ExtensionScopeType>
-
- mil.nga.geopackage.extension.ExtensionScopeType
-
- All Implemented Interfaces:
Serializable
,Comparable<ExtensionScopeType>
public enum ExtensionScopeType extends Enum<ExtensionScopeType>
Extension Scope Type- Author:
- osbornb
-
-
Enum Constant Summary
Enum Constants Enum Constant Description READ_WRITE
Read and WriteWRITE_ONLY
Write Only
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtensionScopeType
fromValue(String value)
Get the type from the valueString
getValue()
Get the valuestatic ExtensionScopeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExtensionScopeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_WRITE
public static final ExtensionScopeType READ_WRITE
Read and Write
-
WRITE_ONLY
public static final ExtensionScopeType WRITE_ONLY
Write Only
-
-
Method Detail
-
values
public static ExtensionScopeType[] 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 (ExtensionScopeType c : ExtensionScopeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtensionScopeType 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 ExtensionScopeType fromValue(String value)
Get the type from the value- Parameters:
value
- value- Returns:
- scope type
-
-