public static enum ConstantAnnotationExpression.Type extends Enum<ConstantAnnotationExpression.Type>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
static ConstantAnnotationExpression.Type |
fromString(String value)
Creates a new type by a given string e.g.
|
static ConstantAnnotationExpression.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstantAnnotationExpression.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstantAnnotationExpression.Type Binary
public static final ConstantAnnotationExpression.Type Bool
public static final ConstantAnnotationExpression.Type Date
public static final ConstantAnnotationExpression.Type DateTimeOffset
public static final ConstantAnnotationExpression.Type Decimal
public static final ConstantAnnotationExpression.Type Duration
public static final ConstantAnnotationExpression.Type EnumMember
public static final ConstantAnnotationExpression.Type Float
public static final ConstantAnnotationExpression.Type Guid
public static final ConstantAnnotationExpression.Type Int
public static final ConstantAnnotationExpression.Type String
public static final ConstantAnnotationExpression.Type TimeOfDay
public static ConstantAnnotationExpression.Type[] values()
for (ConstantAnnotationExpression.Type c : ConstantAnnotationExpression.Type.values()) System.out.println(c);
public static ConstantAnnotationExpression.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ConstantAnnotationExpression.Type fromString(String value)
value
- Type as stringCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.