code: public void setSlotTypes(java.util.Collection<SlotTypeMetadata> slotTypes) {
          if (slotTypes == null) {
              this.slotTypes = null;
              return;
          }
  
          this.slotTypes = new java.util.ArrayList<SlotTypeMetadata>(slotTypes);
      }
docs: <p>
  An array of <code>SlotTypeMetadata</code> objects, one for each numbered version of the slot type plus one for
  the <code>$LATEST</code> version.
  </p>
  
  @param slotTypes
  An array of <code>SlotTypeMetadata</code> objects, one for each numbered version of the slot type plus one
  for the <code>$LATEST</code> version.