writeTaskProperty(handler, "tpd7", "completion", "default", "int");
writeTaskProperty(handler, "tpd8", "coordinator", "default", "text");
writeTaskProperty(handler, "tpd9", "predecessorsr", "default", "text");
Iterator/*<CustomColumn>*/ it = customCol.getCustomColums().iterator();
while (it.hasNext()) {
final CustomColumn cc = (CustomColumn) it.next();
Object defVal = cc.getDefaultValue();
final Class cla = cc.getType();
final String valueType = encodeFieldType(cla);
if (valueType==null) {
continue;
}
if ("date".equals(valueType) && defVal!=null){
assert defVal instanceof GanttCalendar;
defVal = DateParser.getIsoDate(((GanttCalendar)defVal).getTime());
}
String idcStr = cc.getId();
writeTaskProperty(handler, idcStr, cc.getName(), "custom", valueType, defVal==null ? null : String.valueOf(defVal));
}
}