Examples of Association


Examples of org.dcm4che3.net.Association

            List<InstanceLocator> matches = DcmQRSCP.this.calculateMatches(keys);
            if (matches.isEmpty())
                return null;

            AAssociateRQ aarq = makeAAssociateRQ(as.getLocalAET(), moveDest, matches);
            Association storeas = openStoreAssociation(as, remote, aarq);
            BasicRetrieveTask retrieveTask = new BasicRetrieveTask(
                    Dimse.C_MOVE_RQ, as, pc, rq, matches, storeas);
            retrieveTask.setSendPendingRSPInterval(getSendPendingCMoveInterval());
            return retrieveTask;
        }
View Full Code Here

Examples of org.eclipse.bpmn2.Association

        assertTrue(definitions.getRootElements().size() == 1);
        Process process = getRootProcess(definitions);
        Task g = (Task) process.getFlowElements().get(0);
        assertEquals("task", g.getName());
        TextAnnotation textA = (TextAnnotation) process.getArtifacts().get(0);
        Association association = (Association) process.getArtifacts().get(1);
        assertEquals(g, association.getSourceRef());
        assertEquals(textA, association.getTargetRef());
        assertEquals(AssociationDirection.NONE, association.getAssociationDirection());
        definitions.eResource().save(System.out, Collections.emptyMap());
    }
View Full Code Here

Examples of org.eclipse.bpmn2.Association

        Definitions definitions = ((Definitions) unmarshaller.unmarshall(getTestJsonFile("associationOne.json"), "").getContents().get(0));
        Process process = getRootProcess(definitions);
        Task g = (Task) process.getFlowElements().get(0);
        assertEquals("task", g.getName());
        TextAnnotation textA = (TextAnnotation) process.getArtifacts().get(0);
        Association association = (Association) process.getArtifacts().get(1);
        assertEquals(g, association.getSourceRef());
        assertEquals(textA, association.getTargetRef());
        assertEquals(AssociationDirection.ONE, association.getAssociationDirection());
        definitions.eResource().save(System.out, Collections.emptyMap());
    }
View Full Code Here

Examples of org.eclipse.bpmn2.Association

        Definitions definitions = ((Definitions) unmarshaller.unmarshall(getTestJsonFile("associationBoth.json"), "").getContents().get(0));
        Process process = getRootProcess(definitions);
        Task g = (Task) process.getFlowElements().get(0);
        assertEquals("task", g.getName());
        TextAnnotation textA = (TextAnnotation) process.getArtifacts().get(0);
        Association association = (Association) process.getArtifacts().get(1);
        assertEquals(g, association.getSourceRef());
        assertEquals(textA, association.getTargetRef());
        assertEquals(AssociationDirection.BOTH, association.getAssociationDirection());
        definitions.eResource().save(System.out, Collections.emptyMap());
    }
View Full Code Here

Examples of org.eclipse.persistence.mappings.Association

    public Vector getFieldNameToMethodNameAssociations() {
        Vector associations = new Vector();
        for (Iterator source = getFieldTransformations().iterator(); source.hasNext();) {
            FieldTransformation tf = (FieldTransformation)source.next();
            if (tf instanceof MethodBasedFieldTransformation) {
                Association ass = new Association();
                ass.setKey(tf.getField().getQualifiedName());
                ass.setValue(((MethodBasedFieldTransformation)tf).getMethodName());
                associations.addElement(ass);
            }
        }
        return associations;
    }
View Full Code Here

Examples of org.eclipse.uml2.Association

    static AssociationEnd getOppositeAssociationEnd(final Property associationEnd)
    {
        Object opposite = associationEnd.getOpposite();
        if (opposite == null)
        {
            Association association = associationEnd.getAssociation();

            if (association != null)
            {
                Collection ends = association.getMemberEnds();
                for (final Iterator endIterator = ends.iterator(); endIterator.hasNext();)
                {
                    final Object end = endIterator.next();
                    if (end != null && !associationEnd.equals(end))
                    {
View Full Code Here

Examples of org.eclipse.wb.core.model.association.Association

    // when association of container is going to be executed during "refresh"
    addBroadcastListener(new EvaluationEventListener() {
      @Override
      public void evaluateBefore(EvaluationContext context, ASTNode node) throws Exception {
        if (isActive() && node instanceof Statement) {
          Association association = getContainer().getAssociation();
          if (association != null && association.getStatement() == node) {
            ensureCenterWidget();
          }
        }
      }
    });
View Full Code Here

Examples of org.expressme.openid.Association

            // but we would to to configure the provider properties through gpt.xml

            //Endpoint endpoint = manager.lookupEndpoint(provider.getAuthenticationUrl());
            Endpoint endpoint = manager.lookupEndpoint(op);

            Association association = manager.lookupAssociation(endpoint);
            request.getSession().setAttribute(ATTR_MAC,association.getRawMacKey());
            request.getSession().setAttribute(ATTR_ALIAS,endpoint.getAlias());
            url = manager.getAuthenticationUrl(endpoint,association);
          } catch (Exception e) {
            err = "Unable to determine Openid endpoint for: "+op;
            LOGGER.log(Level.SEVERE,err,e);
View Full Code Here

Examples of org.globus.workspace.network.Association

            this.persistence.replaceAssocations(new_associations);

            final Enumeration en = new_associations.keys();
            while (en.hasMoreElements()) {
                final String assocName = (String) en.nextElement();
                final Association assoc =
                        (Association) new_associations.get(assocName);
                int numEntries = 0;
                if (assoc.getEntries() != null) {
                    numEntries = assoc.getEntries().size();
                }

                if (numEntries == 1) {
                    logger.info("Network '" +
                            assocName + "' loaded with one address.");
View Full Code Here

Examples of org.hibernate.engine.profile.Association

        // resolve the style
        final Fetch.Style fetchStyle = Fetch.Style.parse( mappingFetch.getStyle() );

        // then construct the fetch instance...
        fetchProfile.addFetch( new Association( owner, mappingFetch.getAssociation() ), fetchStyle );
        ((Loadable) owner).registerAffectingFetchProfile( fetchProfile.getName() );
      }
      fetchProfiles.put( fetchProfile.getName(), fetchProfile );
    }
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.