The following table lists the mapping between the AwareIM attribute types and the Java types used in certain methods such as getAttributeValue and setAttributeValue
of the IObject interface.
Attribute Type | Java Type |
---|---|
Plain Text | String |
Number | Long or Double depending on the format of the Number |
Date | org.openadaptor.util.DateHolder |
Timestamp | org.openadaptor.util.DateTimeHolder |
Duration | com.bas.utils.Duration |
Yes/No | Boolean |
Document or Picture | org.openadaptor.dataobjects.DataObject with the following sub-attributes:* DOCDATA (Binary)* DOCTYPE (Plain Text) |
Binary | byte [] |