/** * Convert from 2004/03 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/03 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(org.apache.cxf.ws.addressing.v200403.AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200403.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200403.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/03 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/03 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(org.apache.cxf.ws.addressing.v200403.AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200403.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200403.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/03 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/03 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(org.apache.cxf.ws.addressing.v200403.AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200403.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200403.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/03 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/03 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(org.apache.cxf.ws.addressing.v200403.AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200403.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200403.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2005/08 AttributedURI to 2004/03 AttributedURI. * * @param internal the 2005/08 AttributedURIType * @return an equivalent 2004/08 or 2004/03 AttributedURI */ public static org.apache.cxf.ws.addressing.v200403.AttributedURI convertTo200403(AttributedURIType internal) { org.apache.cxf.ws.addressing.v200403.AttributedURI exposed = Names200403.WSA_OBJECT_FACTORY .createAttributedURI(); String exposedValue = Names.WSA_ANONYMOUS_ADDRESS.equals(internal.getValue()) ? Names200403.WSA_ANONYMOUS_ADDRESS : Names.WSA_NONE_ADDRESS.equals(internal.getValue()) ? Names200403.WSA_NONE_ADDRESS : internal.getValue(); exposed.setValue(exposedValue); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return exposed; } /**
/** * Convert from 2005/08 AttributedURI to 2004/03 AttributedURI. * * @param internal the 2005/08 AttributedURIType * @return an equivalent 2004/08 or 2004/03 AttributedURI */ public static org.apache.cxf.ws.addressing.v200403.AttributedURI convertTo200403(AttributedURIType internal) { org.apache.cxf.ws.addressing.v200403.AttributedURI exposed = Names200403.WSA_OBJECT_FACTORY .createAttributedURI(); String exposedValue = Names.WSA_ANONYMOUS_ADDRESS.equals(internal.getValue()) ? Names200403.WSA_ANONYMOUS_ADDRESS : Names.WSA_NONE_ADDRESS.equals(internal.getValue()) ? Names200403.WSA_NONE_ADDRESS : internal.getValue(); exposed.setValue(exposedValue); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return exposed; } /**
/** * Convert from 2005/08 AttributedURI to 2004/03 AttributedURI. * * @param internal the 2005/08 AttributedURIType * @return an equivalent 2004/08 or 2004/03 AttributedURI */ public static org.apache.cxf.ws.addressing.v200403.AttributedURI convertTo200403(AttributedURIType internal) { org.apache.cxf.ws.addressing.v200403.AttributedURI exposed = Names200403.WSA_OBJECT_FACTORY .createAttributedURI(); String exposedValue = Names.WSA_ANONYMOUS_ADDRESS.equals(internal.getValue()) ? Names200403.WSA_ANONYMOUS_ADDRESS : Names.WSA_NONE_ADDRESS.equals(internal.getValue()) ? Names200403.WSA_NONE_ADDRESS : internal.getValue(); exposed.setValue(exposedValue); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return exposed; } /**
/** * Convert from 2005/08 AttributedURI to 2004/08 AttributedURI. * * @param internal the 2005/08 AttributedURIType * @return an equivalent 2004/08 AttributedURI */ public static AttributedURI convert(AttributedURIType internal) { AttributedURI exposed = Names200408.WSA_OBJECT_FACTORY.createAttributedURI(); String exposedValue = Names.WSA_ANONYMOUS_ADDRESS.equals(internal.getValue()) ? Names200408.WSA_ANONYMOUS_ADDRESS : Names.WSA_NONE_ADDRESS.equals(internal.getValue()) ? Names200408.WSA_NONE_ADDRESS : internal.getValue(); exposed.setValue(exposedValue); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return exposed; }
/** * Convert from 2004/08 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/08 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200408.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200408.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2005/08 AttributedURI to 2004/03 AttributedURI. * * @param internal the 2005/08 AttributedURIType * @return an equivalent 2004/08 or 2004/03 AttributedURI */ public static org.apache.cxf.ws.addressing.v200403.AttributedURI convertTo200403(AttributedURIType internal) { org.apache.cxf.ws.addressing.v200403.AttributedURI exposed = Names200403.WSA_OBJECT_FACTORY .createAttributedURI(); String exposedValue = Names.WSA_ANONYMOUS_ADDRESS.equals(internal.getValue()) ? Names200403.WSA_ANONYMOUS_ADDRESS : Names.WSA_NONE_ADDRESS.equals(internal.getValue()) ? Names200403.WSA_NONE_ADDRESS : internal.getValue(); exposed.setValue(exposedValue); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return exposed; } /**
/** * Convert from 2005/08 AttributedURI to 2004/08 AttributedURI. * * @param internal the 2005/08 AttributedURIType * @return an equivalent 2004/08 AttributedURI */ public static AttributedURI convert(AttributedURIType internal) { AttributedURI exposed = Names200408.WSA_OBJECT_FACTORY.createAttributedURI(); String exposedValue = Names.WSA_ANONYMOUS_ADDRESS.equals(internal.getValue()) ? Names200408.WSA_ANONYMOUS_ADDRESS : Names.WSA_NONE_ADDRESS.equals(internal.getValue()) ? Names200408.WSA_NONE_ADDRESS : internal.getValue(); exposed.setValue(exposedValue); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return exposed; }
/** * Convert from 2004/08 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/08 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200408.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200408.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/08 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/08 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200408.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200408.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2005/08 AttributedURI to 2004/08 AttributedURI. * * @param internal the 2005/08 AttributedURIType * @return an equivalent 2004/08 AttributedURI */ public static AttributedURI convert(AttributedURIType internal) { AttributedURI exposed = Names200408.WSA_OBJECT_FACTORY.createAttributedURI(); String exposedValue = Names.WSA_ANONYMOUS_ADDRESS.equals(internal.getValue()) ? Names200408.WSA_ANONYMOUS_ADDRESS : Names.WSA_NONE_ADDRESS.equals(internal.getValue()) ? Names200408.WSA_NONE_ADDRESS : internal.getValue(); exposed.setValue(exposedValue); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return exposed; }
/** * Convert from 2004/08 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/08 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200408.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200408.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2005/08 AttributedURI to 2004/08 AttributedURI. * * @param internal the 2005/08 AttributedURIType * @return an equivalent 2004/08 AttributedURI */ public static AttributedURI convert(AttributedURIType internal) { AttributedURI exposed = Names200408.WSA_OBJECT_FACTORY.createAttributedURI(); String exposedValue = Names.WSA_ANONYMOUS_ADDRESS.equals(internal.getValue()) ? Names200408.WSA_ANONYMOUS_ADDRESS : Names.WSA_NONE_ADDRESS.equals(internal.getValue()) ? Names200408.WSA_NONE_ADDRESS : internal.getValue(); exposed.setValue(exposedValue); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return exposed; }