Examples of NameValue


Examples of com.aneeshpu.dpdeppop.schema.NameValue

            final Column column = stringColumnEntry.getValue();
            if (column.isAutoIncrement()) {
                continue;
            }

            final NameValue nameValue = column.nameValue(preassignedValues);

            //TODO:Push the formattedName and formattedValue method into Column
            columnNamesPartOfQuery.append(nameValue.formattedName());
            valuesPartOfQuery.append(nameValue.formattedValue());
        }

        columnNamesPartOfQuery.deleteCharAt(columnNamesPartOfQuery.length() - 1);
        valuesPartOfQuery.deleteCharAt(valuesPartOfQuery.length() - 1);
View Full Code Here

Examples of com.edugility.nomen.NameValue

      final AbstractNamed owner = (AbstractNamed)this.named;
      if (value == null) {
        // remove
        owner.removeName(this.nameType);
      } else {
        NameValue nv = null;
        if (value instanceof NameValue) {
          nv = (NameValue)value;
        } else if (value instanceof String) {
          nv = NameValue.valueOf((String)value, false, " ");
        } else if (value instanceof Name) {
View Full Code Here

Examples of com.ngt.jopenmetaverse.shared.protocol.NameValue

                                lastName = (string)NameValues[i].Value;*/
    // ********************************************************************

    A.NameValues = new NameValue[3];

    NameValue First = new NameValue();
    First.Name = "FirstName";
    First.Type = NameValue.ValueType.String;
    First.Value = tex.get("first_name").asString();

    NameValue Last = new NameValue();
    Last.Name = "LastName";
    Last.Type = NameValue.ValueType.String;
    Last.Value = tex.get("last_name").asString();

    // ***************From Code Above***************
    // if (NameValues[i].Name == "Title" && NameValues[i].Type == NameValue.ValueType.String)
    // *********************************************

    NameValue Group = new NameValue();
    Group.Name = "Title";
    Group.Type = NameValue.ValueType.String;
    Group.Value = tex.get("group_name").asString();


View Full Code Here

Examples of edu.indiana.extreme.xbaya.WorkflowInterpretorStub.NameValue

   
    String workflowAsString = getWorkflow();
    Workflow workflow = new Workflow(workflowAsString);
   
    NameValue[] configurations = new NameValue[2];
    configurations[0] = new NameValue();
    configurations[0].setName(Main.GFAC);
    configurations[0].setValue(XBayaConstants.DEFAULT_GFAC_URL.toString());
    configurations[1] = new NameValue();
    configurations[1].setName(Main.XREGISTRY);
    configurations[1].setValue(XBayaConstants.DEFAULT_XREGISTRY_URL.toString());
    //set more like dsc ets look at constants in Main
   
    NameValue[] inputs = new NameValue[1];
    inputs[0] = new NameValue();
    inputs[0].setName("input");
    inputs[0].setValue("myechoString");
   
   
   
View Full Code Here

Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpretorStub.NameValue

          }
          try {

            WorkflowInterpretorStub stub = new WorkflowInterpretorStub("http://silktree.cs.indiana.edu:18080/axis2/services/WorkflowInterpretor?wsdl");
            NameValue[] configurations = new NameValue[6];
            configurations[0] = new NameValue();
            configurations[0].setName(HeaderConstants.HEADER_ELEMENT_GFAC);
            configurations[0].setValue(engine.getConfiguration().getGFacURL().toString());
            configurations[1] = new NameValue();
            configurations[1].setName(HeaderConstants.HEADER_ELEMENT_XREGISTRY);
            if (null == engine.getConfiguration().getXRegistryURL()) {
              configurations[1].setValue(XBayaConstants.DEFAULT_XREGISTRY_URL.toString());
            } else {
              configurations[1].setValue(engine.getConfiguration().getXRegistryURL().toString());
            }
            configurations[2] = new NameValue();
            configurations[2].setName(HeaderConstants.HEADER_ELEMENT_PROXYSERVER);
            configurations[2].setValue(engine.getConfiguration().getMyProxyServer());

            configurations[3] = new NameValue();
            configurations[3].setName(HeaderConstants.HEADER_ELEMENT_BROKER);
            configurations[3].setValue(engine.getConfiguration().getBrokerURL().toString());

            configurations[4] = new NameValue();
            configurations[4].setName(HeaderConstants.HEADER_ELEMENT_MSGBOX);
            configurations[4].setValue(engine.getConfiguration().getMessageBoxURL().toString());

            configurations[5] = new NameValue();
            configurations[5].setName(HeaderConstants.HEADER_ELEMENT_DSC);
            configurations[5].setValue(engine.getConfiguration().getDSCURL().toString());

            NameValue[] inputNameVals = new NameValue[inputNodes.size()];
            for (int i = 0; i < inputNodes.size(); i++) {
              inputNameVals[i] = new NameValue();
              InputNode inputNode = inputNodes.get(i);
              String id = inputNode.getID();
              String value = inputNode.getDefaultValue().toString();
              inputNameVals[i].setName(id);
              inputNameVals[i].setValue(value);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpretorStub.NameValue

        try {
                 
          WorkflowInterpretorStub stub = new WorkflowInterpretorStub(
              engine.getConfiguration().getWorkflowInterpreterURL().toString());
          NameValue[] configurations = new NameValue[6];
          configurations[0] = new NameValue();
          configurations[0]
              .setName(HeaderConstants.HEADER_ELEMENT_GFAC);
          configurations[0].setValue(engine.getConfiguration()
              .getGFacURL().toString());
          configurations[1] = new NameValue();
          configurations[1]
              .setName(HeaderConstants.HEADER_ELEMENT_XREGISTRY);
          if (null == engine.getConfiguration().getXRegistryURL()) {
            configurations[1]
                .setValue(XBayaConstants.DEFAULT_XREGISTRY_URL
                    .toString());
          } else {
            configurations[1].setValue(engine
                .getConfiguration().getXRegistryURL()
                .toString());
          }
          configurations[2] = new NameValue();
          configurations[2]
              .setName(HeaderConstants.HEADER_ELEMENT_PROXYSERVER);
          configurations[2].setValue(engine.getConfiguration()
              .getMyProxyServer());

          configurations[3] = new NameValue();
          configurations[3]
              .setName(HeaderConstants.HEADER_ELEMENT_BROKER);
          configurations[3].setValue(engine.getConfiguration()
              .getBrokerURL().toString());

          configurations[4] = new NameValue();
          configurations[4]
              .setName(HeaderConstants.HEADER_ELEMENT_MSGBOX);
          configurations[4].setValue(engine.getConfiguration()
              .getMessageBoxURL().toString());

          configurations[5] = new NameValue();
          configurations[5]
              .setName(HeaderConstants.HEADER_ELEMENT_DSC);
          configurations[5].setValue(engine.getConfiguration()
              .getDSCURL().toString());

          NameValue[] inputNameVals = new NameValue[inputNodes
              .size()];
          for (int i = 0; i < inputNodes.size(); i++) {
            inputNameVals[i] = new NameValue();
            InputNode inputNode = inputNodes.get(i);
            String id = inputNode.getID();
            String value = inputNode.getDefaultValue().toString();
            inputNameVals[i].setName(id);
            inputNameVals[i].setValue(value);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpretorStub.NameValue

  public void invoke( Workflow workflow, String serverURL, String userName, String password, String topic) throws AxisFault, RemoteException, ComponentException {

    String workflowAsString = workflow.toXMLText();
    NameValue[] configurations = new NameValue[7];
    configurations[0] = new NameValue();
    configurations[0].setName(HEADER_ELEMENT_GFAC);
    configurations[0].setValue(XBayaConstants.DEFAULT_GFAC_URL.toString());
    configurations[1] = new NameValue();
    configurations[1].setName(HEADER_ELEMENT_XREGISTRY);
      configurations[1].setValue(XBayaConstants.DEFAULT_XREGISTRY_URL.toString());
    configurations[2] = new NameValue();
    configurations[2].setName(HEADER_ELEMENT_PROXYSERVER);
    configurations[2].setValue(XBayaConstants.DEFAULT_MYPROXY_SERVER);
    configurations[3] = new NameValue();
    configurations[3].setName(HEADER_ELEMENT_MYLEAD);
    configurations[3].setValue(XBayaConstants.DEFAULT_MYLEAD_AGENT_URL.toString());
   
    configurations[4] = new NameValue();
    configurations[4].setName(HEADER_ELEMENT_MSGBOX);
    configurations[4].setValue(XBayaConstants.DEFAULT_MESSAGE_BOX_URL.toString());
   
    configurations[5] = new NameValue();
    configurations[5].setName(HEADER_ELEMENT_DSC);
    configurations[5].setValue(XBayaConstants.DEFAULT_DSC_URL.toString());
   
    configurations[6] = new NameValue();
    configurations[6].setName(HEADER_ELEMENT_BROKER);
    configurations[6].setValue(XBayaConstants.DEFAULT_BROKER_URL.toString());
   
    LinkedList<NameValue> nameValPairsList = new LinkedList<NameValue>();
    List<InputNode> wfInputs = new ODEClient().getInputNodes(workflow);
    for (InputNode node : wfInputs) {
      NameValue nameValue = new NameValue();
      nameValue.setName(node.getName());
      nameValue.setValue(node.getDefaultValue().toString());
    }

    new WorkflowInterpretorStub(serverURL)
        .launchWorkflow(workflowAsString, topic, password,
            userName , nameValPairsList.toArray(new NameValue[0]), configurations);
View Full Code Here

Examples of edu.stanford.nlp.sempre.NameValue

      String typesStr = entityTypesCache.get(id);
      if (typesStr != null) {
        for (String type : typesStr.split(","))
          types.add(type);
      }
      entities.add(new EntityLexicalEntry(query, query, Collections.singleton(e.name), new ValueFormula<NameValue>(new NameValue(id, e.name)), EntrySource.FBSEARCH, e.score, distance, types, tokenEditDistanceFeatures));
    }
    return entities;
  }
View Full Code Here

Examples of gov.nist.core.NameValue

  public void setTTL(int ttl) throws InvalidArgumentException {
    if (ttl < 0 && ttl != -1)
      throw new InvalidArgumentException(
        "JAIN-SIP Exception"
          + ", Via, setTTL(), the ttl parameter is < 0");
    setParameter(new NameValue(ParameterNames.TTL, new Integer(ttl)));
  }
View Full Code Here

Examples of gov.nist.core.NameValue

        "JAIN-SIP Exception, "
          + "Via, setMAddr(), the mAddr parameter is null.");

    Host host = new Host();
    host.setAddress(mAddr);
    NameValue nameValue = new NameValue(ParameterNames.MADDR, host);
    setParameter(nameValue);

  }
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.