public static enum ConstantAnnotationExpression.Type extends Enum<ConstantAnnotationExpression.Type>
Enum Constant and Description |
---|
Binary |
Bool |
Date |
DateTimeOffset |
Decimal |
Duration |
EnumMember |
Float |
Guid |
Int |
String |
TimeOfDay |
Modifier and Type | Method and Description |
---|---|
static ConstantAnnotationExpression.Type |
fromString(String value) |
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)
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.