public enum PrimitiveType extends Enum<PrimitiveType>
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
DATE_TIME |
DOUBLE |
FLOAT |
INT |
LONG |
STRING |
URI |
URL |
UUID |
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveType |
fromName(String name) |
Type |
getType() |
static PrimitiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveType INT
public static final PrimitiveType LONG
public static final PrimitiveType FLOAT
public static final PrimitiveType DOUBLE
public static final PrimitiveType STRING
public static final PrimitiveType BYTE
public static final PrimitiveType BOOLEAN
public static final PrimitiveType URI
public static final PrimitiveType URL
public static final PrimitiveType UUID
public static final PrimitiveType DATE_TIME
public static PrimitiveType[] values()
for (PrimitiveType c : PrimitiveType.values()) System.out.println(c);
public static PrimitiveType 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 PrimitiveType fromName(String name)
public Type getType()
Copyright © 2015. All Rights Reserved.