public void setRoutingDestination(JsDestinationAddress value) {
    if (value != null) {
      jmo.setField(ControlAccess.ROUTINGDESTINATION_VALUE_NAME, value.getDestinationName());
      if (value.getME() != null) {
        jmo.setField(ControlAccess.ROUTINGDESTINATION_VALUE_MEID, value.getME().toByteArray());
      }
      else {
        jmo.setField(ControlAccess.ROUTINGDESTINATION_VALUE_MEID, null);
      }
      jmo.setField(ControlAccess.ROUTINGDESTINATION_VALUE_BUSNAME, value.getBusName());
    }
    else {
      jmo.setChoiceField(ControlAccess.ROUTINGDESTINATION, ControlAccess.IS_ROUTINGDESTINATION_EMPTY);
    }
  }
public void setRoutingDestination ( JsDestinationAddress value ) { if ( value != null ) { jmo . setField ( ControlAccess . ROUTINGDESTINATION_VALUE_NAME , value . getDestinationName ( ) ) ; if ( value . getME ( ) != null ) { jmo . setField ( ControlAccess . ROUTINGDESTINATION_VALUE_MEID , value . getME ( ) . toByteArray ( ) ) ; } else { jmo . setField ( ControlAccess . ROUTINGDESTINATION_VALUE_MEID , null ) ; } jmo . setField ( ControlAccess . ROUTINGDESTINATION_VALUE_BUSNAME , value . getBusName ( ) ) ; } else { jmo . setChoiceField ( ControlAccess . ROUTINGDESTINATION , ControlAccess . IS_ROUTINGDESTINATION_EMPTY ) ; } }
/*
Set the optional RoutingDestination field in the message header.

Javadoc description supplied by CommonMessageHeaders interface.