/** * Convert 200502 wsrm:Identifier with 200508 WS-Addressing namespace to internal form. * * @param exposed (may be <code>null</code>) * @return converted (<code>null</code> if exposed is <code>null</code>) */ public static Identifier convert(org.apache.cxf.ws.rm.v200502wsa15.Identifier exposed) { if (exposed == null) { return null; } Identifier internal = new Identifier(); internal.setValue(exposed.getValue()); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return internal; }
/** * Convert wsrm:Identifier 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>) */ public static org.apache.cxf.ws.rm.v200502wsa15.Identifier convert200502wsa15( Identifier internal) { if (internal == null) { return null; } org.apache.cxf.ws.rm.v200502wsa15.Identifier exposed = RMUtils.getWSRM200502WSA200508Factory().createIdentifier(); exposed.setValue(internal.getValue()); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return exposed; }