/**
  * Convert 200502 Expires with 200508 WS-Addressing namespace to internal form.
  *
  * @param exposed (may be <code>null</code>)
  * @return converted (<code>null</code> if internal is <code>null</code>)
  */
 public static OfferType convert(org.apache.cxf.ws.rm.v200502wsa15.OfferType exposed) {
   if (exposed == null) {
     return null;
   }
   OfferType internal = new OfferType();
   internal.setExpires(convert(exposed.getExpires()));
   internal.setIdentifier(convert(exposed.getIdentifier()));
   return internal;
 }
 /**
  * Convert wsrm:Offer to 200502 version with 200508 WS-Addressing namespace.
  *
  * @param internal (may be <code>null</code>)
  * @return converted (<code>null</code> if internal is <code>null</code>)
  */
 private static org.apache.cxf.ws.rm.v200502wsa15.OfferType convert200502wsa15(
     OfferType internal) {
   if (internal == null) {
     return null;
   }
   org.apache.cxf.ws.rm.v200502wsa15.OfferType exposed =
       RMUtils.getWSRM200502WSA200508Factory().createOfferType();
   exposed.setExpires(convert200502wsa15(internal.getExpires()));
   exposed.setIdentifier(convert200502wsa15(internal.getIdentifier()));
   addAll(internal.getAny(), exposed.getAny());
   putAll(internal.getOtherAttributes(), exposed.getOtherAttributes());
   return exposed;
 }