/** * Convert 200502 TerminateSequenceType with 200508 WS-Addressing namespace to internal form. * * @param exposed (non-<code>null</code>) * @return converted */ public static TerminateSequenceType convert( org.apache.cxf.ws.rm.v200502wsa15.TerminateSequenceType exposed) { TerminateSequenceType internal = new TerminateSequenceType(); internal.setIdentifier(convert(exposed.getIdentifier())); addAll(exposed.getAny(), internal.getAny()); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return internal; }
/** * Convert TerminateSequenceType to 200502 version with 200508 WS-Addressing namespace. * * @param internal (non-<code>null</code>) * @return converted */ public static org.apache.cxf.ws.rm.v200502wsa15.TerminateSequenceType convert200502wsa15( TerminateSequenceType internal) { org.apache.cxf.ws.rm.v200502wsa15.TerminateSequenceType exposed = new org.apache.cxf.ws.rm.v200502wsa15.TerminateSequenceType(); exposed.setIdentifier(convert200502wsa15(internal.getIdentifier())); addAll(internal.getAny(), exposed.getAny()); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return exposed; }