diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-02 23:31:15 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-02 23:31:15 +0000 |
commit | 952d5966e0ecf0814eae9d9f1681ec5701166234 (patch) | |
tree | a1a42889037b12e6b696dd0a09ecd8d22519c46b /branches/sca-java-1.x/itest/databindings/jaxb-bottom-up/src | |
parent | c8f4f64c7e898d660d31d212d8cb9ef13be5224e (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/jaxb-bottom-up/src')
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; |