{{tag>Programmers_Reference Appendix_A}} [<10>] ====== Appendix A: correspondence of attribute types and Java types ====== The following table lists the mapping between the //**AwareIM**// attribute types and the Java types used in certain methods such as [[ref:p_m:getattributevalue|getAttributeValue]] and ''[[ref:p_m:setattributevalue|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 []|