}
}
private void addPropertiesFromHeader(String[] line) {
for (int i = 0; i < line.length; i++) {
ElPropertyValue elProp = descriptor.getElGetValue(line[i]);
if (elProp == null) {
throw new TextException("Property [" + line[i] + "] not found");
}
if (Types.TIME == elProp.getJdbcType()) {
addProperty(line[i], TIME_PARSER);
} else if (isDateTimeType(elProp.getJdbcType())) {
addDateTime(line[i], null, null);
} else if (elProp.isAssocProperty()) {
BeanPropertyAssocOne<?> assocOne = (BeanPropertyAssocOne<?>) elProp.getBeanProperty();
String idProp = assocOne.getBeanDescriptor().getIdBinder().getIdProperty();
addProperty(line[i] + "." + idProp);
} else {
addProperty(line[i]);
}