|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.sql.Datum
oracle.sql.TIMESTAMP
oracle.jbo.domain.Timestamp
oracle.jbo.domain.TimestampTZ
public class TimestampTZ
| Field Summary |
|---|
| Fields inherited from class oracle.sql.TIMESTAMP |
|---|
BUILD_DATE, SIZE_DATE, SIZE_TIMESTAMP, SIZE_TIMESTAMP_NOFRAC, TRACE |
| Constructor Summary | |
|---|---|
TimestampTZ() |
|
TimestampTZ(java.lang.String value)Creates a TimestampTZ Domain object from a Java String. |
|
TimestampTZ(java.lang.String value, boolean bConvertToUserTZ)Creates a TimestampTZ Domain object from a Java String. |
|
TimestampTZ(java.lang.String value, java.util.Calendar cal)Creates a TimestampTZ Domain object from a Java String. |
|
TimestampTZ(java.sql.Timestamp value)Creates a TimestampTZ Domain object from a JDBC Timestamp. |
|
TimestampTZ(Timestamp value)Create a TimestampTZ instance from a oracle.jbo.domain.Timestamp. |
|
TimestampTZ(java.sql.Timestamp value, boolean bConvertToUserTZ)Creates a TimestampTZ Domain object from a JDBC Timestamp. |
|
TimestampTZ(java.sql.Timestamp value, java.util.Calendar cal)Creates a TimestampTZ Domain object from a JDBC Timestamp. |
|
| Method Summary | |
|---|---|
static ORADataFactory |
getORADataFactory() |
static XMLDomainReaderFactory |
getXMLDomainFactory(java.lang.Class attrClass)Internal: Applications should not use this method. |
void |
setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)Internal: Applications should not invoke this method. |
Datum |
toDatum(java.sql.Connection conn)Internal: Applications should not invoke this method. |
java.lang.String |
toString()For testing purposes only: converts this to a textual representation. |
protected void |
validate()Implements domain validation logic and throws a JboException on error. |
| Methods inherited from class oracle.jbo.domain.Timestamp |
|---|
compareTo, dateValue, equals, getData, getNativeObject, getSerializedDomainXML, getTime, getValue, getXMLContentNode, hashCode, printXMLDefinition, toTimestamp |
| Methods inherited from class oracle.sql.TIMESTAMP |
|---|
getNanos, isConvertibleTo, makeJdbcArray, stringValue, timestampValue, timestampValue, timeValue, TimeZoneConvert, toBytes, toBytes, toBytes, toBytes, toBytes, toBytes, toBytes, toDate, toDATE, toJdbc, toString, toTime, toTimestamp, toTimestamp |
| Methods inherited from class oracle.sql.Datum |
|---|
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, byteValue, characterStreamValue, compareBytes, doubleValue, floatValue, getBytes, getLength, getStream, intValue, longValue, setBytes, setShareBytes, shareBytes, stringValue, timeValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.jbo.domain.KeyAttributeInterface |
|---|
getBytes, setBytes |
| Constructor Detail |
|---|
public TimestampTZ()
throws java.sql.SQLException
java.sql.SQLException
public TimestampTZ(java.sql.Timestamp value)
throws java.sql.SQLException
TimestampTZ Domain object from a JDBC Timestamp.
value - a TIMESTAMP SQL object.java.sql.SQLException
public TimestampTZ(java.sql.Timestamp value,
boolean bConvertToUserTZ)
TimestampTZ Domain object from a JDBC Timestamp.
value - a TIMESTAMP SQL object.bConvertToUserTZ - if this flag is true then the timestamp is converted to the user time zone. User Time zone is obtained from the ADF Context. It is typically configured in the application settings.
public TimestampTZ(java.sql.Timestamp value,
java.util.Calendar cal)
TimestampTZ Domain object from a JDBC Timestamp.
value - a TIMESTAMP SQL object.cal - converts the value to the timezone in the cal argument.
public TimestampTZ(Timestamp value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic TimestampTZ(java.lang.String value)
TimestampTZ Domain object from a Java String.
value - a textual representation of a Timestamp.
public TimestampTZ(java.lang.String value,
boolean bConvertToUserTZ)
TimestampTZ Domain object from a Java String.
value - a textual representation of a Timestamp.bConvertToUserTZ - if this flag is true then the timestamp is converted to the user time zone. User Time zone is obtained from the ADF Context. It is typically configured in the application settings.
public TimestampTZ(java.lang.String value,
java.util.Calendar cal)
TimestampTZ Domain object from a Java String.
value - a textual representation of a Timestamp.cal - converts the value to the timezone in the cal argument.| Method Detail |
|---|
protected void validate()
public static ORADataFactory getORADataFactory()
public Datum toDatum(java.sql.Connection conn)
throws java.sql.SQLException
TimestampConverts this Timestamp Domain object back into an SQL TIMESTAMP object.
toDatum in interface ORADatatoDatum in class Timestampconn - OracleConnection Not used.Datum containing TIMESTAMP object.java.sql.SQLException
public void setContext(DomainOwnerInterface owner,
Transaction trans,
java.lang.Object ctx)
TimestampsetContext in interface DomainInterfacesetContext in class Timestamppublic java.lang.String toString()
Timestampthis to a textual representation.toString in class Timestamppublic static XMLDomainReaderFactory getXMLDomainFactory(java.lang.Class attrClass)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||