- All Implemented Interfaces:
Serializable
,Comparable<Content>
,Constable
All interfaces, code lists, enumerations and exceptions declared in GeoAPI.
The array of types that are members of a category is given by
types()
.- Since:
- 3.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll interfaces, code lists, enumerations and exceptions.All code list classes.The union of code lists and enumerations.All enumeration classes.All exceptions.All GeoAPI interfaces, in approximate dependency order. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if this enumeration is for enumerations, code lists, or combination of both.static Class
<?> Returns the element type of the given field.static Class
<?> Returns the element type of the return value or single parameter type of the given method.Class<?>[]
types()
Returns all types in that are members of the category identified by this enumeration value.static Content
Returns the enum constant of this class with the specified name.static Content[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERFACES
All GeoAPI interfaces, in approximate dependency order. It is not possible to list the interfaces in strict dependency order because of circular dependencies. But this list nevertheless tries to provide such order in a "best effort" basis. -
CODE_LISTS
All code list classes. -
ENUMERATIONS
All enumeration classes. -
CONTROLLED_VOCABULARY
The union of code lists and enumerations. -
EXCEPTIONS
All exceptions. -
ALL
-
-
Method Details
-
values
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
isControlledVocabulary
Returnstrue
if this enumeration is for enumerations, code lists, or combination of both.- Returns:
true
ifENUMERATIONS
,CODE_LISTS
orCONTROLLED_VOCABULARY
.
-
types
-
typeOf
Returns the element type of the given field. If the field type is parameterized, then this method returns the upper bound. Otherwise this method returns the value type.- Parameters:
field
- the field for which to obtain the (eventually parameterized) type.- Returns:
- the property element type.
-
typeOf
Returns the element type of the return value or single parameter type of the given method. If the return type or the single parameter is a parameterized type, then this method returns the upper bound. Otherwise this method returns the type directly.- Parameters:
method
- the method for which to obtain the (eventually parameterized) return type.- Returns:
- the return element type (may be
Void.TYPE
).
-