Examples of ConceptImpl


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

     * @param name
     * @throws JAXRException
     */
    private void addChildConcept(ClassificationSchemeImpl scheme, String name)
        throws JAXRException {
        Concept c = new ConceptImpl(registryService.getLifeCycleManagerImpl());

        c.setName(new InternationalStringImpl(name));
        c.setValue(name);
        ((ConceptImpl)c).setScheme((ClassificationSchemeImpl)scheme);

        scheme.addChildConcept(c);
    }
View Full Code Here

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

                  publisherAssertionList.toArray(keyarr);
                 
                  for (int i = 0; keyarr != null && i < keyarr.length; i++) {
                    PublisherAssertion result = (PublisherAssertion) keyarr[i];
                        KeyedReference keyr = result.getKeyedReference();
                        Concept c = new ConceptImpl(getRegistryService().getBusinessLifeCycleManager());
                        c.setName(new InternationalStringImpl(keyr.getKeyName()));
                        c.setKey( new KeyImpl(keyr.getTModelKey()) );
                        c.setValue(keyr.getKeyValue());
                        association.setAssociationType(c);
                        coll.add(association.getKey());
                   }
                }
        }
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

            orgcol.add(new KeyImpl(targetKey));
            BulkResponse bl = getRegistryObjects(orgcol, LifeCycleManager.ORGANIZATION);
            Association asso = ScoutUddiJaxrHelper.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);
        }

            }
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

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

     * @param name
     * @throws JAXRException
     */
    private void addChildConcept(ClassificationSchemeImpl scheme, String name)
        throws JAXRException {
        Concept c = new ConceptImpl(registryService.getLifeCycleManagerImpl());

        c.setName(new InternationalStringImpl(name));
        c.setValue(name);
        ((ConceptImpl)c).setScheme((ClassificationSchemeImpl)scheme);

        scheme.addChildConcept(c);
    }
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

                  publisherAssertionList.toArray(keyarr);
                 
                  for (int i = 0; keyarr != null && i < keyarr.length; i++) {
                    PublisherAssertion result = (PublisherAssertion) keyarr[i];
                        KeyedReference keyr = result.getKeyedReference();
                        Concept c = new ConceptImpl(getRegistryService().getBusinessLifeCycleManager());
                        c.setName(new InternationalStringImpl(keyr.getKeyName()));
                        c.setKey( new KeyImpl(keyr.getTModelKey()) );
                        c.setValue(keyr.getKeyValue());
                        association.setAssociationType(c);
                        coll.add(association.getKey());
                   }
                }
        }
View Full Code Here

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

        }
        else if (LifeCycleManager.CLASSIFICATION_SCHEME.equals(interfaceName)) {
            return new ClassificationSchemeImpl(this);
        }
        else if (LifeCycleManager.CONCEPT.equals(interfaceName)) {
            return new ConceptImpl(this);
        }
        else if (LifeCycleManager.EMAIL_ADDRESS.equals(interfaceName)) {
            return new EmailAddressImpl();
        }
        else if (LifeCycleManager.EXTERNAL_IDENTIFIER.equals(interfaceName)) {
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.