/** * @param idx * @return com.zt.db.RecordMetaData * @roseuid 3E5D800400FF */ public RecordMetaData getMetaData(int idx) { Collection cl = metadata.values(); for (Iterator it = cl.iterator(); it.hasNext(); ) { RecordMetaData rmd = (RecordMetaData) it.next(); if (rmd.getSeqno() == idx) return rmd; } return null; }
/** * 返回制定栏位的序号 * * @param name * @return int * @roseuid 3E5D8A2B00D4 */ public int findColumn(String name) { RecordMetaData rmd = (RecordMetaData) metadata.get(name); return rmd.getSeqno(); }