@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetVariable()) { attributes.put(TreeNodeChangeEvent.symbol, getVariable()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetResultLevel()) { attributes.put(QualConstants.shortLabel + ':' + QualConstants.resultLevel, Integer.toString(getResultLevel())); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetVariable() && getLevel() >= 2) { attributes.put("variable", getVariable()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetArrayDimension()) { attributes.remove("arrayDimension"); attributes.put(ArraysConstants.shortLabel + ":arrayDimension", ""+getArrayDimension()); } if (isSetReferencedAttribute()) { attributes.remove("referencedAttribute"); attributes.put(ArraysConstants.shortLabel + ":referencedAttribute", getReferencedAttribute()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetLevel() && (2 < getLevel())) { if (isSetInitialValue()) { attributes.put("initialValue", Boolean .toString(getInitialValue())); } if (isSetPersistent()) { attributes .put("persistent", Boolean.toString(getPersistent())); } } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetSpatialId()) { attributes.remove("id"); attributes.put(SpatialConstants.shortLabel + ":id", getSpatialId()); } if (isSetDomainType()) { attributes.remove("domainType"); attributes.put(SpatialConstants.shortLabel + ":domainType", getDomainType()); } if (isSetOrdinal()) { attributes.remove("ordinal"); attributes.put(SpatialConstants.shortLabel + ":ordinal", String.valueOf(getOrdinal())); } if (isSetFunctionType()) { attributes.remove("functionType"); attributes.put(SpatialConstants.shortLabel + ":functionType", getFunctionType().toString()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if ((getLevel() == 1) || ((getLevel() == 2) && (getVersion() == 1))) { if (isSetTimeUnits()) { attributes.put(TreeNodeChangeEvent.timeUnits, getTimeUnits()); } if (isSetSubstanceUnits()) { attributes.put(TreeNodeChangeEvent.substanceUnits, getSubstanceUnits()); } } return attributes; }