@Api(allMethods=true) public enum PrimitiveType extends Enum<PrimitiveType>
| Enum Constant and Description |
|---|
BOOLEAN
Boolean.
|
CURRENCY
Currency.
|
DATE
Date.
|
DOUBLE
Double.
|
FLOAT
Float.
|
IMGURL
Image URL.
|
INTEGER
Integer.
|
LONG
Long.
|
SHORT
Short.
|
STRING
String.
|
URL
URL.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveType |
fromValue(String value)
Get enum value from.
|
String |
toString()
Get string representation of enum.
|
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 BOOLEAN
public static final PrimitiveType SHORT
public static final PrimitiveType INTEGER
public static final PrimitiveType LONG
public static final PrimitiveType FLOAT
public static final PrimitiveType DOUBLE
public static final PrimitiveType CURRENCY
public static final PrimitiveType STRING
public static final PrimitiveType DATE
public static final PrimitiveType URL
public static final PrimitiveType IMGURL
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 fromValue(String value)
value - string representation for enumpublic String toString()
toString in class Enum<PrimitiveType>Copyright © 2015 Geosparc. All Rights Reserved.