diff options
author | scottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-09 21:54:07 +0000 |
---|---|---|
committer | scottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-09 21:54:07 +0000 |
commit | 9d71282b5572c66bf7fba30191db29e70380e728 (patch) | |
tree | 221caa6da20d4cd331858f56de42d0ab7e9c3566 /sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca | |
parent | 99490e913ff81fd269a6f5e64494f6a0c4a63e80 (diff) |
Fix for TUSCANY-3857. Also addressed a problem writing wrapper elements with child elements with minOccurs="0" which not get written into the wrapper payload.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1101239 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca')
-rw-r--r-- | sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/util/ElementInfo.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/util/ElementInfo.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/util/ElementInfo.java index 38e33e33d9..61a2cd7f66 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/util/ElementInfo.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/util/ElementInfo.java @@ -32,6 +32,7 @@ public class ElementInfo { private final TypeInfo type; private boolean many = false; private boolean nillable = false; + private boolean omissible = false; /** * @param name @@ -80,6 +81,14 @@ public class ElementInfo { this.nillable = nillable; } + public boolean isOmissible() { + return omissible; + } + + public void setOmissible(boolean omissible) { + this.omissible = omissible; + } + @Override public int hashCode() { final int prime = 31; |