/** * Sets the outsideID of this compartment to {@code null}. * * @deprecated since Level 3 Version 1 */ @Deprecated public void unsetOutside() { setOutside((String) null); }
/** * Sets the outsideID of this compartment to the id of 'outside'. * * @param outside * @sbml.deprecated Level 3 Version 1 */ @Deprecated public void setOutside(Compartment outside) { setOutside(outside != null ? outside.getId() : null); }
setOutside(new String(compartment.getOutside())); } else { outsideID = compartment.outsideID == null ? null
@Override public boolean readAttribute(String attributeName, String prefix, String value) { boolean isAttributeRead = super.readAttribute(attributeName, prefix, value); if (!isAttributeRead) { isAttributeRead = true; if (attributeName.equals("spatialDimensions")) { setSpatialDimensions(StringTools.parseSBMLDouble(value)); } else if (attributeName.equals("units")) { setUnits(value); } else if (attributeName.equals("size")) { setSize(StringTools.parseSBMLDouble(value)); } else if (attributeName.equals("volume")) { setVolume(StringTools.parseSBMLDouble(value)); } else if (attributeName.equals("compartmentType")) { setCompartmentType(value); } else if (attributeName.equals("outside")) { setOutside(value); } else if (attributeName.equals("constant")) { setConstant(StringTools.parseSBMLBoolean(value)); } else { isAttributeRead = false; } } return isAttributeRead; }