Examples of ConceptImpl


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

                  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);
                }
            }
            return new BulkResponseImpl(col);
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

        }
        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

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

                this.createInternationalString(desc));
    }

    public Concept createConcept(RegistryObject parent, InternationalString name, String value)
            throws JAXRException {
        ConceptImpl concept = new ConceptImpl(this);
        concept.setClassificationScheme((ClassificationScheme) parent);
        concept.setParent(parent);
        concept.setName(name);
        concept.setValue(value);
        return concept;
    }
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.