code: public void setDestinations(java.util.Collection<DestinationDescription> destinations) {
          if (destinations == null) {
              this.destinations = null;
              return;
          }
  
          this.destinations = new java.util.ArrayList<DestinationDescription>(destinations);
      }
docs: <p>
  The destinations.
  </p>
  
  @param destinations
  The destinations.