/// <summary>
 /// Set the component2 from a MIR object. </summary>
 /// <param name="component2"> the MIR with the component2 content to set </param>
 public virtual Field252 setComponent2(com.prowidesoftware.swift.model.MIR component2)
 {
     setComponent(2, SwiftFormatUtils.getMIR(component2));
     return(this);
 }