public class TimeType extends DateType
In the adapter configuration file this class is aliased as oracleaq-time-type which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
TimeType() |
TimeType(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
unwrap(java.lang.Object o,
AdtMessageTranslator c)
Convert the wrapped Object type into a string.
|
java.lang.Object |
wrap(java.lang.String s,
AdtMessageTranslator c)
Convert the string into a wrapped object for Oracle AdtMessages
|
getFormatString, setFormatString
public java.lang.String unwrap(java.lang.Object o, AdtMessageTranslator c) throws java.sql.SQLException, java.io.IOException
TypeWrapper
unwrap
in interface TypeWrapper
unwrap
in class DateType
o
- the object to convertc
- the AdtMessageTranslator instance.java.sql.SQLException
java.io.IOException
TypeWrapper.unwrap(java.lang.Object, AdtMessageTranslator)
public java.lang.Object wrap(java.lang.String s, AdtMessageTranslator c) throws java.sql.SQLException, java.io.IOException, javax.jms.JMSException
TypeWrapper
wrap
in interface TypeWrapper
wrap
in class DateType
s
- the string to convertc
- the AdtMessageTranslator instance.java.sql.SQLException
java.io.IOException
javax.jms.JMSException
TypeWrapper.wrap(java.lang.String, AdtMessageTranslator)