Enum EdmPrimitiveTypeKind
- All Implemented Interfaces:
Serializable
,Comparable<EdmPrimitiveTypeKind>
,java.lang.constant.Constable
Enumeration of all primitive type kinds.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic EdmPrimitiveTypeKind
Get a type kind by name.Returns theFullQualifiedName
for this type kind.boolean
Checks if is a geospatial type.static EdmPrimitiveTypeKind
Returns the enum constant of this type with the specified name.static EdmPrimitiveTypeKind
valueOfFQN
(String fqn) Gets theEdmPrimitiveTypeKind
from a full type expression (likeEdm.Int32
).static EdmPrimitiveTypeKind
Gets theEdmPrimitiveTypeKind
from a full-qualified type name.static EdmPrimitiveTypeKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Binary
-
Boolean
-
Byte
-
SByte
-
Date
-
DateTimeOffset
-
TimeOfDay
-
Duration
-
Decimal
-
Single
-
Double
-
Guid
-
Int16
-
Int32
-
Int64
-
String
-
Stream
-
Geography
-
GeographyPoint
-
GeographyLineString
-
GeographyPolygon
-
GeographyMultiPoint
-
GeographyMultiLineString
-
GeographyMultiPolygon
-
GeographyCollection
-
Geometry
-
GeometryPoint
-
GeometryLineString
-
GeometryPolygon
-
GeometryMultiPoint
-
GeometryMultiLineString
-
GeometryMultiPolygon
-
GeometryCollection
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getByName
Get a type kind by name.- Parameters:
name
- The name.- Returns:
- The type kind or null if it does not exist.
-
isGeospatial
public boolean isGeospatial()Checks if is a geospatial type.- Returns:
- true if is geospatial type; false otherwise.
-
getFullQualifiedName
Returns theFullQualifiedName
for this type kind.- Returns:
FullQualifiedName
-
valueOfFQN
Gets theEdmPrimitiveTypeKind
from a full-qualified type name.- Parameters:
fqn
- full-qualified type name- Returns:
EdmPrimitiveTypeKind
object
-
valueOfFQN
Gets theEdmPrimitiveTypeKind
from a full type expression (likeEdm.Int32
).- Parameters:
fqn
- String containing a full-qualified type name- Returns:
EdmPrimitiveTypeKind
object
-