Enum CsdlConstantExpression.ConstantExpressionType
java.lang.Object
java.lang.Enum<CsdlConstantExpression.ConstantExpressionType>
org.apache.olingo.commons.api.edm.provider.annotation.CsdlConstantExpression.ConstantExpressionType
- All Implemented Interfaces:
Serializable
,Comparable<CsdlConstantExpression.ConstantExpressionType>
,java.lang.constant.Constable
- Enclosing class:
- CsdlConstantExpression
public static enum CsdlConstantExpression.ConstantExpressionType
extends Enum<CsdlConstantExpression.ConstantExpressionType>
Type of the constant expression
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionType Edm.binaryType Edm.BoolType Edm.DateType Edm.DateTimeOffsetType Edm.DecimalType Edm.DurationType Edm.EnumMeberType Edm.FloatType Edm.GUIDType IntegerType Edm.StringType Edm.TimeOfDay -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String value) Creates a new type by a given string e.g.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Binary
Type Edm.binary -
Bool
Type Edm.Bool -
Date
Type Edm.Date -
DateTimeOffset
Type Edm.DateTimeOffset -
Decimal
Type Edm.Decimal -
Duration
Type Edm.Duration -
EnumMember
Type Edm.EnumMeber -
Float
Type Edm.Float -
Guid
Type Edm.GUID -
Int
Type Integer -
String
Type Edm.String -
TimeOfDay
Type Edm.TimeOfDay
-
-
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
-
fromString
Creates a new type by a given string e.g. "TimeOfDay". Will NOT throw an IlligalArgumentException for invalid types. If needed use the valueOf method.- Parameters:
value
- Type as string- Returns:
- Type type
-