|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.rules.Variant
public class Variant
Field Summary | |
---|---|
static int |
ASSIGNED_NULL |
static java.lang.String |
AssignedNull_S Type names |
static int |
BIGDECIMAL |
static java.lang.String |
BigDecimalType_S |
static int |
BINARY_STREAM Deprecated. use INPUTSTREAM. |
static java.lang.String |
BinaryStreamType_S |
static int |
BOOLEAN |
static java.lang.String |
BooleanType_S |
static int |
BYTE |
static int |
BYTE_ARRAY |
static java.lang.String |
ByteArrayType_S |
static java.lang.String |
ByteType_S |
static int |
DATE |
static java.lang.String |
DateType_S |
static int |
DOUBLE |
static java.lang.String |
DoubleType_S |
static int |
FLOAT |
static java.lang.String |
FloatType_S |
static int |
INPUTSTREAM |
static java.lang.String |
InputStreamType_S |
static int |
INT |
static java.lang.String |
IntType_S |
static int |
LONG |
static java.lang.String |
LongType_S |
static int |
MaxTypes |
static int |
NULL_TYPES |
static Variant |
nullVariant |
static int |
OBJECT |
static java.lang.String |
ObjectType_S |
static int |
SHORT |
static java.lang.String |
ShortType_S |
static int |
STRING |
static java.lang.String |
StringType_S |
static int |
TIME |
static int |
TIMESTAMP |
static java.lang.String |
TimestampType_S |
static java.lang.String |
TimeType_S |
static int |
UNASSIGNED_NULL Two types of null supported. |
static java.lang.String |
UnassignedNull_S |
static java.lang.String |
UnknownType_S |
Constructor Summary | |
---|---|
Variant() |
|
Variant(int dataType) If this constructor is used, all set operations must be of dataType that the Variant was constructed with. |
Method Summary | |
---|---|
int |
compareTo(Variant value2) |
boolean |
equals(Variant value) |
boolean |
equalsInstance(Variant value2) |
int |
getArrayLength() |
java.math.BigDecimal |
getAsBigDecimal() |
boolean |
getAsBoolean() |
double |
getAsDouble() |
float |
getAsFloat() |
int |
getAsInt() |
long |
getAsLong() |
short |
getAsShort() |
java.math.BigDecimal |
getBigDecimal() |
java.io.InputStream |
getBinaryStream() Deprecated. Use getInputStream(). |
boolean |
getBoolean() |
byte |
getByte() |
byte[] |
getByteArray() |
java.sql.Date |
getDate() |
java.lang.Object |
getDisplayValue() |
double |
getDouble() |
float |
getFloat() |
java.io.InputStream |
getInputStream() |
int |
getInt() |
long |
getLong() |
java.lang.Object |
getObject() |
int |
getSetType() |
short |
getShort() |
java.lang.String |
getString() |
java.sql.Time |
getTime() |
java.sql.Timestamp |
getTimestamp() |
static long |
getTimeZoneOffset() Returns the zime zone offset of the current calender. |
int |
getType() |
boolean |
isAssignedNull() |
boolean |
isNull() |
boolean |
isUnassignedNull() |
void |
setArrayLength(int length) |
void |
setAsDate(Variant value) |
void |
setAssignedNull() |
void |
setAsTime(Variant value) |
void |
setAsTimestamp(Variant value) |
void |
setAsVariant(Variant value) |
void |
setBigDecimal(java.math.BigDecimal val) |
void |
setBinaryStream(java.io.InputStream val) Deprecated. Use setInputStream(). |
void |
setBoolean(boolean val) |
void |
setByte(byte val) |
void |
setByteArray(byte[] val, int length) |
void |
setDate(java.sql.Date val) |
void |
setDate(long val) |
void |
setDouble(double val) |
void |
setFloat(float val) |
void |
setInputStream(java.io.InputStream val) |
void |
setInt(int val) |
void |
setLong(long val) |
void |
setNull(int nullType) |
void |
setObject(java.lang.Object val) |
void |
setShort(short val) |
void |
setString(java.lang.String val) |
void |
setTime(long val) |
void |
setTime(java.sql.Time val) |
void |
setTimestamp(long val) |
void |
setTimestamp(long val, int nanos) |
void |
setTimestamp(java.sql.Timestamp val) |
void |
setUnassignedNull() |
void |
setVariant(Variant value) |
java.lang.String |
toString() |
static int |
typeId(java.lang.String name) |
static java.lang.String |
typeName(int type) |
static int |
typeOf(java.lang.String typeName) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNASSIGNED_NULL
public static final int ASSIGNED_NULL
public static final int NULL_TYPES
public static final int BYTE
public static final int SHORT
public static final int INT
public static final int LONG
public static final int FLOAT
public static final int DOUBLE
public static final int BIGDECIMAL
public static final int BOOLEAN
public static final int BINARY_STREAM
public static final int INPUTSTREAM
public static final int DATE
public static final int TIME
public static final int TIMESTAMP
public static final int STRING
public static final int OBJECT
public static final int BYTE_ARRAY
public static final java.lang.String AssignedNull_S
public static final java.lang.String UnassignedNull_S
public static final java.lang.String ByteType_S
public static final java.lang.String ShortType_S
public static final java.lang.String IntType_S
public static final java.lang.String LongType_S
public static final java.lang.String FloatType_S
public static final java.lang.String DoubleType_S
public static final java.lang.String BigDecimalType_S
public static final java.lang.String BooleanType_S
public static final java.lang.String InputStreamType_S
public static final java.lang.String BinaryStreamType_S
public static final java.lang.String DateType_S
public static final java.lang.String TimeType_S
public static final java.lang.String TimestampType_S
public static final java.lang.String ByteArrayType_S
public static final java.lang.String StringType_S
public static final java.lang.String ObjectType_S
public static final java.lang.String UnknownType_S
public static final Variant nullVariant
public static final int MaxTypes
Constructor Detail |
---|
public Variant(int dataType)
public Variant()
Method Detail |
---|
public static java.lang.String typeName(int type)
public static int typeOf(java.lang.String typeName)
public static int typeId(java.lang.String name)
public static long getTimeZoneOffset()
public final java.lang.Object getDisplayValue()
public final int getInt()
public final short getShort()
public final byte getByte()
public final long getLong()
public final boolean getBoolean()
public final double getDouble()
public final float getFloat()
public final java.lang.String getString()
public final java.math.BigDecimal getBigDecimal()
public final java.sql.Date getDate()
public final java.sql.Time getTime()
public final java.sql.Timestamp getTimestamp()
public final byte[] getByteArray()
public final int getArrayLength()
public final java.io.InputStream getBinaryStream()
public final java.io.InputStream getInputStream()
public final void setInt(int val)
public final void setShort(short val)
public final void setByte(byte val)
public final void setLong(long val)
public final void setBoolean(boolean val)
public final void setDouble(double val)
public final void setFloat(float val)
public final void setString(java.lang.String val)
public final void setBigDecimal(java.math.BigDecimal val)
public final void setDate(java.sql.Date val)
public final void setTime(java.sql.Time val)
public final void setTimestamp(java.sql.Timestamp val)
public final void setDate(long val)
public final void setTime(long val)
public final void setTimestamp(long val, int nanos)
public final void setTimestamp(long val)
public final void setByteArray(byte[] val, int length)
public final void setArrayLength(int length)
public final void setBinaryStream(java.io.InputStream val)
public final void setInputStream(java.io.InputStream val)
public final void setVariant(Variant value)
public final void setAsVariant(Variant value)
public final void setObject(java.lang.Object val)
public final java.lang.Object getObject()
public final short getAsShort()
public final int getAsInt()
public final long getAsLong()
public final double getAsDouble()
public final float getAsFloat()
public final java.math.BigDecimal getAsBigDecimal()
public final boolean getAsBoolean()
public final void setAsTime(Variant value)
public final void setAsTimestamp(Variant value)
public final void setAsDate(Variant value)
public final void setNull(int nullType)
public final void setAssignedNull()
public final void setUnassignedNull()
public final boolean isAssignedNull()
public final boolean isUnassignedNull()
public final boolean isNull()
public final int getType()
public final int getSetType()
public final java.lang.String toString()
toString
in class java.lang.Object
public boolean equalsInstance(Variant value2)
public final boolean equals(Variant value)
public int compareTo(Variant value2)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |