public static ExistingAnnotationsType fromValue(String v) { for (ExistingAnnotationsType c: ExistingAnnotationsType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); }
public void getProperties(final Map<String, Object> prop, final Class<?> cls) { JavaWsdlMappingType r = reader(cls); // no external reader or it requires annotations merging ... if (r == null || MERGE.equals(r.getExistingAnnotations())) { super.getProperties(prop, cls); } }
public void getProperties(final Map<String, Object> prop, final Class<?> cls) { JavaWsdlMappingType r = reader(cls); // no external reader or it requires annotations merging ... if (r == null || MERGE.equals(r.getExistingAnnotations())) { super.getProperties(prop, cls); } }
public void getProperties(final Map<String, Object> prop, final Class<?> cls) { JavaWsdlMappingType r = reader(cls); // no external reader or it requires annotations merging ... if (r == null || MERGE.equals(r.getExistingAnnotations())) { super.getProperties(prop, cls); } }
public static ExistingAnnotationsType fromValue(String v) { for (ExistingAnnotationsType c: ExistingAnnotationsType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); }
public void getProperties(final Map<String, Object> prop, final Method m) { JavaWsdlMappingType r = reader(m.getDeclaringClass()); // no external reader or it requires annotations merging ... if (r == null || MERGE.equals(r.getExistingAnnotations())) { super.getProperties(prop, m); } if (r != null) { JavaMethod jm = getJavaMethod(m, r); Element[] e = Util.annotation(jm); prop.put("eclipselink-oxm-xml.xml-element", findXmlElement(e)); } }
public static ExistingAnnotationsType fromValue(String v) { for (ExistingAnnotationsType c: ExistingAnnotationsType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); }
public void getProperties(final Map<String, Object> prop, final Method m) { JavaWsdlMappingType r = reader(m.getDeclaringClass()); // no external reader or it requires annotations merging ... if (r == null || MERGE.equals(r.getExistingAnnotations())) { super.getProperties(prop, m); } if (r != null) { JavaMethod jm = getJavaMethod(m, r); Element[] e = Util.annotation(jm); prop.put("eclipselink-oxm-xml.xml-element", findXmlElement(e)); } }
public void getProperties(final Map<String, Object> prop, final Method m) { JavaWsdlMappingType r = reader(m.getDeclaringClass()); // no external reader or it requires annotations merging ... if (r == null || MERGE.equals(r.getExistingAnnotations())) { super.getProperties(prop, m); } if (r != null) { JavaMethod jm = getJavaMethod(m, r); Element[] e = Util.annotation(jm); prop.put("eclipselink-oxm-xml.xml-element", findXmlElement(e)); } }
public void getProperties(final Map<String, Object> prop, final Method m, int pos) { JavaWsdlMappingType r = reader(m.getDeclaringClass()); // no external reader or it requires annotations merging ... if (r == null || MERGE.equals(r.getExistingAnnotations())) { super.getProperties(prop, m, pos); } if (r != null) { JavaMethod jm = getJavaMethod(m, r); if (jm == null) return; JavaParam jp = jm.getJavaParams().getJavaParam().get(pos); Element[] e = Util.annotation(jp); prop.put("eclipselink-oxm-xml.xml-element", findXmlElement(e)); } }
public void getProperties(final Map<String, Object> prop, final Method m, int pos) { JavaWsdlMappingType r = reader(m.getDeclaringClass()); // no external reader or it requires annotations merging ... if (r == null || MERGE.equals(r.getExistingAnnotations())) { super.getProperties(prop, m, pos); } if (r != null) { JavaMethod jm = getJavaMethod(m, r); if (jm == null) return; JavaParam jp = jm.getJavaParams().getJavaParam().get(pos); Element[] e = Util.annotation(jp); prop.put("eclipselink-oxm-xml.xml-element", findXmlElement(e)); } }
public void getProperties(final Map<String, Object> prop, final Method m, int pos) { JavaWsdlMappingType r = reader(m.getDeclaringClass()); // no external reader or it requires annotations merging ... if (r == null || MERGE.equals(r.getExistingAnnotations())) { super.getProperties(prop, m, pos); } if (r != null) { JavaMethod jm = getJavaMethod(m, r); if (jm == null) return; JavaParam jp = jm.getJavaParams().getJavaParam().get(pos); Element[] e = Util.annotation(jp); prop.put("eclipselink-oxm-xml.xml-element", findXmlElement(e)); } }
@SuppressWarnings("unchecked") T merge() { T reflection = reflection(); if (reader == null) { return reflection; } T external = external(); if (!MERGE.equals(reader.getExistingAnnotations())) { return external; } if (reflection instanceof Annotation) { return (T) doMerge((Annotation) reflection, (Annotation) external); } else if (reflection instanceof Annotation[][]) { return (T) doMerge((Annotation[][]) reflection, (Annotation[][]) external); } else { return (T) doMerge((Annotation[]) reflection, (Annotation[]) external); } }
@SuppressWarnings("unchecked") T merge() { T reflection = reflection(); if (reader == null) { return reflection; } T external = external(); if (!MERGE.equals(reader.getExistingAnnotations())) { return external; } if (reflection instanceof Annotation) { return (T) doMerge((Annotation) reflection, (Annotation) external); } else if (reflection instanceof Annotation[][]) { return (T) doMerge((Annotation[][]) reflection, (Annotation[][]) external); } else { return (T) doMerge((Annotation[]) reflection, (Annotation[]) external); } }
@SuppressWarnings("unchecked") T merge() { T reflection = reflection(); if (reader == null) { return reflection; } T external = external(); if (!MERGE.equals(reader.getExistingAnnotations())) { return external; } if (reflection instanceof Annotation) { return (T) doMerge((Annotation) reflection, (Annotation) external); } else if (reflection instanceof Annotation[][]) { return (T) doMerge((Annotation[][]) reflection, (Annotation[][]) external); } else { return (T) doMerge((Annotation[]) reflection, (Annotation[]) external); } }