/** * Unsets the spatialSizeUnits of this Species * * @deprecated Only valid for SBML Level 2 Versions 1 and 2. */ @Deprecated public void unsetSpatialSizeUnits() { setSpatialSizeUnits((String) null); }
/** * Sets the spatialSizeUnitsID of this {@link Species} to the id of * 'spatialSizeUnits'. * * @param spatialSizeUnits the unit to set * @deprecated Only valid for SBML Level 2 Versions 1 and 2. * @throws PropertyNotAvailableException * for inappropriate Level/Version combinations. * @throws SBMLException * in case that {@link #hasOnlySubstanceUnits()} is set to * {@code true} or the spatial dimensions of the surrounding * compartment are zero. */ @Deprecated public void setSpatialSizeUnits(UnitDefinition spatialSizeUnits) throws PropertyNotAvailableException, SBMLException { setSpatialSizeUnits(spatialSizeUnits != null ? spatialSizeUnits.getId() : null); }
setSpatialSizeUnits(value); return true;
setSpatialSizeUnits(new String(species.getSpatialSizeUnits())); } else { spatialSizeUnitsID = species.spatialSizeUnitsID == null ? null : new String(species.spatialSizeUnitsID);