public interface TypeWrapper
Modifier and Type | Method and Description |
---|---|
java.lang.String |
unwrap(java.lang.Object o,
AdtMessageTranslator dt)
Convert the wrapped Object type into a string.
|
java.lang.Object |
wrap(java.lang.String s,
AdtMessageTranslator dt)
Convert the string into a wrapped object for Oracle AdtMessages
|
java.lang.String unwrap(java.lang.Object o, AdtMessageTranslator dt) throws java.lang.Exception
o
- the object to convertdt
- the AdtMessageTranslator instance.java.lang.Exception
- when an exception is encounteredjava.lang.Object wrap(java.lang.String s, AdtMessageTranslator dt) throws java.lang.Exception
s
- the string to convertdt
- the AdtMessageTranslator instance.java.lang.Exception
- when an exception is encountered