|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
waggle.core.info.XValue
public final class XValue
XValue.
Constructor Summary | |
---|---|
XValue(Object value) Construct an XValue from the given Object value. |
Method Summary | ||
---|---|---|
Object[] |
getArray() Get an object array value from the XUpdater. |
|
Boolean |
getBoolean() Get a boolean value from the XUpdater. |
|
Boolean |
getBoolean(Boolean dftValue) Get a boolean value from the XUpdater. |
|
byte[] |
getBytes() Get a byte array value from the XUpdater. |
|
byte[] |
getBytes(byte[] dftValue) Get a byte array value from the XUpdater. |
|
XClientID |
getClientID() Get an XClientID value from the XUpdater. |
|
|
getCollection(T type) Get a Collection value from the XUpdater. |
|
Collection<XObjectID> |
getCollectionObjectIDs() Get a Collection value from the XUpdater. |
|
Collection<XUpdater> |
getCollectionUpdaters() Get a Collection value from the XUpdater. |
|
Date |
getDate() Get a date value from the XUpdater. |
|
Date |
getDate(Date dftValue) Get a date value from the XUpdater. |
|
Double |
getDouble() Get a double value from the XUpdater. |
|
Double |
getDouble(Double dftValue) Get a double value from the XUpdater. |
|
|
getEnum(Class<T> enumClass) Get an enum value from the XUpdater. |
|
|
getEnum(Class<T> enumClass, T dftValue) Get an enum value from the XUpdater. |
|
|
getEnumSet(Class<T> enumClass, EnumSet<T> dftValue) Get an EnumSet value from the XUpdater. |
|
Integer |
getInteger() Get an integer value from the XUpdater. |
|
Integer |
getInteger(Integer dftValue) Get an integer value from the XUpdater. |
|
List |
getList() Get a List value from the XUpdater. |
|
Locale |
getLocale() Return a Locale. |
|
Long |
getLong() Get a long value from the XUpdater. |
|
Long |
getLong(Long dftValue) Get a long value from the XUpdater. |
|
long[] |
getLongs() Get a long array value from the XUpdater. |
|
long[] |
getLongs(long[] dftValues) Get a long array value from the XUpdater. |
|
|
getMap(T type) Get a Map value from the XUpdater. |
|
Object |
getObject() Get an Object value from the XUpdater. |
|
XObjectID |
getObjectID() Get an XObjectID value from the XUpdater. |
|
XSessionID |
getSessionID() Get an XSessionID value from the XUpdater. |
|
String |
getString() Get a string value from the XUpdater. |
|
String |
getString(String dftValue) Get a string value from the XUpdater. |
|
TimeZone |
getTimeZone() Return a TimeZone. |
|
String |
getTrimmedStringOrNullIfEmpty() Get a trimmed string value from the XUpdater. |
|
String |
getTrimmedStringOrNullIfEmpty(String dftValue) Get a trimmed string value from the XUpdater. |
|
XUpdater |
getUpdater() Get an XUpdater value from the XUpdater. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XValue(Object value)
value
- the Object valueMethod Detail |
---|
public String getString()
name
, if present; otherwise null.public String getTrimmedStringOrNullIfEmpty()
name
, if present; otherwise null.public String getString(String dftValue)
dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public String getTrimmedStringOrNullIfEmpty(String dftValue)
dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public Integer getInteger()
name
, if present; otherwise null.public Integer getInteger(Integer dftValue)
dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public Long getLong()
name
, if present; otherwise null.public Long getLong(Long dftValue)
dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public Double getDouble()
name
, if present; otherwise null.public Double getDouble(Double dftValue)
dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public Boolean getBoolean()
name
, if present; otherwise null.public Boolean getBoolean(Boolean dftValue)
dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public Date getDate()
name
, if present; otherwise null.public Date getDate(Date dftValue)
dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public long[] getLongs()
name
, if present; otherwise null.public long[] getLongs(long[] dftValues)
dftValues
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public byte[] getBytes()
name
, if present; otherwise null.public byte[] getBytes(byte[] dftValue)
dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public XObjectID getObjectID()
name
, if present; otherwise null.public XSessionID getSessionID()
name
, if present; otherwise null.public XClientID getClientID()
name
, if present; otherwise null.public <T extends Enum<T>> T getEnum(Class<T> enumClass)
T
- The type of enum to be returned.enumClass
- The class of the XUpdater enum value to return.name
, if present; otherwise null.public <T extends Enum<T>> T getEnum(Class<T> enumClass, T dftValue)
T
- The type of enum to be returned.enumClass
- The class of the XUpdater enum value to return.dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public <T extends Enum<T>> EnumSet<T> getEnumSet(Class<T> enumClass, EnumSet<T> dftValue)
T
- The type of enum entries to be returned in the EnumSet.enumClass
- The class of the XUpdater enum values to return.dftValue
- The value to return if name
is not present.name
, if present; otherwise dftValue
.public <T> T getMap(T type)
T
- The type of object in the Map.type
- The type object (may be null).name
, if present; otherwise null.public <T> T getCollection(T type)
T
- The type of object in the Collection.type
- The type object (may be null).name
, if present; otherwise null.public Collection<XUpdater> getCollectionUpdaters()
name
, if present; otherwise null.public Collection<XObjectID> getCollectionObjectIDs()
name
, if present; otherwise null.public List getList()
name
, if present; otherwise null.public Object[] getArray()
name
, if present; otherwise null.public XUpdater getUpdater()
name
, if present; otherwise null.public TimeZone getTimeZone()
public Locale getLocale()
public Object getObject()
name
, if present; otherwise null.
|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |