Package org.apache.ws.scout.uddi

Examples of org.apache.ws.scout.uddi.TModelInstanceInfo$Factory


     
      TModelInstanceDetails details = bs.getTModelInstanceDetails();
      TModelInstanceInfo[] tmodelInstanceInfoArray = details.getTModelInstanceInfoArray();
      for (int i = 0; tmodelInstanceInfoArray != null && i < tmodelInstanceInfoArray.length; i++)
      {
         TModelInstanceInfo info = (TModelInstanceInfo)tmodelInstanceInfoArray[i];
         if (info!=null && info.getInstanceDetails()!=null) {
           InstanceDetails idetails = info.getInstanceDetails();
           Collection<ExternalLink> elinks = getExternalLinks(idetails.getOverviewDoc(),lcm);
           SpecificationLink slink = new SpecificationLinkImpl(lcm);
           slink.addExternalLinks(elinks);
           serviceBinding.addSpecificationLink(slink);
          
           ConceptImpl c = new ConceptImpl(lcm);
           c.setExternalLinks(elinks);
           c.setKey(lcm.createKey(info.getTModelKey()));
           c.setName(lcm.createInternationalString(idetails.getInstanceParms()));
           c.setValue(idetails.getInstanceParms());
          
           slink.setSpecificationObject(c);
         }
View Full Code Here


      if (slcol != null && !slcol.isEmpty()) {
              Iterator<SpecificationLink> iter = slcol.iterator();
        while (iter.hasNext()) {
          SpecificationLink slink = (SpecificationLink) iter.next();

          TModelInstanceInfo emptyTInfo = tid
              .addNewTModelInstanceInfo();

                    RegistryObject specificationObject = slink.getSpecificationObject();
          if (specificationObject.getKey() != null && specificationObject.getKey().getId() != null) {
            emptyTInfo.setTModelKey(specificationObject.getKey().getId());
                        if (specificationObject.getDescription()!=null) {
                            for (LocalizedString locDesc : specificationObject.getDescription().getLocalizedStrings()) {
                                Description description = emptyTInfo.addNewDescription();
                                description.setStringValue(locDesc.getValue());
                                description.setLang(locDesc.getLocale().getLanguage());
                            }
                        }
                        Collection<ExternalLink> externalLinks = slink.getExternalLinks();
                        if (externalLinks!=null && externalLinks.size()>0) {
                            for (ExternalLink link : externalLinks) {
                                InstanceDetails ids = emptyTInfo.addNewInstanceDetails();
                                if (link.getDescription()!=null) {
                                    Description description = ids.addNewDescription();
                                    description.setStringValue(link.getDescription().getValue());
                                }
                                if (link.getExternalURI()!=null) {
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.uddi.TModelInstanceInfo$Factory

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.