Package org.apache.juddi.datatype

Examples of org.apache.juddi.datatype.Name


      // execute the statement
      resultSet = statement.executeQuery();
      while (resultSet.next())
      {
        Name name = new Name();
        name.setValue(resultSet.getString(2));//("NAME"));
        name.setLanguageCode(resultSet.getString(1));//("LANG_CODE"));
        nameList.add(name);
      }

      return nameList;
    }
View Full Code Here


    BusinessService service = new BusinessService();
    service.setServiceKey("fe8af00d-3a2c-4e05-b7ca-95a1259aad4f");
    service.setBusinessKey("b8cc7266-9eed-4675-b621-34697f252a77");
    service.setBindingTemplates(bindings);
    service.setCategoryBag(catBag);
    service.addName(new Name("serviceNm"));
    service.addName(new Name("serviceNm2","en"));
    service.addDescription(new Description("service whatever"));
    service.addDescription(new Description("service whatever too","it"));

    BusinessServices services = new BusinessServices();
    services.addBusinessService(service);
    services.addBusinessService(service);

    BusinessEntity object = new BusinessEntity();
    object.setBusinessKey("6c0ac186-d36b-4b81-bd27-066a5fe0fc1f");
    object.setAuthorizedName("Guest");
    object.setOperator("jUDDI");
    object.addName(new Name("businessNm"));
    object.addName(new Name("businessNm2","en"));
    object.addDescription(new Description("business whatever"));
    object.addDescription(new Description("business whatever too","fr"));
    object.setDiscoveryURLs(discURLs);
    object.setCategoryBag(catBag);
    object.setIdentifierBag(idBag);
View Full Code Here

    BusinessService service = new BusinessService();
    service.setServiceKey("fe8af00d-3a2c-4e05-b7ca-95a1259aad4f");
    service.setBusinessKey("b8cc7266-9eed-4675-b621-34697f252a77");
    service.setBindingTemplates(bindings);
    service.setCategoryBag(catBag);
    service.addName(new Name("serviceNm"));
    service.addName(new Name("serviceNm2","en"));
    service.addDescription(new Description("service whatever"));
    service.addDescription(new Description("service whatever too","it"));

    SaveService request = new SaveService();
    request.setAuthInfo(authInfo);
View Full Code Here

  private RegistryObject getRegistryObject()
  {
    RelatedBusinessInfo object = new RelatedBusinessInfo();
    object.setBusinessKey("");
    object.setBusinessKey("6c0ac186-d36b-4b81-bd27-066a5fe0fc1f");
    object.addName(new Name("businessNm"));
    object.addName(new Name("businessNm2","en"));
    object.addDescription(new Description("business whatever"));
    object.addDescription(new Description("business whatever too","fr"));
    object.addKeyedReference(new KeyedReference("idBagKeyName","idBagkeyValue"));
    object.addKeyedReference(new KeyedReference("uuid:f78a135a-4769-4e79-8604-54d440314bc0","idBagKeyName2","idBagkeyValue2"));
View Full Code Here

    BusinessService service = new BusinessService();
    service.setServiceKey("fe8af00d-3a2c-4e05-b7ca-95a1259aad4f");
    service.setBusinessKey("b8cc7266-9eed-4675-b621-34697f252a77");
    service.setBindingTemplates(bindings);
    service.setCategoryBag(catBag);
    service.addName(new Name("serviceNm"));
    service.addName(new Name("serviceNm2","en"));
    service.addDescription(new Description("service whatever"));
    service.addDescription(new Description("service whatever too","it"));

    BusinessServices services = new BusinessServices();
    services.addBusinessService(service);
    services.addBusinessService(service);

    BusinessEntity business = new BusinessEntity();
    business.setBusinessKey("6c0ac186-d36b-4b81-bd27-066a5fe0fc1f");
    business.setAuthorizedName("Guest");
    business.setOperator("jUDDI");
    business.addName(new Name("businessNm"));
    business.addName(new Name("businessNm2","en"));
    business.addDescription(new Description("business whatever"));
    business.addDescription(new Description("business whatever too","fr"));
    business.setDiscoveryURLs(discURLs);
    business.setCategoryBag(catBag);
    business.setIdentifierBag(idBag);
View Full Code Here

    BusinessService service = new BusinessService();
    service.setServiceKey("fe8af00d-3a2c-4e05-b7ca-95a1259aad4f");
    service.setBusinessKey("b8cc7266-9eed-4675-b621-34697f252a77");
    service.setBindingTemplates(bindings);
    service.setCategoryBag(catBag);
    service.addName(new Name("serviceNm"));
    service.addName(new Name("serviceNm2","en"));
    service.addDescription(new Description("service whatever"));
    service.addDescription(new Description("service whatever too","it"));

    BusinessServices object = new BusinessServices();
    object.addBusinessService(service);
View Full Code Here

    // Child Elements
    nodeList = XMLUtils.getChildElementsByTagName(element,NameHandler.TAG_NAME);
    if (nodeList.size() > 0)
    {
      handler = maker.lookup(NameHandler.TAG_NAME);
      Name name = (Name )handler.unmarshal((Element)nodeList.elementAt(0));
      if (name != null)
        obj.setName(name);   
    }

    return obj;
View Full Code Here

    String publisherID = info.getPublisherID();
    if (publisherID != null)
      element.setAttribute("publisherID",publisherID);

    Name name = info.getName();
    if (name != null)
    {
      handler = maker.lookup(NameHandler.TAG_NAME);
      handler.marshal(name,element);
    }
View Full Code Here

      AuthToken authToken = (AuthToken)reg.execute(authTokenRequest);
      AuthInfo authInfo = authToken.getAuthInfo();

      // generate a Name Vector
      Vector nameVector = new Vector();
      nameVector.add(new Name("IBM"));
      nameVector.add(new Name("Microsoft"));

      // generate a new BusinessService
      BusinessService service = new BusinessService();
      service.setNameVector(nameVector);
     
View Full Code Here

        business.setBusinessKey(businessKey);
        business.setAuthorizedName("sviens");
        business.setOperator("WebServiceRegistry.com");

        Vector nameList = new Vector();
        nameList.add(new Name("SteveViens.com", "en"));
        nameList.add(new Name("EsephanoViens.com", "it"));
        nameList.add(new Name("AsdfJkl.com", "cy"));
        nameList.add(new Name("AsdfJkl.com"));

        String authorizedUserID = "sviens";

        // begin a new transaction
        txn.begin(connection);
View Full Code Here

TOP

Related Classes of org.apache.juddi.datatype.Name

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.