* @param config
* @throws MException
*/
public static void fillColumns(CaoMetadata meta, IConfig config) throws MException {
for (CaoMetaDefinition m : meta) {
IConfig cM = config.createConfig("column");
cM.setProperty("name", m.getName());
cM.setProperty("type", m.getType().toString() );
if (m.getNls() != null)
cM.setProperty("nls", m.getNls());
if (m.getSize() > 0)
cM.setProperty("size", String.valueOf(m.getSize()) );
if(m.getCategories() != null)
cM.setProperty("categories", MString.join(m.getCategories(),',') );
}
}