Examples of Variable


Examples of org.sbml.jsbml.Variable

          xmlObject.setName("specie");
        } else if (sbase.getElementName().equals("speciesReference")) {
          xmlObject.setName("specieReference");
        } else if (sbase.getElementName().equals("assignementRule")) {
          AssignmentRule assignmentRule = (AssignmentRule) sbase;
          Variable variable = assignmentRule.getVariableInstance();

          if (variable instanceof Species) {
            xmlObject.setName("specieConcentrationRule");
          } else if (variable instanceof Compartment) {
            xmlObject.setName("compartmentVolumeRule");
View Full Code Here

Examples of org.semanticweb.HermiT.model.Variable

                            numberOfUnboundVariables++;
                    }
                }
                int goodness=numberOfBoundVariables*100-numberOfUnboundVariables*10;
                if (atom.getDLPredicate().getArity()==2 && numberOfUnboundVariables==1 && !m_nodeIDComparisonAtoms.isEmpty()) {
                    Variable unboundVariable=atom.getArgumentVariable(0);
                    if (m_boundVariables.contains(unboundVariable))
                        unboundVariable=atom.getArgumentVariable(1);
                    // At this point, unboundVariable must be really unbound because
                    // we have already established that numberOfUnboundVariables==1.
                    for (int compareAtomIndex=m_nodeIDComparisonAtoms.size()-1;compareAtomIndex>=0;--compareAtomIndex) {
                        Atom compareAtom=m_nodeIDComparisonAtoms.get(compareAtomIndex);
                        Variable argument0=compareAtom.getArgumentVariable(0);
                        Variable argument1=compareAtom.getArgumentVariable(1);
                        if ((m_boundVariables.contains(argument0) || unboundVariable.equals(argument0)) && (m_boundVariables.contains(argument1) || unboundVariable.equals(argument1))) {
                            goodness+=5;
                            break;
                        }
                    }
View Full Code Here

Examples of org.snmp4j.smi.Variable

      value = data.get(attribute.getName());
    }
    else {
      value = mBeanNotifyUserObject;
    }
    Variable smiValue = (Variable) valueType.clone();
    SMIVariant smiVariant = new SMIVariant(smiValue);
    value = attribute.transformFromNative(value, null);
    smiVariant.setValue(value);
    OID oid = new OID(classID);
    if (index != null) {
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.Variable

    data1.widthHint = 40;
    addButton.setLayoutData(data1);
    addButton.addSelectionListener(new SelectionAdapter() {

      public void widgetSelected(SelectionEvent e) {
        IVar property = new Variable();
        property.createNew(state);
        VarEditorDialog dialog = new VarEditorDialog(
            parentShell, property);
        if (dialog.open() == Dialog.OK) {
          state.addVar(property);
          configsViewer.refresh(true);
View Full Code Here

Examples of org.teavm.debugging.Variable

            @Override String getName(Variable value) {
                return value.getName();
            }
        });
        for (int i = 0; i < teavmVarList.size(); ++i) {
            Variable var = teavmVarList.get(i);
            newVariables[i] = new TeaVMJavaVariable(idPrefix + "." + var.getName(), debugTarget, var);
        }
        return newVariables;
    }
View Full Code Here

Examples of org.tod.meta.variables.Variable

    private void updateLocalVariable(LocalVariableWriteEvent lvw) {
        String varName = lvw.getVariable().getVariableName();
        if (!this.getTODSession().getFilter().acceptVariableName(varName)) {
            return;
        }
        Variable variableFromTOD = MirrorFactory.variableFromTOD(session, lvw);
        if (this.locals.containsKey(variableFromTOD.getName())) {
            this.locals.remove(variableFromTOD.getName());
        }
        this.locals.put(variableFromTOD.getName(), variableFromTOD);
    }
View Full Code Here

Examples of org.topbraid.spin.model.Variable

    }

    public SelectBuilder orderBy(Resource condition)
    {
  if (condition == null) throw new IllegalArgumentException("ORDER BY condition cannot be null");
  Variable var = SPINFactory.asVariable(condition);
  if (var != null && !isWhereVariable(var))
  {
      if (log.isErrorEnabled()) log.error("Variable var: {} not in the WHERE pattern", var);
      throw new IllegalArgumentException("Cannot ORDER BY variable '" + var + "' that is not specified in the WHERE pattern");
  }
  if (condition.hasProperty(SP.expression))
  {
      Variable exprVar = SPINFactory.asVariable(condition.getPropertyResourceValue(SP.expression));
      if (exprVar != null && !isWhereVariable(exprVar)) throw new IllegalArgumentException("Cannot ORDER BY variable that is not specified in the WHERE pattern");
  }
  if (log.isTraceEnabled()) log.trace("Setting ORDER BY condition: {}", condition);
 
  if (hasProperty(SP.orderBy))
View Full Code Here

Examples of org.webharvest.runtime.variables.Variable

     * @param overwrite
     */
    public void defineVariable(String varName, Object varValue, boolean overwrite) {
        ScraperContext context = scraper.getContext();
        if (overwrite || context.get(varName) == null) {
            Variable var = CommonUtil.createVariable(varValue);
            context.put(varName, var);
        }
    }
View Full Code Here

Examples of org.wikier.trioo.jtrioo.rdf.sparql.Variable

 
  private Variable x;
  private SelectQuery query;
 
  public SelectQueryGenerator() {
    this.x = new Variable("x");
    this.query = new SelectQuery();
  }
View Full Code Here

Examples of org.xtext.httprouting.route.Variable

    if (!_matched) {
      if (parent instanceof URL) {
        _matched=true;
        boolean _and = false;
        EList<Variable> _variables = ((URL)parent).getVariables();
        Variable _last = IterableExtensions.<Variable>last(_variables);
        boolean _equals = Objects.equal(_last, it);
        if (!_equals) {
          _and = false;
        } else {
          boolean _isWildcard = ((URL)parent).isWildcard();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.