public ValueObject getNewValue() { if (this.ignoreColumn()) { return null; } else { return templateValue.cloneValueless(); } }
@Override public String toString() { if (type.compareTo(DATA_COLUMN_TYPE) == 0 && templateValue != null) { return templateValue.toString(); } else { return type; } }
public Element getSettingsXml() { Element e = new Element(COLUMN_TAG); // e.setAttribute("index",Integer.toString(index)); e.addContent(new Element(COLUMN_TYPE_TAG).setText(type)); if (type.compareToIgnoreCase(IGNORE_COLUMN_TYPE) != 0) { e.addContent(templateValue.getMetadataXml()); } return e; }