public final class PropertyType extends Enum
Modifier and Type | Field and Description |
---|---|
static PropertyType |
BOOLEAN
Indicates that the value should be a Boolean.
|
static PropertyType |
DATE
Indicates that the value should be a Date.
|
static PropertyType |
DOUBLE
Indicates that the value should be a Double.
|
static PropertyType |
ENUM
Indicates that the value should be a String from a fixed set of values.
|
static PropertyType |
INTEGER
Indicates that the value should be an Integer.
|
static PropertyType |
LIST_BOOLEAN
Indicates that the value should be a List containing boolean values.
|
static PropertyType |
LIST_DATE
Indicates that the value should be a List containing Date values.
|
static PropertyType |
LIST_DOUBLE
Indicates that the value should be a List containing double values.
|
static PropertyType |
LIST_ENUM
Indicates that the value should be a List containing Strings representing a fixed set of Enum values.
|
static PropertyType |
LIST_INTEGER
Indicates that the value should be a List containing integer values.
|
static PropertyType |
LIST_STRING
Indicates that the value should be a List containing String values.
|
static PropertyType |
LIST_STRUCTURED
Indicates that the value should be a List containing structured values.
|
static PropertyType |
STRING
Indicates that the value should be a String.
|
static PropertyType |
STRUCTURED
Indicates that the value should be an opaque structured object.
|
Modifier and Type | Method and Description |
---|---|
static PropertyType |
getEnum(java.lang.String name)
Returns the enumeration with the supplied name or
null if
no enumeration exists for the supplied name. |
static PropertyType[] |
getValues()
Returns an array containing all the valid values for this enumeration class.
|
public static final PropertyType STRING
public static final PropertyType INTEGER
public static final PropertyType DOUBLE
public static final PropertyType BOOLEAN
public static final PropertyType ENUM
public static final PropertyType DATE
public static final PropertyType STRUCTURED
public static final PropertyType LIST_STRING
public static final PropertyType LIST_INTEGER
public static final PropertyType LIST_DOUBLE
public static final PropertyType LIST_BOOLEAN
public static final PropertyType LIST_ENUM
public static final PropertyType LIST_DATE
public static final PropertyType LIST_STRUCTURED
public static PropertyType getEnum(java.lang.String name)
null
if
no enumeration exists for the supplied name.name
- the enumeration namenull
public static PropertyType[] getValues()
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.