public void addAdditionalPartyRole(String partyId,String roleTypeId){
  List<String> parties=additionalPartyRole.get(roleTypeId);
  if (parties != null) {
    for (    String pi : parties) {
      if (pi.equals(partyId)) {
        return;
      }
    }
  }
 else {
    parties=new LinkedList<String>();
    additionalPartyRole.put(roleTypeId,parties);
  }
  parties.add(0,partyId);
}

public void addAdditionalPartyRole ( String partyId , String roleTypeId ) { List < String > parties = additionalPartyRole . get ( roleTypeId ) ; if ( parties != null ) { for ( String pi : parties ) { if ( pi . equals ( partyId ) ) { return ; } } } else { parties = new LinkedList < String > ( ) ; additionalPartyRole . put ( roleTypeId , parties ) ; } parties . add ( 0 , partyId ) ; }
associates a party with a role to the order .
