/** * Gets the volume of this Compartment * This method is identical to getSize(). In SBML Level 1, compartments are * always three-dimensional constructs and only have volumes, whereas in * SBML Level 2, compartments may be other than three-dimensional and * therefore the 'volume' attribute is named 'size' in Level 2. LibSBML * provides both getSize() and getVolume() for easier compatibility between * SBML Levels. * * @return the volume of this {@link Compartment} * @deprecated The volume attribute is only defined in SBML Level 1. Please * use {@link #getSize()}. */ @Deprecated public double getVolume() { return getSize(); }
attributes.put("size", StringTools.toString(en, getSize()));
concept.createAttribute(sizeA, compartment.getSize(), false);
concept.createAttribute(sizeA, compartment.getSize(), false);