return;
}
if (!value.isEmpty()) {
//Data attribute value
AttributeColumn column = container.getAttributeModel().getEdgeTable().getColumn(fore);
if (column != null) {
if (!startDate.isEmpty() || !endDate.isEmpty()) {
//Dynamic
try {
edge.addAttributeValue(column, value, startDate, endDate);
} catch (IllegalArgumentException e) {
report.logIssue(new Issue(NbBundle.getMessage(ImporterGEXF.class, "importerGEXF_error_edgeattribute_timeinterval_parseerror", edge), Issue.Level.SEVERE));
} catch (Exception e) {
report.logIssue(new Issue(NbBundle.getMessage(ImporterGEXF.class, "importerGEXF_error_datavalue", fore, edge, column.getTitle()), Issue.Level.SEVERE));
}
} else {
if (column.getType().isDynamicType()) {
edge.addAttributeValue(column, value);
} else {
try {
Object val = column.getType().parse(value);
edge.addAttributeValue(column, val);
} catch (Exception e) {
report.logIssue(new Issue(NbBundle.getMessage(ImporterGEXF.class, "importerGEXF_error_datavalue", fore, edge, column.getTitle()), Issue.Level.SEVERE));
}
}
}
}
}