Package org.sbml.jsbml.util.filters

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


   *         {@code variable} as identifier (or name depending on the level
   *         and version). {@code null} if it doesn't exist.
   */
  public InitialAssignment getInitialAssignment(String variable) {
    return getListOfInitialAssignments().firstHit(
      new AssignmentVariableFilter(variable));
  }
View Full Code Here


   *
   * @param variable
   * @return {@code null} if no element with the required property exists.
   */
  public ExplicitRule getRule(String variable) {
    Rule rule = listOfRules.firstHit(new AssignmentVariableFilter(variable));
    return (rule != null) && (rule instanceof ExplicitRule) ? (ExplicitRule) rule
        : null;
  }
View Full Code Here

   * @param variableId
   * @return the removed element.
   */
  public Rule removeRule(String variableId) {
    return getListOfRules().removeFirst(
      new AssignmentVariableFilter(variableId));
  }
View Full Code Here

   *         <code>variable</code> as identifier (or name depending on the level
   *         and version). Null if it doesn't exist.
   */
  public InitialAssignment getInitialAssignment(String variable) {
    return getListOfInitialAssignments().firstHit(
      new AssignmentVariableFilter(variable));
  }
View Full Code Here

   *
   * @param variable
   * @return Null if no element with the required property exists.
   */
  public ExplicitRule getRule(String variable) {
    Rule rule = listOfRules.firstHit(new AssignmentVariableFilter(variable));
    return (rule != null) && (rule instanceof ExplicitRule) ? (ExplicitRule) rule
        : null;
  }
View Full Code Here

   * @param variableId
   * @return the removed element.
   */
  public Rule removeRule(String variableId) {
    return getListOfRules().removeFirst(
      new AssignmentVariableFilter(variableId));
  }
View Full Code Here

   *         <code>variable</code> as identifier (or name depending on the level
   *         and version). Null if it doesn't exist.
   */
  public InitialAssignment getInitialAssignment(String variable) {
    return getListOfInitialAssignments().firstHit(
      new AssignmentVariableFilter(variable));
  }
View Full Code Here

   *
   * @param variable
   * @return Null if no element with the required property exists.
   */
  public ExplicitRule getRule(String variable) {
    Rule rule = listOfRules.firstHit(new AssignmentVariableFilter(variable));
    return (rule != null) && (rule instanceof ExplicitRule) ? (ExplicitRule) rule
        : null;
  }
View Full Code Here

   * @param variableId
   * @return the removed element.
   */
  public Rule removeRule(String variableId) {
    return getListOfRules().removeFirst(
      new AssignmentVariableFilter(variableId));
  }
View Full Code Here

TOP

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

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.