Examples of ConceptImpl


Examples of com.sun.xml.registry.uddi.infomodel.ConceptImpl

               Collection fTModelResponse = new ArrayList();

               TModelInfos infos = list.getTModelInfos();
               //do incremental load here so can get detail
               //get each TModelInfo
               ConceptImpl concept = null;
               Collection tkeys = new ArrayList();
               Collection tinfos = infos.getTModelInfo();
               Iterator iter = tinfos.iterator();
               while (iter.hasNext()){
View Full Code Here

Examples of com.sun.xml.registry.uddi.infomodel.ConceptImpl

               }

               TModelInfos tminfos = info.getTModelInfos();
               Collection tinfos = tminfos.getTModelInfo();
               //get each TModelInfo
               ConceptImpl concept = null;
               Iterator titer = tinfos.iterator();
               while (titer.hasNext()){
                   concept = (ConceptImpl)
                           mapper.tModel2Concept((TModelInfo)titer.next());
                   //logger.finest("Transformed tmodel");
View Full Code Here

Examples of org.apache.ws.scout.registry.infomodel.ConceptImpl

        ArrayList<String> conceptStrings = typesMap.get(firstToken);
        if (!conceptStrings.contains(secondToken)) throw new IllegalArgumentException("Expected the path to " +
                "end with one of " + conceptStrings.toArray());
               
        Concept concept = new ConceptImpl(null);
        concept.setName(new InternationalStringImpl(secondToken.toLowerCase()));
        concept.setValue(secondToken);
        concept.setKey(new KeyImpl(UDDI_ORG_TYPES));
        ((ConceptImpl)concept).setScheme(((ClassificationSchemeImpl)cs));
        return concept;
    }
View Full Code Here

Examples of org.apache.ws.scout.registry.infomodel.ConceptImpl

          Collection<ExternalLink> elinks = getExternalLinks(idetails.getOverviewDoc(),lifeCycleManager);
          SpecificationLink slink = new SpecificationLinkImpl(lifeCycleManager);
          slink.addExternalLinks(elinks);
          serviceBinding.addSpecificationLink(slink);
 
          ConceptImpl c = new ConceptImpl(lifeCycleManager);
          c.setExternalLinks(elinks);
          c.setKey(lifeCycleManager.createKey(info.getTModelKey()));
          c.setName(lifeCycleManager.createInternationalString(idetails.getInstanceParms()));
          c.setValue(idetails.getInstanceParms());
 
          slink.setSpecificationObject(c);
        }
      }
    }
View Full Code Here

Examples of org.apache.ws.scout.registry.infomodel.ConceptImpl

  }

  public static Concept getConcept(TModelDetail tModelDetail, LifeCycleManager lifeCycleManager)
  throws JAXRException
  {
    Concept concept = new ConceptImpl(lifeCycleManager);
    List<TModel> tmodelList = tModelDetail.getTModel();
    for (TModel tmodel : tmodelList) {
      concept.setKey(lifeCycleManager.createKey(tmodel.getTModelKey()));
      concept.setName(lifeCycleManager.createInternationalString(getLocale(tmodel.getName().getLang()),
          tmodel.getName().getValue()));

      Description desc = getDescription(tmodel);
      if( desc != null ) {
        concept.setDescription(lifeCycleManager.createInternationalString(getLocale(desc.getLang()),
            desc.getValue()));
      }

      concept.addExternalIdentifiers(getExternalIdentifiers(tmodel.getIdentifierBag(), lifeCycleManager));
      concept.addClassifications(getClassifications(tmodel.getCategoryBag(), lifeCycleManager));
    }
    return concept;
  }
View Full Code Here

Examples of org.apache.ws.scout.registry.infomodel.ConceptImpl

  }

  public static Concept getConcept(TModel tmodel, LifeCycleManager lifeCycleManager)
  throws JAXRException
  {
    Concept concept = new ConceptImpl(lifeCycleManager);
    concept.setKey(lifeCycleManager.createKey(tmodel.getTModelKey()));
    concept.setName(lifeCycleManager.createInternationalString(getLocale(tmodel.getName().getLang()),
        tmodel.getName().getValue()));

    Description desc = getDescription(tmodel);
    if (desc != null) {
      concept.setDescription(lifeCycleManager.createInternationalString(getLocale(desc.getLang()),
          desc.getValue()));
    }

    concept.addExternalIdentifiers(getExternalIdentifiers(tmodel.getIdentifierBag(), lifeCycleManager));
    concept.addClassifications(getClassifications(tmodel.getCategoryBag(), lifeCycleManager));

    return concept;
  }
View Full Code Here

Examples of org.apache.ws.scout.registry.infomodel.ConceptImpl

  }

  public static Concept getConcept(TModel tmodel, LifeCycleManager lifeCycleManager)
  throws JAXRException
  {
    Concept concept = new ConceptImpl(lifeCycleManager);
    concept.setKey(lifeCycleManager.createKey(tmodel.getTModelKey()));
    concept.setName(lifeCycleManager.createInternationalString(getLocale(tmodel.getName().getLang()),
        tmodel.getName().getValue()));

    Description desc = getDescription(tmodel);
    if (desc != null) {
      concept.setDescription(lifeCycleManager.createInternationalString(getLocale(desc.getLang()),
          desc.getValue()));
    }

    concept.addExternalIdentifiers(getExternalIdentifiers(tmodel.getIdentifierBag(), lifeCycleManager));
    concept.addClassifications(getClassifications(tmodel.getCategoryBag(), lifeCycleManager));

    return concept;
  }
View Full Code Here

Examples of org.apache.ws.scout.registry.infomodel.ConceptImpl

  }

  public static Concept getConcept(TModelInfo tModelInfo, LifeCycleManager lifeCycleManager)
  throws JAXRException
  {
    Concept concept = new ConceptImpl(lifeCycleManager);
    concept.setKey(lifeCycleManager.createKey(tModelInfo.getTModelKey()));
    concept.setName(lifeCycleManager.createInternationalString(getLocale(tModelInfo.getName().getLang()),
        tModelInfo.getName().getValue()));

    return concept;
  }
View Full Code Here

Examples of org.apache.ws.scout.registry.infomodel.ConceptImpl

                orgcol.add(new KeyImpl(targetKey));
                BulkResponse bl = getRegistryObjects(orgcol, LifeCycleManager.ORGANIZATION);
                Association asso = ScoutUddiV3JaxrHelper.getAssociation(bl.getCollection(),
                                             registryService.getBusinessLifeCycleManager());
                KeyedReference keyr = pas.getKeyedReference();
                Concept c = new ConceptImpl(getRegistryService().getBusinessLifeCycleManager());
                c.setName(new InternationalStringImpl(keyr.getKeyName()));
                c.setKey( new KeyImpl(keyr.getTModelKey()) );
                c.setValue(keyr.getKeyValue());
                asso.setAssociationType(c);
                col.add(asso);
            }
            return new BulkResponseImpl(col);
        } catch (RegistryV3Exception e)
View Full Code Here

Examples of org.apache.ws.scout.registry.infomodel.ConceptImpl

                ((AssociationImpl)asso).setConfirmedByTargetOwner(other);

                if(confirm != Constants.COMPLETION_STATUS_COMPLETE)
                     ((AssociationImpl)asso).setConfirmed(false);

                Concept c = new ConceptImpl(getRegistryService().getBusinessLifeCycleManager());
                KeyedReference keyr = asi.getKeyedReference();
                c.setKey(new KeyImpl(keyr.getTModelKey()));
                c.setName(new InternationalStringImpl(keyr.getKeyName()));
                c.setValue(keyr.getKeyValue());
                asso.setKey(new KeyImpl(keyr.getTModelKey())); //TODO:Validate this
                asso.setAssociationType(c);
                col.add(asso);
            }
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.