|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.5) E20742-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ParameterInfo.DataType> oracle.as.scheduler.ParameterInfo.DataType
public static enum ParameterInfo.DataType
Enumeration of supported data types.
Enum Constant Summary | |
---|---|
BOOLEAN
Represents boolean as java.lang.Boolean. |
|
DATETIME
Represents datatime data type as java.util.Calendar. |
|
INTEGER
Represents integer data type as java.lang.Integer. |
|
LONG
Represents long data type as java.lang.Long. |
|
STRING
Represents the java.lang.String data type. |
Method Summary | |
---|---|
static ParameterInfo.DataType |
getDataType(java.lang.Object obj)
Returns the DataType associated with given object based
on its datatype. |
static java.lang.String |
getSimpleValue(ParameterInfo.DataType dataType)
Returns the string representing the simple value for the given DataType enum. |
static ParameterInfo.DataType |
getType(java.lang.String type)
Returns the DataType enum for the corresponding String type. |
static boolean |
isValid(ParameterInfo.DataType dataType,
java.lang.Object obj)
Determine if the type of the Object is valid for the DataType. |
java.lang.String |
toString(java.util.Locale locale)
|
java.lang.String |
value()
Returns the value of this property data type as String. |
static ParameterInfo.DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ParameterInfo.DataType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ParameterInfo.DataType STRING
public static final ParameterInfo.DataType INTEGER
public static final ParameterInfo.DataType LONG
public static final ParameterInfo.DataType BOOLEAN
public static final ParameterInfo.DataType DATETIME
Method Detail |
---|
public static ParameterInfo.DataType[] values()
for (ParameterInfo.DataType c : ParameterInfo.DataType.values()) System.out.println(c);
public static ParameterInfo.DataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static ParameterInfo.DataType getType(java.lang.String type)
type
- the type as String for which corresponding Enum
is returned.
IllegalArgumentException
- if no enum is defined for
the given String argument.public static ParameterInfo.DataType getDataType(java.lang.Object obj)
DataType
associated with given object based
on its datatype. This returns null
if value
is
null
or has an unsupported datatype.
obj
- the Object to check. This can be null
.
DataType
associated with the value, or
null
if no value was specified or it has
an unsupported datatype.public static boolean isValid(ParameterInfo.DataType dataType, java.lang.Object obj)
obj
is null.
dataType
- the DataType to check against the object type.obj
- the Object to check type against the DataType.
public static java.lang.String getSimpleValue(ParameterInfo.DataType dataType)
DataType
enum. The simple value represents the value
used to specify the datatype of a request parameter in the
runtime store.
dataType
- the DataType
public java.lang.String toString(java.util.Locale locale)
|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.5) E20742-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |