Examples of RelationshipType


Examples of com.arjuna.webservices.wsaddr.RelationshipType

        throws Exception
    {
        final String messageId = "123456" ;
        final String relatesTo = "testResponse" ;
        final AddressingContext addressingContext = AddressingContext.createRequestContext(registrationRequesterService, messageId) ;
        addressingContext.addRelatesTo(new RelationshipType(relatesTo)) ;
       
        final EndpointReferenceType coordinationProtocolService = new EndpointReferenceType(new AttributedURIType("http://foo.example.org/bar")) ;
       
        final TestRegistrationRequesterCallback callback = new TestRegistrationRequesterCallback() {
            public void registerResponse(final RegisterResponseType registerResponse, final AddressingContext addressingContext)
View Full Code Here

Examples of com.arjuna.webservices.wsaddr.RelationshipType

    {
        final String messageId = "123456" ;
        final String relatesTo = "testResponse" ;
        final String reason = "testResponseReason" ;
        final AddressingContext addressingContext = AddressingContext.createRequestContext(registrationRequesterService, messageId) ;
        addressingContext.addRelatesTo(new RelationshipType(relatesTo)) ;
       
        final SoapFaultType soapFaultType = SoapFaultType.FAULT_SENDER ;
        final QName subcode = CoordinationConstants.WSCOOR_ERROR_CODE_ALREADY_REGISTERED_QNAME ;
        final SoapFault soapFault = new SoapFault10(soapFaultType, subcode, reason) ;
       
View Full Code Here

Examples of com.arjuna.webservices.wsaddr.RelationshipType

            final AddressingContext responseAddressingContext = AddressingContext.createRequestContext(addressingContext.getFrom(), responseMessageId) ;

            final AttributedURIType requestMessageId = addressingContext.getMessageID() ;
            if (requestMessageId != null)
            {
                responseAddressingContext.addRelatesTo(new RelationshipType(requestMessageId.getValue())) ;
            }
            final String messageId = MessageId.getMessageId();
            final AddressingContext faultAddressingContext = AddressingContext.createFaultContext(addressingContext, messageId) ;
            try
            {
View Full Code Here

Examples of com.arjuna.webservices.wsaddr.RelationshipType

        final InstanceIdentifier instanceIdentifier = arjunaContext.getInstanceIdentifier() ;
       
        final AttributedURIType requestMessageId = addressingContext.getMessageID() ;
        if (requestMessageId != null)
        {
            responseAddressingContext.addRelatesTo(new RelationshipType(requestMessageId.getValue())) ;
        }
       
        try
        {
            final String message = WSTLogger.log_mesg.getString("com.arjuna.wst.messaging.CoordinatorProcessorImpl.sendInvalidState_1") ;
View Full Code Here

Examples of com.buschmais.xo.neo4j.impl.datastore.metadata.RelationshipType

        return Relationship.class.isAssignableFrom(o.getClass());
    }

    @Override
    public RelationshipType getRelationDiscriminator(Relationship relationship) {
        return new RelationshipType(relationship.getType());
    }
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.RelationshipType

    private void processRelation(CMSObject node,
                                 Relationship relation,
                                 MappingEngine engine,
                                 CMISNodeTypeLifter lifter) {
        OntologyResourceHelper orh = engine.getOntologyResourceHelper();
        RelationshipType type = (RelationshipType) relation.getType();
        lifter.createObjectPropertyDefForRelationshipTypes(Arrays.asList(new RelationshipType[] {type}));
        OntProperty prop = orh.getDatatypePropertyByReference(type.getId());
        Individual ind = orh.getIndividualByReference(node.getUniqueRef());
        Individual target = orh.getIndividualByReference(relation.getTarget().getId());
        ind.addProperty(prop, target);
        log.debug("Added triple by relationship processor, {}, {}, {}",
            new Object[] {ind.getURI(), prop.getURI(), target.getURI()});
View Full Code Here

Examples of org.apache.falcon.metadata.RelationshipType

        Map<String, String> vertexProperties = new HashMap<String, String>();
        for (String key : vertex.getPropertyKeys()) {
            vertexProperties.put(key, vertex.<String>getProperty(key));
        }

        RelationshipType vertexType = RelationshipType.fromString(
                vertex.<String>getProperty(RelationshipProperty.TYPE.getName()));
        // get the properties from relationships
        if (captureRelationships && (vertexType == RelationshipType.FEED_INSTANCE
                || vertexType == RelationshipType.PROCESS_INSTANCE)) {
            for (Edge edge : vertex.getEdges(Direction.OUT)) {
View Full Code Here

Examples of org.apache.falcon.metadata.RelationshipType

    }

    private void addRelationships(RelationshipType fromVertexType, Vertex toVertex,
                                  Map<String, String> vertexProperties) {
        String value = toVertex.getProperty(RelationshipProperty.NAME.getName());
        RelationshipType toVertexType = RelationshipType.fromString(
                toVertex.<String>getProperty(RelationshipProperty.TYPE.getName()));

        switch (toVertexType) {
        case CLUSTER_ENTITY:
            String key = fromVertexType == RelationshipType.FEED_INSTANCE
View Full Code Here

Examples of org.apache.falcon.metadata.RelationshipType

    private void addEntityRelationships(Vertex vertex, Map<String, String> vertexProperties) {
        for (Edge edge : vertex.getEdges(Direction.OUT)) {
            Vertex toVertex = edge.getVertex(Direction.IN);
            String value = toVertex.getProperty(RelationshipProperty.NAME.getName());
            RelationshipType toVertexType = RelationshipType.fromString(
                    toVertex.<String>getProperty(RelationshipProperty.TYPE.getName()));

            switch (toVertexType) {
            case TAGS:
                vertexProperties.put(edge.getLabel(), value);
View Full Code Here

Examples of org.apache.muse.ws.dm.muws.RelationshipType

        throws BaseFault
    {
        String name = XmlUtils.getElementText(xml, MuwsConstants.NAME_QNAME);
       
        Element typeXML = XmlUtils.getElement(xml, MuwsConstants.TYPE_QNAME);
        RelationshipType type = new SimpleRelationshipType(typeXML);
       
        Element[] participantsXML = XmlUtils.getElements(xml, MuwsConstants.PARTICIPANT_QNAME);
        Participant[] participants = new SimpleParticipant[participantsXML.length];
       
        for (int n = 0; n < participantsXML.length; ++n)
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.