/** * Removes the {@link #listOfUnitDefinitions} from this {@link Model} and * notifies all registered instances of {@link TreeNodeChangeListener}. * * @return {@code true} if calling this method lead to a change in this * data structure. */ public boolean unsetListOfUnitDefinitions() { if (listOfUnitDefinitions != null) { ListOf<UnitDefinition> oldListOfUnitDefinitions = listOfUnitDefinitions; listOfUnitDefinitions = null; oldListOfUnitDefinitions.fireNodeRemovedEvent(); return true; } return false; }
/** * Removes the {@link #listOfCompartments} from this {@link Model} and * notifies all registered instances of {@link TreeNodeChangeListener}. * * @return {@code true} if calling this method lead to a change in this * data structure. */ public boolean unsetListOfCompartments() { if (listOfCompartments != null) { ListOf<Compartment> oldListOfCompartments = listOfCompartments; listOfCompartments = null; oldListOfCompartments.fireNodeRemovedEvent(); return true; } return false; }
/** * Removes the {@link #listOfParameters} from this {@link Model} and notifies * all registered instances of {@link TreeNodeChangeListener}. * * @return {@code true} if calling this method lead to a change in this * data structure. */ public boolean unsetListOfParameters() { if (listOfParameters != null) { ListOf<Parameter> oldListOfParameters = listOfParameters; listOfParameters = null; oldListOfParameters.fireNodeRemovedEvent(); return true; } return false; }
/** * Removes the {@link #listOfLocalParameters} from this {@link KineticLaw} and notifies * all registered instances of {@link TreeNodeChangeListener}. * * @return {@code true} if calling this method lead to a change in this * data structure. */ public boolean unsetListOfLocalParameters() { if (listOfLocalParameters != null) { ListOf<LocalParameter> oldListOfLocalParameters = listOfLocalParameters; listOfLocalParameters = null; oldListOfLocalParameters.fireNodeRemovedEvent(); return true; } return false; }
/** * Removes the {@link #listOfGroups} from this {@link Model} and notifies * all registered instances of {@link org.sbml.jsbml.util.TreeNodeChangeListener}. * * @return {@code true} if calling this method lead to a change in this * data structure. */ public boolean unsetListOfGroups() { if (listOfGroups != null) { ListOf<Group> oldListOfGroups = listOfGroups; listOfGroups = null; oldListOfGroups.fireNodeRemovedEvent(); return true; } return false; }
/** * * @return */ public boolean unsetListOfFunctionTerms() { if (isSetListOfFunctionTerms()) { ListOf<FunctionTerm> oldLoft = listOfFunctionTerms; listOfFunctionTerms = null; oldLoft.fireNodeRemovedEvent(); return true; } return false; }
/** * * @return */ public boolean unsetListOfInputs() { if (isSetListOfInputs()) { ListOf<Input> oldLoi = listOfInputs; listOfInputs = null; oldLoi.fireNodeRemovedEvent(); return true; } return false; }
/** * Sets the listOfSpeciesTypes to null * * @return {@code true} is successful */ public boolean unsetListOfSpeciesTypes() { if (isSetListOfSpeciesTypes()) { ListOf<MultiSpeciesType> oldSpeciesTypeElements = listOfSpeciesTypes; listOfSpeciesTypes = null; oldSpeciesTypeElements.fireNodeRemovedEvent(); return true; } return false; }
/** * * @return */ public boolean unsetListOfOutputs() { if (isSetListOfOutputs()) { ListOf<Output> oldLoo = listOfOutputs; listOfOutputs = null; oldLoo.fireNodeRemovedEvent(); return true; } return false; }
/** * * @return {@code true} is successful */ public boolean unsetListOfTransitions() { if (isSetListOfTransitions()) { // unregister the ids. listOfTransitions.fireNodeRemovedEvent(); listOfTransitions = null; return true; } return false; }
/** * * @return {@code true} is successful */ public boolean unsetListOfQualitativeSpecies() { if (isSetListOfQualitativeSpecies()) { // unregister the ids listOfQualitativeSpecies.fireNodeRemovedEvent(); listOfQualitativeSpecies = null; return true; } return false; }
/** * Returns {@code true}, if listOfCoordinateComponents contain at least one element, * otherwise {@code false} * * @return {@code true}, if listOfCoordinateComponents contain at least one element, * otherwise {@code false} */ public boolean unsetListOfCoordinateComponents() { if (isSetListOfCoordinateComponents()) { ListOf<CoordinateComponent> oldCoordinateComponents = listOfCoordinateComponents; listOfCoordinateComponents = null; oldCoordinateComponents.fireNodeRemovedEvent(); return true; } return false; }
/** * Returns {@code true}, if listOfDimensions contain at least one element, * otherwise {@code false}. * * @return {@code true}, if listOfDimensions contain at least one element, * otherwise {@code false}. */ public boolean unsetListOfDimensions() { if (isSetListOfDimensions()) { ListOf<Dimension> oldDimensions = listOfDimensions; listOfDimensions = null; oldDimensions.fireNodeRemovedEvent(); return true; } return false; }
/** * Returns {@code true}, if listOfSampledVolumes contain at least one element, * otherwise {@code false} * * @return {@code true}, if listOfSampledVolumes contain at least one element, * otherwise {@code false} */ public boolean unsetListOfSampledVolumes() { if (isSetListOfSampledVolumes()) { ListOf<SampledVolume> oldSampledVolumes = listOfSampledVolumes; listOfSampledVolumes = null; oldSampledVolumes.fireNodeRemovedEvent(); return true; } return false; }
/** * Returns {@code true}, if listOfGeometryDefinitions contain at least one element, * otherwise {@code false} * * @return {@code true}, if listOfGeometryDefinitions contain at least one element, * otherwise {@code false} */ public boolean unsetListOfGeometryDefinitions() { if (isSetListOfGeometryDefinitions()) { ListOf<GeometryDefinition> oldGeometryDefinitions = listOfGeometryDefinitions; listOfGeometryDefinitions = null; oldGeometryDefinitions.fireNodeRemovedEvent(); return true; } return false; }
/** * Returns {@code true} if {@link #listOfSpeciesTypeComponentIndexes} contains at least * one element, otherwise {@code false}. * * @return {@code true} if {@link #listOfSpeciesTypeComponentIndexes} contains at least * one element, otherwise {@code false}. */ public boolean unsetListOfSpeciesTypeComponentIndexes() { if (isSetListOfSpeciesTypeComponentIndexes()) { ListOf<SpeciesTypeComponentIndex> oldSpeciesTypeComponentIndexs = listOfSpeciesTypeComponentIndexes; listOfSpeciesTypeComponentIndexes = null; oldSpeciesTypeComponentIndexs.fireNodeRemovedEvent(); return true; } return false; }
/** * Returns {@code true}, if listOfModelDefinitions contain at least one element, * otherwise {@code false} * * @return {@code true}, if listOfModelDefinitions contain at least one element, * otherwise {@code false} */ public boolean unsetListOfModelDefinitions() { if (isSetListOfModelDefinitions()) { ListOf<ModelDefinition> oldModelDefinitions = listOfModelDefinitions; listOfModelDefinitions = null; oldModelDefinitions.fireNodeRemovedEvent(); return true; } return false; }
/** * Returns {@code true}, if listOfDomains contain at least one element, * otherwise {@code false} * * @return {@code true}, if listOfDomains contain at least one element, * otherwise {@code false} */ public boolean unsetListOfDomains() { if (isSetListOfDomains()) { ListOf<Domain> oldDomains = listOfDomains; listOfDomains = null; oldDomains.fireNodeRemovedEvent(); return true; } return false; }
/** * Returns {@code true}, if listOfAnalyticVolumes contain at least one element, * otherwise {@code false} * * @return {@code true}, if listOfAnalyticVolumes contain at least one element, * otherwise {@code false} */ public boolean unsetListOfAnalyticVolumes() { if (isSetListOfAnalyticVolumes()) { ListOf<AnalyticVolume> oldAnalyticVolumes = listOfAnalyticVolumes; listOfAnalyticVolumes = null; oldAnalyticVolumes.fireNodeRemovedEvent(); return true; } return false; }
/** * Returns {@code true} if {@link #listOfSubListOfSpeciesFeatures} contains at least * one element, otherwise {@code false}. * * @return {@code true} if {@link #listOfSubListOfSpeciesFeatures} contains at least * one element, otherwise {@code false}. */ public boolean unsetListOfSubListOfSpeciesFeatures() { if (isSetListOfSubListOfSpeciesFeatures()) { ListOf<SubListOfSpeciesFeature> oldSubListOfSpeciesFeatures = this.listOfSubListOfSpeciesFeatures; this.listOfSubListOfSpeciesFeatures = null; oldSubListOfSpeciesFeatures.fireNodeRemovedEvent(); return true; } return false; }