Coverage Report - org.kuali.student.common.dictionary.old.dto.ConstraintSelector
 
Classes in this File Line Coverage Branch Coverage Complexity
ConstraintSelector
0%
0/52
N/A
1
 
 1  
 /**
 2  
  * Copyright 2010 The Kuali Foundation Licensed under the
 3  
  * Educational Community License, Version 2.0 (the "License"); you may
 4  
  * not use this file except in compliance with the License. You may
 5  
  * obtain a copy of the License at
 6  
  *
 7  
  * http://www.osedu.org/licenses/ECL-2.0
 8  
  *
 9  
  * Unless required by applicable law or agreed to in writing,
 10  
  * software distributed under the License is distributed on an "AS IS"
 11  
  * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 12  
  * or implied. See the License for the specific language governing
 13  
  * permissions and limitations under the License.
 14  
  */
 15  
 
 16  
 package org.kuali.student.common.dictionary.old.dto;
 17  
 
 18  
 import java.io.Serializable;
 19  
 import java.util.List;
 20  
 
 21  
 import javax.xml.bind.annotation.XmlAccessType;
 22  
 import javax.xml.bind.annotation.XmlAccessorType;
 23  
 import javax.xml.bind.annotation.XmlAttribute;
 24  
 import javax.xml.bind.annotation.XmlElement;
 25  
 
 26  
 
 27  
 
 28  
 
 29  
 @XmlAccessorType(XmlAccessType.FIELD)
 30  0
 public class ConstraintSelector implements Serializable {
 31  
 
 32  
     private static final long serialVersionUID = 1L;
 33  
 
 34  
     @XmlAttribute
 35  
     protected String className;
 36  
     
 37  
     @XmlAttribute(required = true) 
 38  
     protected String key;
 39  
     
 40  
     @XmlAttribute
 41  
     protected String id;
 42  
     
 43  
     @XmlAttribute
 44  
     protected boolean serverSide;
 45  
     
 46  
     @XmlAttribute
 47  
     protected String locale;
 48  
     
 49  
     @XmlElement
 50  
     protected String minValue;
 51  
 
 52  
     @XmlElement
 53  
     protected String maxValue;
 54  
 
 55  
     @XmlElement
 56  
     protected Integer minLength;
 57  
     
 58  
     @XmlElement
 59  
     protected String maxLength;
 60  
     
 61  
     @XmlElement(name="validChars")
 62  
     protected ValidCharsConstraint validChars;
 63  
     
 64  
     @XmlElement
 65  
     protected Integer minOccurs;
 66  
     
 67  
     @XmlElement
 68  
     protected String maxOccurs;
 69  
 
 70  
     @XmlElement(name="require")
 71  
     protected List<RequireConstraint> requireConstraint;
 72  
     
 73  
     @XmlElement(name = "case")
 74  
     protected List<CaseConstraint> caseConstraint;
 75  
 
 76  
     @XmlElement(name = "typeStateCase")
 77  
     protected TypeStateCaseConstraint typeStateCaseConstraint;
 78  
         
 79  
     @XmlElement(name = "lookup")
 80  
     protected List<LookupConstraint> lookupConstraint;
 81  
 
 82  
     @XmlElement(name = "occurs")
 83  
     protected List<OccursConstraint> occursConstraint;
 84  
     
 85  
         /**
 86  
          * @return the minValue
 87  
          */
 88  
         public String getMinValue() {
 89  0
                 return minValue;
 90  
         }
 91  
 
 92  
         /**
 93  
          * @param minValue the minValue to set
 94  
          */
 95  
         public void setMinValue(String minValue) {
 96  0
                 this.minValue = minValue;
 97  0
         }
 98  
 
 99  
         /**
 100  
          * @return the maxValue
 101  
          */
 102  
         public String getMaxValue() {
 103  0
                 return maxValue;
 104  
         }
 105  
 
 106  
         /**
 107  
          * @param maxValue the maxValue to set
 108  
          */
 109  
         public void setMaxValue(String maxValue) {
 110  0
                 this.maxValue = maxValue;
 111  0
         }
 112  
 
 113  
         /**
 114  
          * @return the minLength
 115  
          */
 116  
         public Integer getMinLength() {
 117  0
                 return minLength;
 118  
         }
 119  
 
 120  
         /**
 121  
          * @param minLength the minLength to set
 122  
          */
 123  
         public void setMinLength(Integer minLength) {
 124  0
                 this.minLength = minLength;
 125  0
         }
 126  
 
 127  
         /**
 128  
          * @return the maxLength
 129  
          */
 130  
         public String getMaxLength() {
 131  0
                 return maxLength;
 132  
         }
 133  
 
 134  
         /**
 135  
          * @param maxLength the maxLength to set
 136  
          */
 137  
         public void setMaxLength(String maxLength) {
 138  0
                 this.maxLength = maxLength;
 139  0
         }
 140  
 
 141  
         /**
 142  
          * @return the minOccurs
 143  
          */
 144  
         public Integer getMinOccurs() {
 145  0
                 return minOccurs;
 146  
         }
 147  
 
 148  
         /**
 149  
          * @param minOccurs the minOccurs to set
 150  
          */
 151  
         public void setMinOccurs(Integer minOccurs) {
 152  0
                 this.minOccurs = minOccurs;
 153  0
         }
 154  
 
 155  
         /**
 156  
          * @return the maxOccurs
 157  
          */
 158  
         public String getMaxOccurs() {
 159  0
                 return maxOccurs;
 160  
         }
 161  
 
 162  
         /**
 163  
          * @param maxOccurs the maxOccurs to set
 164  
          */
 165  
         public void setMaxOccurs(String maxOccurs) {
 166  0
                 this.maxOccurs = maxOccurs;
 167  0
         }
 168  
 
 169  
         /**
 170  
          * @return the className
 171  
          */
 172  
         public String getClassName() {
 173  0
                 return className;
 174  
         }
 175  
 
 176  
         /**
 177  
          * @param className the className to set
 178  
          */
 179  
         public void setClassName(String className) {
 180  0
                 this.className = className;
 181  0
         }
 182  
 
 183  
         /**
 184  
          * @return the key
 185  
          */
 186  
         public String getKey() {
 187  0
                 return key;
 188  
         }
 189  
 
 190  
         /**
 191  
          * @param key the key to set
 192  
          */
 193  
         public void setKey(String key) {
 194  0
                 this.key = key;
 195  0
         }
 196  
 
 197  
         /**
 198  
          * @return the id
 199  
          */
 200  
         public String getId() {
 201  0
                 return id;
 202  
         }
 203  
 
 204  
         /**
 205  
          * @param id the id to set
 206  
          */
 207  
         public void setId(String id) {
 208  0
                 this.id = id;
 209  0
         }
 210  
 
 211  
         /**
 212  
          * @return the serverSide
 213  
          */
 214  
         public boolean isServerSide() {
 215  0
                 return serverSide;
 216  
         }
 217  
 
 218  
         /**
 219  
          * @param serverSide the serverSide to set
 220  
          */
 221  
         public void setServerSide(boolean serverSide) {
 222  0
                 this.serverSide = serverSide;
 223  0
         }
 224  
 
 225  
         /**
 226  
          * @return the locale
 227  
          */
 228  
         public String getLocale() {
 229  0
                 return locale;
 230  
         }
 231  
 
 232  
         /**
 233  
          * @param locale the locale to set
 234  
          */
 235  
         public void setLocale(String locale) {
 236  0
                 this.locale = locale;
 237  0
         }
 238  
 
 239  
         /**
 240  
          * @return the validChars
 241  
          */
 242  
         public ValidCharsConstraint getValidChars() {
 243  0
                 return validChars;
 244  
         }
 245  
 
 246  
         /**
 247  
          * @param validChars the validChars to set
 248  
          */
 249  
         public void setValidChars(ValidCharsConstraint validChars) {
 250  0
                 this.validChars = validChars;
 251  0
         }
 252  
 
 253  
         /**
 254  
          * @return the requireConstraint
 255  
          */
 256  
         public List<RequireConstraint> getRequireConstraint() {
 257  0
                 return requireConstraint;
 258  
         }
 259  
 
 260  
         /**
 261  
          * @param requireConstraint the requireConstraint to set
 262  
          */
 263  
         public void setRequireConstraint(List<RequireConstraint> requireConstraint) {
 264  0
                 this.requireConstraint = requireConstraint;
 265  0
         }
 266  
 
 267  
         /**
 268  
          * @return the typeStateCaseConstraint
 269  
          */
 270  
         public TypeStateCaseConstraint getTypeStateCaseConstraint() {
 271  0
                 return typeStateCaseConstraint;
 272  
         }
 273  
 
 274  
         /**
 275  
          * @param typeStateCaseConstraint the typeStateCaseConstraint to set
 276  
          */
 277  
         public void setTypeStateCaseConstraint(
 278  
                         TypeStateCaseConstraint typeStateCaseConstraint) {
 279  0
                 this.typeStateCaseConstraint = typeStateCaseConstraint;
 280  0
         }
 281  
 
 282  
         /**
 283  
          * @return the caseConstraint
 284  
          */
 285  
         public List<CaseConstraint> getCaseConstraint() {
 286  0
                 return caseConstraint;
 287  
         }
 288  
 
 289  
         /**
 290  
          * @param caseConstraint the caseConstraint to set
 291  
          */
 292  
         public void setCaseConstraint(List<CaseConstraint> caseConstraint) {
 293  0
                 this.caseConstraint = caseConstraint;
 294  0
         }
 295  
 
 296  
         /**
 297  
          * @return the lookupConstraint
 298  
          */
 299  
         public List<LookupConstraint> getLookupConstraint() {
 300  0
                 return lookupConstraint;
 301  
         }
 302  
 
 303  
         /**
 304  
          * @param lookupConstraint the lookupConstraint to set
 305  
          */
 306  
         public void setLookupConstraint(List<LookupConstraint> lookupConstraint) {
 307  0
                 this.lookupConstraint = lookupConstraint;
 308  0
         }
 309  
 
 310  
         /**
 311  
          * @return the occursConstraint
 312  
          */
 313  
         public List<OccursConstraint> getOccursConstraint() {
 314  0
                 return occursConstraint;
 315  
         }
 316  
 
 317  
         /**
 318  
          * @param occursConstraint the occursConstraint to set
 319  
          */
 320  
         public void setOccursConstraint(List<OccursConstraint> occursConstraint) {
 321  0
                 this.occursConstraint = occursConstraint;
 322  0
         }        
 323  
 }