1 16 package org.apache.axis.wsdl.symbolTable; 17 18 import javax.xml.namespace.QName ; 19 20 28 public class ElementDecl extends ContainedEntry { 29 30 31 32 private String documentation; 33 34 40 41 private boolean minOccursIs0 = false; 42 43 44 private boolean nillable = false; 45 46 47 private boolean optional = false; 48 49 52 53 private boolean anyElement = false; 54 55 56 private boolean maxOccursIsUnbounded = false; 57 58 private boolean maxOccursExactOne; 59 60 66 public ElementDecl(TypeEntry type, QName name) { 67 super(type, name); 68 } 69 70 75 public boolean getMinOccursIs0() { 76 return minOccursIs0; 77 } 78 79 84 public void setMinOccursIs0(boolean minOccursIs0) { 85 this.minOccursIs0 = minOccursIs0; 86 } 87 88 93 public boolean getMaxOccursIsUnbounded() { 94 return maxOccursIsUnbounded; 95 } 96 97 102 public void setMaxOccursIsUnbounded(boolean maxOccursIsUnbounded) { 103 this.maxOccursIsUnbounded = maxOccursIsUnbounded; 104 } 105 106 111 public boolean getMaxOccursIsExactlyOne() { 112 return maxOccursExactOne; 113 } 114 115 120 public void setMaxOccursIsExactlyOne(boolean exactOne) { 121 maxOccursExactOne = exactOne; 122 } 123 124 129 public void setNillable(boolean nillable) { 130 this.nillable = nillable; 131 } 132 133 138 public boolean getNillable() { 139 return nillable; 140 } 141 142 147 public void setOptional(boolean optional) { 148 this.optional = optional; 149 } 150 151 156 public boolean getOptional() { 157 return optional; 158 } 159 160 165 public boolean getAnyElement() { 166 return anyElement; 167 } 168 169 174 public void setAnyElement(boolean anyElement) { 175 this.anyElement = anyElement; 176 } 177 178 183 public String getDocumentation() { 184 return documentation; 185 } 186 187 191 public void setDocumentation(String documentation) { 192 this.documentation = documentation; 193 } 194 } 195 | Popular Tags |