1 55 package org.jboss.axis.description; 56 57 import javax.xml.namespace.QName ; 58 59 65 public class ElementDesc extends FieldDesc 66 { 67 68 71 private int minOccurs = 1; 72 75 private int maxOccurs = 1; 76 77 private boolean asContent; 81 82 private QName itemXmlType; 84 85 public boolean isMinOccursZero() 86 { 87 return minOccurs == 0; 88 } 89 90 public int getMinOccurs() 91 { 92 return minOccurs; 93 } 94 95 public void setMinOccurs(int minOccurs) 96 { 97 this.minOccurs = minOccurs; 98 } 99 100 public int getMaxOccurs() 101 { 102 return maxOccurs; 103 } 104 105 public void setMaxOccurs(int maxOccurs) 106 { 107 this.maxOccurs = maxOccurs; 108 } 109 110 public boolean isAsContent() 111 { 112 return asContent; 113 } 114 115 public void setAsContent(boolean asContent) 116 { 117 this.asContent = asContent; 118 } 119 120 public QName getItemXmlType() 121 { 122 return itemXmlType; 123 } 124 125 public void setItemXmlType(QName itemXmlType) 126 { 127 this.itemXmlType = itemXmlType; 128 } 129 } 130 | Popular Tags |