|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.data.bind.DefaultingBoundValue | +--oracle.cabo.ui.data.bind.ToDateBoundValue
BoundValue that wraps another BoundValue and returns the result of that BoundValue as a Date, if possible.
Constructor Summary | |
ToDateBoundValue(BoundValue wrapped)
Creates a ToDateBoundValue. |
|
ToDateBoundValue(BoundValue wrapped,
java.util.Date defaultValue)
Creates a ToDateBoundValue. |
Method Summary | |
static java.util.Date |
convertToDate(java.lang.Object time)
Converts an Object into a Date if possible, or returns null, if impossible. |
protected java.lang.Object |
getWrappedValue(RenderingContext context)
|
Methods inherited from class oracle.cabo.ui.data.bind.DefaultingBoundValue |
getValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ToDateBoundValue(BoundValue wrapped)
wrapped
- the BoundValue to convert into a Date.public ToDateBoundValue(BoundValue wrapped, java.util.Date defaultValue)
wrapped
- the BoundValue to convert into a Date.defaultValue
- The defualt value to use if no conversion is possibleMethod Detail |
public static java.util.Date convertToDate(java.lang.Object time)
protected java.lang.Object getWrappedValue(RenderingContext context)
getWrappedValue
in class DefaultingBoundValue
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |