Package org.sbml.jsbml.util.filters

Examples of org.sbml.jsbml.util.filters.NameFilter


   *
   * @param id
   * @return the removed element.
   */
  public Species removeSpecies(String id) {
    return getListOfSpecies().removeFirst(new NameFilter(id));
  }
View Full Code Here


   * @param id
   * @return the removed element.
   */
  @Deprecated
  public SpeciesType removeSpeciesType(String id) {
    return getListOfSpeciesTypes().removeFirst(new NameFilter(id));
  }
View Full Code Here

   *
   * @param id
   * @return the removed element.
   */
  public UnitDefinition removeUnitDefinition(String id) {
    return getListOfUnitDefinitions().removeFirst(new NameFilter(id));
  }
View Full Code Here

   * @return the {@link ModifierSpeciesReference} of the
   *         {@link #listOfModifiers} which has 'id' as id (or name depending
   *         on the level and version). Can be null if it doesn't exist.
   */
  public ModifierSpeciesReference getModifier(String id) {
    return getListOfModifiers().firstHit(new NameFilter(id));
  }
View Full Code Here

   * @return the {@link SpeciesReference} of the {@link #listOfProducts} which has 'id' as id
   *         (or name depending on the level and version). Can be null if it
   *         doesn't exist.
   */
  public SpeciesReference getProduct(String id) {
    return getListOfProducts().firstHit(new NameFilter(id));
  }
View Full Code Here

   * @return the {@link SpeciesReference} of the listOfReactants which has
   *         'id' as id (or name depending on the level and version). Can be
   *         null if it doesn't exist.
   */
  public SpeciesReference getReactant(String id) {
    return getListOfReactants().firstHit(new NameFilter(id));
  }
View Full Code Here

  /**
   *
   * @param id
   */
  public void removeGlobalRenderInformation(String id) {
    getListOfGlobalRenderInformation().removeFirst(new NameFilter(id));
  }
View Full Code Here

   * Removes an element from the listOfChangedMaths with the given id.
   *
   * @param id - the id of the {@link ChangedMath} to be removed
   */
  public void removeChangedMath(String id) {
    getListOfChangedMaths().removeFirst(new NameFilter(id));
  }
View Full Code Here

   * @return the {@link Group} that has the given id or {@code null} if no
   *         {@link Group} is found that matches {@code sbmlID}.
   */
  public SBase getGroup(String sbmlID) {
    if (isSetListOfGroups()) {
      return listOfGroups.firstHit(new NameFilter(sbmlID));
    }
    return null;
  }
View Full Code Here

   * @return the {@link ModifierSpeciesReference} of the
   *         {@link #listOfModifiers} which has 'id' as id (or name depending
   *         on the level and version). Can be null if it doesn't exist.
   */
  public ModifierSpeciesReference getModifier(String id) {
    return getListOfModifiers().firstHit(new NameFilter(id));
  }
View Full Code Here

TOP

Related Classes of org.sbml.jsbml.util.filters.NameFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.