Package nl.clockwork.mule.ebms.model.cpp.cpa

Examples of nl.clockwork.mule.ebms.model.cpp.cpa.CollaborationRole


          for (CanSend canSend : role.getServiceBinding().getCanSend())
            if (action.equals(canSend.getThisPartyActionBinding().getAction()))
            {
              PartyInfo p = new PartyInfo();
              p.getPartyId().addAll(partyInfo.getPartyId());
              CollaborationRole cr = new CollaborationRole();
              cr.setRole(role.getRole());
              cr.setServiceBinding(new ServiceBinding());
              cr.getServiceBinding().setService(role.getServiceBinding().getService());
              cr.getServiceBinding().getCanSend().add(canSend);
              p.getCollaborationRole().add(cr);
              return p;
            }
    return null;
  }
View Full Code Here


          for (CanReceive canReceive : role.getServiceBinding().getCanReceive())
            if (action.equals(canReceive.getThisPartyActionBinding().getAction()))
            {
              PartyInfo p = new PartyInfo();
              p.getPartyId().addAll(partyInfo.getPartyId());
              CollaborationRole r = new CollaborationRole();
              r.setRole(role.getRole());
              r.setServiceBinding(new ServiceBinding());
              r.getServiceBinding().setService(role.getServiceBinding().getService());
              r.getServiceBinding().getCanReceive().add(canReceive);
              p.getCollaborationRole().add(r);
              return p;
            }
    return null;
  }
View Full Code Here

TOP

Related Classes of nl.clockwork.mule.ebms.model.cpp.cpa.CollaborationRole

Copyright © 2018 www.massapicom. 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.