/** * Create a new type info. */ public TypeInfo(XMLInfo xmlinfo, ObjectInfo objectinfo, MappingInfo mapinfo, LinkingInfo linkinfo, IObjectReaderHandler readerhandler) { super(xmlinfo); this.objectinfo = objectinfo; this.mapinfo = mapinfo; this.linkinfo = linkinfo; this.readerhandler = readerhandler; if(mapinfo!=null && mapinfo.getAttributeInfos()!=null) this.attributeinfos = createAttributeInfos(mapinfo.getAttributeInfos()); if(mapinfo!=null && mapinfo.getSubobjectInfos()!=null) this.subobjectinfoswrite = createSubobjectInfosWrite(mapinfo.getSubobjectInfos()); this.subobjectinfosread = createSubobjectInfosRead(mapinfo==null? null: mapinfo.getSubobjectInfos()); }