/**
  * Convert 200502 wsrm:SequenceAcknowledgement with 200408 WS-Addressing namespace to internal
  * form.
  *
  * @param exposed (non-<code>null</code>)
  * @return converted
  */
 public static SequenceAcknowledgement convert(
     org.apache.cxf.ws.rm.v200502.SequenceAcknowledgement exposed) {
   SequenceAcknowledgement internal = new SequenceAcknowledgement();
   internal.setIdentifier(convert(exposed.getIdentifier()));
   List<SequenceAcknowledgement.AcknowledgementRange> internalRanges =
       internal.getAcknowledgementRange();
   for (org.apache.cxf.ws.rm.v200502.SequenceAcknowledgement.AcknowledgementRange range :
       exposed.getAcknowledgementRange()) {
     SequenceAcknowledgement.AcknowledgementRange internalRange =
         new SequenceAcknowledgement.AcknowledgementRange();
     internalRange.setLower(range.getLower());
     internalRange.setUpper(range.getUpper());
     internalRanges.add(internalRange);
     putAll(range.getOtherAttributes(), internalRange.getOtherAttributes());
   }
   addAll(exposed.getAny(), internal.getAny());
   putAll(exposed.getOtherAttributes(), internal.getOtherAttributes());
   return internal;
 }
 /**
  * Convert wsrm:SequenceAcknowledgement to 200502 version with 200408 WS-Addressing namespace.
  *
  * @param internal (non-<code>null</code>)
  * @return converted
  */
 public static org.apache.cxf.ws.rm.v200502.SequenceAcknowledgement convert200502(
     SequenceAcknowledgement internal) {
   org.apache.cxf.ws.rm.v200502.SequenceAcknowledgement exposed =
       RMUtils.getWSRM200502Factory().createSequenceAcknowledgement();
   exposed.setIdentifier(convert200502(internal.getIdentifier()));
   List<org.apache.cxf.ws.rm.v200502.SequenceAcknowledgement.AcknowledgementRange> exposedRanges =
       exposed.getAcknowledgementRange();
   for (SequenceAcknowledgement.AcknowledgementRange range : internal.getAcknowledgementRange()) {
     org.apache.cxf.ws.rm.v200502.SequenceAcknowledgement.AcknowledgementRange exposedRange =
         new org.apache.cxf.ws.rm.v200502.SequenceAcknowledgement.AcknowledgementRange();
     exposedRange.setLower(range.getLower());
     exposedRange.setUpper(range.getUpper());
     exposedRanges.add(exposedRange);
     putAll(range.getOtherAttributes(), exposedRange.getOtherAttributes());
   }
   addAll(internal.getAny(), exposed.getAny());
   putAll(internal.getOtherAttributes(), exposed.getOtherAttributes());
   return exposed;
 }