@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(QualConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(QualConstants.shortLabel+ ":name", getName()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(MultiConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(MultiConstants.shortLabel+ ":name", getName()); } if (isSetOccur()) { attributes.put(MultiConstants.shortLabel+ ":" + MultiConstants.occur, occur.toString()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(MultiConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(MultiConstants.shortLabel+ ":name", getName()); } if (isSetNumericValue()) { attributes.put(MultiConstants.shortLabel+ ":" + MultiConstants.numericValue, getNumericValue()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(MultiConstants.shortLabel + ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(MultiConstants.shortLabel + ":name", getName()); } if (isSetCompartment()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.compartment, getCompartment()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetIdRef()) { attributes.put(GroupsConstants.shortLabel + ":" + GroupsConstants.idRef, idRef); } if (isSetMetaIdRef()) { attributes.put(GroupsConstants.shortLabel + ":" + GroupsConstants.metaIdRef, metaIdRef); } if (isSetId()) { attributes.remove("id"); attributes.put(GroupsConstants.shortLabel + ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(GroupsConstants.shortLabel + ":name", getName()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(ReqConstants.shortLabel + ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(ReqConstants.shortLabel + ":name", getName()); } if (isSetChangedBy()) { attributes.put(ReqConstants.shortLabel + ":" + ReqConstants.changedBy, getChangedBy()); } if (isSetViableWithoutChange()) { attributes.put(ReqConstants.shortLabel + ":" + ReqConstants.viableWithoutChange, viableWithoutChange.toString()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(GroupsConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(GroupsConstants.shortLabel+ ":name", getName()); } if (isSetKind()) { attributes.remove("kind"); attributes.put(GroupsConstants.shortLabel+ ":kind", getKind().toString()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(ArraysConstants.shortLabel + ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(ArraysConstants.shortLabel + ":name", getName()); } if (isSetArrayDimension()) { attributes.remove("arrayDimension"); attributes.put(ArraysConstants.shortLabel + ":arrayDimension", ""+getArrayDimension()); } if (isSetSize()) { attributes.remove("size"); attributes.put(ArraysConstants.shortLabel + ":size", getSize()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetReversible()) { attributes.put(TreeNodeChangeEvent.reversible, Boolean.toString(getReversible())); } if (isSetFast()) { attributes.put(TreeNodeChangeEvent.fast, Boolean.toString(getFast())); } if (2 < getLevel()) { if (isSetCompartment()) { attributes.put(TreeNodeChangeEvent.compartment, getCompartment()); } } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(MultiConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(MultiConstants.shortLabel+ ":name", getName()); } if (isSetProductSpeciesFeature()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.productSpeciesFeature, getProductSpeciesFeature()); } if (isSetReactantSpeciesFeature()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.reactantSpeciesFeature, getReactantSpeciesFeature()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(MultiConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(MultiConstants.shortLabel+ ":name", getName()); } if (isSetComponent()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.component, getComponent()); } if (isSetIndentifyingParent()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.identifyingParent, getComponent()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(GroupsConstants.shortLabel + ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(GroupsConstants.shortLabel + ":name", getName()); } if (isSetIdenticalAttribute()) { attributes.put(GroupsConstants.shortLabel + ":" + GroupsConstants.identicalAttribute, getIdenticalAttribute()); } if (isSetDistinctAttribute()) { attributes.put(GroupsConstants.shortLabel + ":" + GroupsConstants.distinctAttribute, getDistinctAttribute()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(MultiConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(MultiConstants.shortLabel+ ":name", getName()); } if (isSetBindingSite1()) { attributes.put(MultiConstants.shortLabel + ':' + MultiConstants.bindingSite1, getBindingSite1()); } if (isSetBindingSite2()) { attributes.put(MultiConstants.shortLabel + ':' + MultiConstants.bindingSite2, getBindingSite2()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(MultiConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(MultiConstants.shortLabel+ ":name", getName()); } if (isSetSpeciesType()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.speciesType, getSpeciesType()); } if (isSetCompartmentReference()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.compartmentReference, getCompartmentReference()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(MultiConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(MultiConstants.shortLabel+ ":name", getName()); } if (isSetOccur()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.occur, occur.toString()); } if (isSetSpeciesFeatureType()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.speciesFeatureType, getSpeciesFeatureType()); } if (isSetComponent()) { attributes.put(MultiConstants.shortLabel + ":" + MultiConstants.component, getComponent()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(CompConstants.shortLabel + ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(CompConstants.shortLabel + ":name", getName()); } if (isSetSource()) { attributes.put(CompConstants.shortLabel + ":" + CompConstants.source, getSource()); } if (isSetModelRef()) { attributes.put(CompConstants.shortLabel + ":" + CompConstants.modelRef, getModelRef()); } if (isSetMd5()) { attributes.put(CompConstants.shortLabel + ":" + CompConstants.md5, getMd5()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(QualConstants.shortLabel+ ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(QualConstants.shortLabel+ ":name", getName()); } if (isSetQualitativeSpecies()) { attributes.put(QualConstants.shortLabel+ ':' + QualConstants.qualitativeSpecies, getQualitativeSpecies()); } if (isSetOutputLevel()) { attributes.put(QualConstants.shortLabel+ ':' + QualConstants.outputLevel, Integer.toString(getOutputLevel())); } if (isSetTransitionEffect()) { attributes.put(QualConstants.shortLabel+ ':' + QualConstants.transitionEffect, getTransitionEffect().toString()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetId()) { attributes.remove("id"); attributes.put(CompConstants.shortLabel + ":id", getId()); } if (isSetName()) { attributes.remove("name"); attributes.put(CompConstants.shortLabel + ":name", getName()); } if (isSetModelRef()) { attributes.put(CompConstants.shortLabel + ":" + CompConstants.modelRef, getModelRef()); } if (isSetTimeConversionFactor()) { attributes.put(CompConstants.shortLabel + ":" + CompConstants.timeConversionFactor, getTimeConversionFactor()); } if (isSetExtentConversionFactor()) { attributes.put(CompConstants.shortLabel + ":" + CompConstants.extentConversionFactor, getExtentConversionFactor()); } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (isSetSpecies()) { if (((getLevel() == 1) && (getVersion() == 2)) || (getLevel() > 1)) { attributes.put("species", getSpecies()); } else if ((getLevel() == 1) && (getVersion() == 1)) { attributes.put("specie", getSpecies()); } } return attributes; }
@Override public Map<String, String> writeXMLAttributes() { Map<String, String> attributes = super.writeXMLAttributes(); if (getLevel() > 2) { if (isSetSubstanceUnits()) { attributes.put("substanceUnits", getSubstanceUnits()); } if (isSetTimeUnits()) { attributes.put("timeUnits", getTimeUnits()); } if (isSetVolumeUnits()) { attributes.put("volumeUnits", getVolumeUnits()); } if (isSetAreaUnits()) { attributes.put("areaUnits", getAreaUnits()); } if (isSetLengthUnits()) { attributes.put("lengthUnits", getLengthUnits()); } if (isSetExtentUnits()) { attributes.put("extentUnits", getExtentUnits()); } if (isSetConversionFactor()) { attributes.put("conversionFactor", getConversionFactor()); } } return attributes; }