|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.sql.Datum
oracle.sql.TIMESTAMP
oracle.jbo.domain.Timestamp
oracle.jbo.domain.TimestampTZ
oracle.jbo.domain.TimestampLTZ
public class TimestampLTZ
Field Summary |
---|
Fields inherited from class oracle.sql.TIMESTAMP |
---|
BUILD_DATE, SIZE_DATE, SIZE_TIMESTAMP, SIZE_TIMESTAMP_NOFRAC, TRACE |
Constructor Summary | |
---|---|
TimestampLTZ()
|
|
TimestampLTZ(java.lang.String value)
Creates a TimestampLTZ Domain object from a
Java String . |
|
TimestampLTZ(java.lang.String value,
boolean bConvertToUserTZ)
Creates a TimestampLTZ Domain object from a
Java String . |
|
TimestampLTZ(java.lang.String value,
java.util.Calendar cal)
Creates a TimestampLTZ Domain object from a
Java String . |
|
TimestampLTZ(java.sql.Timestamp value)
Creates a TimestampLTZ Domain object from a JDBC
Timestamp . |
|
TimestampLTZ(Timestamp value)
Create a TimestampLTZ instance from a oracle.jbo.domain.Timestamp. |
|
TimestampLTZ(java.sql.Timestamp value,
boolean bConvertToUserTZ)
Creates a TimestampLTZ Domain object from a JDBC
Timestamp . |
|
TimestampLTZ(java.sql.Timestamp value,
java.util.Calendar cal)
Creates a TimestampLTZ 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 |
---|
getJavaYear, 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 TimestampLTZ() throws java.sql.SQLException
java.sql.SQLException
public TimestampLTZ(java.sql.Timestamp value) throws java.sql.SQLException
TimestampLTZ
Domain object from a JDBC
Timestamp
.
value
- a TIMESTAMP
SQL object.
java.sql.SQLException
public TimestampLTZ(java.sql.Timestamp value, boolean bConvertToUserTZ)
TimestampLTZ
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 TimestampLTZ(java.sql.Timestamp value, java.util.Calendar cal)
TimestampLTZ
Domain object from a JDBC
Timestamp
.
value
- a TIMESTAMP
SQL object.cal
- converts the value
to the timezone
in the cal
argument.public TimestampLTZ(Timestamp value) throws java.sql.SQLException
java.sql.SQLException
public TimestampLTZ(java.lang.String value)
TimestampLTZ
Domain object from a
Java String
.
value
- a textual representation of a Timestamp
.public TimestampLTZ(java.lang.String value, boolean bConvertToUserTZ)
TimestampLTZ
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 TimestampLTZ(java.lang.String value, java.util.Calendar cal)
TimestampLTZ
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()
validate
in class TimestampTZ
public static ORADataFactory getORADataFactory()
public Datum toDatum(java.sql.Connection conn) throws java.sql.SQLException
Timestamp
Converts this Timestamp
Domain object back into an
SQL TIMESTAMP
object.
toDatum
in interface ORAData
toDatum
in class TimestampTZ
conn
- OracleConnection
Not used.
Datum
containing TIMESTAMP
object.
java.sql.SQLException
public void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
Timestamp
setContext
in interface DomainInterface
setContext
in class TimestampTZ
public java.lang.String toString()
Timestamp
this
to a textual
representation.
toString
in class TimestampTZ
public static XMLDomainReaderFactory getXMLDomainFactory(java.lang.Class attrClass)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |