Enum Class PropertyTypeName.BaseTypeGroup
java.lang.Object
java.lang.Enum<PropertyTypeName.BaseTypeGroup>
org.gcube.informationsystem.types.PropertyTypeName.BaseTypeGroup
- All Implemented Interfaces:
Serializable,Comparable<PropertyTypeName.BaseTypeGroup>,Constable
- Enclosing class:
- PropertyTypeName
Groups of base types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvery base type, with no restriction.The binary base types: Binary and Byte.Only the boolean base type.The collection base types List and Set (not Map, tracked separately since its key is always String).Only the Property base type: a reference to another Property-family type.Only the date base type.Only the Map base type.The numeric base types: Integer, Short, Long, Float, Double.Only the string base type. -
Method Summary
Modifier and TypeMethodDescriptionReturns a human-readable description of this group, e.g. for documentation generation.getGroup()Returns the group of base types.Returns the enum constant of this class with the specified name.static PropertyTypeName.BaseTypeGroup[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANY
Every base type, with no restriction. -
BOOLEAN
Only the boolean base type. -
NUMERIC
The numeric base types: Integer, Short, Long, Float, Double. -
STRING
Only the string base type. -
DATE
Only the date base type. -
BITS
The binary base types: Binary and Byte. -
COMPLEX
Only the Property base type: a reference to another Property-family type. -
COLLECTION
The collection base types List and Set (not Map, tracked separately since its key is always String). -
MAP
Only the Map base type.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
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
-
getGroup
Returns the group of base types.- Returns:
- The group of base types.
-
getDescription
Returns a human-readable description of this group, e.g. for documentation generation.- Returns:
- The description.
-