/** * Convert 200502 wsrm:SequenceType with 200408 WS-Addressing namespace to internal form. * * @param exposed (non-<code>null</code>) * @return converted */ public static SequenceType convert(org.apache.cxf.ws.rm.v200502.SequenceType exposed) { SequenceType internal = new SequenceType(); internal.setIdentifier(convert(exposed.getIdentifier())); internal.setMessageNumber(exposed.getMessageNumber()); addAll(exposed.getAny(), internal.getAny()); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return internal; }
/** * Convert wsrm:SequenceType to 200502 version with 200408 WS-Addressing namespace. * * @param internal (non-<code>null</code>) * @return converted */ public static org.apache.cxf.ws.rm.v200502.SequenceType convert200502(SequenceType internal) { org.apache.cxf.ws.rm.v200502.SequenceType exposed = RMUtils.getWSRM200502Factory().createSequenceType(); exposed.setIdentifier(convert200502(internal.getIdentifier())); exposed.setMessageNumber(internal.getMessageNumber()); addAll(internal.getAny(), exposed.getAny()); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return exposed; }