summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/itest/databindings
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-02 23:31:15 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-02 23:31:15 +0000
commit952d5966e0ecf0814eae9d9f1681ec5701166234 (patch)
treea1a42889037b12e6b696dd0a09ecd8d22519c46b /branches/sca-java-1.x/itest/databindings
parentc8f4f64c7e898d660d31d212d8cb9ef13be5224e (diff)
Use XmlSeeAlso to include subclasses and their array variants
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@832193 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest/databindings')
-rw-r--r--branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean1.java3
-rw-r--r--branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean2.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean1.java b/branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean1.java
index 7529c2b841..f1c948dc1c 100644
--- a/branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean1.java
+++ b/branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean1.java
@@ -18,9 +18,12 @@
*/
package org.apache.tuscany.sca.itest.databindings.jaxb;
+import javax.xml.bind.annotation.XmlSeeAlso;
+
/**
* @version $Rev$ $Date$
*/
+@XmlSeeAlso({Bean10.class, Bean11.class, Bean10[].class, Bean11[].class})
public class Bean1<T> {
private T item;
diff --git a/branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean2.java b/branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean2.java
index 844e28863a..45c01dc054 100644
--- a/branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean2.java
+++ b/branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/Bean2.java
@@ -18,9 +18,12 @@
*/
package org.apache.tuscany.sca.itest.databindings.jaxb;
+import javax.xml.bind.annotation.XmlSeeAlso;
+
/**
* @version $Rev$ $Date$
*/
+@XmlSeeAlso({Bean3.class, Bean3[].class, Bean31.class, Bean31[].class})
public class Bean2 {
private String name;