|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
State | Line # 57 | 8 | 0% | 7 | 4 | 75% |
0.75
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
(11) | |||
Result | |||
0.75
|
org.kuali.student.common.assembly.dictionary.old.TestMetadataServiceImpl.testDictionaryBasedMetadata org.kuali.student.common.assembly.dictionary.old.TestMetadataServiceImpl.testDictionaryBasedMetadata | 1 PASS | |
0.625
|
org.kuali.student.common.validator.old.ValidatorTest.testMaxLength org.kuali.student.common.validator.old.ValidatorTest.testMaxLength | 1 PASS | |
0.625
|
org.kuali.student.common.validator.old.ValidatorTest.testMinLength org.kuali.student.common.validator.old.ValidatorTest.testMinLength | 1 PASS | |
0.625
|
org.kuali.student.common.validator.old.ValidatorTest.testRequired org.kuali.student.common.validator.old.ValidatorTest.testRequired | 1 PASS | |
0.625
|
org.kuali.student.common.validator.old.ValidatorTest.testDoubleValueRange org.kuali.student.common.validator.old.ValidatorTest.testDoubleValueRange | 1 PASS | |
0.625
|
org.kuali.student.common.validator.old.ValidatorTest.testValidChars org.kuali.student.common.validator.old.ValidatorTest.testValidChars | 1 PASS | |
0.625
|
org.kuali.student.common.validator.old.ValidatorTest.testLengthRange org.kuali.student.common.validator.old.ValidatorTest.testLengthRange | 1 PASS | |
0.625
|
org.kuali.student.common.validator.old.ValidatorTest.testNestedStructures org.kuali.student.common.validator.old.ValidatorTest.testNestedStructures | 1 PASS | |
0.625
|
org.kuali.student.common.validator.old.ValidatorTest.testMinDateValue org.kuali.student.common.validator.old.ValidatorTest.testMinDateValue | 1 PASS | |
0.375
|
org.kuali.student.core.dictionary.service.impl.DictionaryValidatorTest.testRequiredValidation org.kuali.student.core.dictionary.service.impl.DictionaryValidatorTest.testRequiredValidation | 1 PASS | |
0.25
|
org.kuali.student.core.dictionary.service.impl.DictionaryParseTest.test2 org.kuali.student.core.dictionary.service.impl.DictionaryParseTest.test2 | 1 PASS | |
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 | // | |
17 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 | |
18 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
19 | // Any modifications to this file will be lost upon recompilation of the source schema. | |
20 | // Generated on: 2008.10.21 at 02:14:18 PM PDT | |
21 | // | |
22 | ||
23 | ||
24 | package org.kuali.student.common.dictionary.old.dto; | |
25 | ||
26 | import java.io.Serializable; | |
27 | import java.util.ArrayList; | |
28 | import java.util.List; | |
29 | ||
30 | import javax.xml.bind.annotation.XmlAccessType; | |
31 | import javax.xml.bind.annotation.XmlAccessorType; | |
32 | import javax.xml.bind.annotation.XmlAttribute; | |
33 | import javax.xml.bind.annotation.XmlElement; | |
34 | ||
35 | ||
36 | /** | |
37 | * <p>Java class for anonymous complex type. | |
38 | * | |
39 | * <p>The following schema fragment specifies the expected content contained within this class. | |
40 | * | |
41 | * <pre> | |
42 | * <complexType> | |
43 | * <complexContent> | |
44 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
45 | * <sequence> | |
46 | * <element ref="{http://www.dto.dictionary.student.kuali.org}field" maxOccurs="unbounded"/> | |
47 | * </sequence> | |
48 | * <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /> | |
49 | * </restriction> | |
50 | * </complexContent> | |
51 | * </complexType> | |
52 | * </pre> | |
53 | * | |
54 | * | |
55 | */ | |
56 | @XmlAccessorType(XmlAccessType.FIELD) | |
57 | public class State implements Serializable{ | |
58 | ||
59 | private static final long serialVersionUID = 1L; | |
60 | ||
61 | @XmlElement(required = true) | |
62 | protected List<Field> field; | |
63 | ||
64 | @XmlAttribute | |
65 | protected String id; | |
66 | ||
67 | @XmlAttribute(required = true) | |
68 | protected String key; | |
69 | ||
70 | @XmlElement | |
71 | protected ConstraintDescriptor constraintDescriptor; | |
72 | ||
73 | /** | |
74 | * Gets the value of the field property. | |
75 | * | |
76 | * <p> | |
77 | * This accessor method returns a reference to the live list, | |
78 | * not a snapshot. Therefore any modification you make to the | |
79 | * returned list will be present inside the JAXB object. | |
80 | * This is why there is not a <CODE>set</CODE> method for the field property. | |
81 | * | |
82 | * <p> | |
83 | * For example, to add a new item, do as follows: | |
84 | * <pre> | |
85 | * getField().add(newItem); | |
86 | * </pre> | |
87 | * | |
88 | * | |
89 | * <p> | |
90 | * Objects of the following type(s) are allowed in the list | |
91 | * {@link Field } | |
92 | * | |
93 | * | |
94 | */ | |
95 | 14 | public List<Field> getField() { |
96 | 14 | if (field == null) { |
97 | 0 | field = new ArrayList<Field>(); |
98 | } | |
99 | 14 | return this.field; |
100 | } | |
101 | ||
102 | /** | |
103 | * Gets the value of the key property. | |
104 | * | |
105 | * @return | |
106 | * possible object is | |
107 | * {@link String } | |
108 | * | |
109 | */ | |
110 | 11 | public String getKey() { |
111 | 11 | return key; |
112 | } | |
113 | ||
114 | /** | |
115 | * Sets the value of the key property. | |
116 | * | |
117 | * @param value | |
118 | * allowed object is | |
119 | * {@link String } | |
120 | * | |
121 | */ | |
122 | 3883 | public void setKey(String value) { |
123 | 3883 | this.key = value; |
124 | } | |
125 | ||
126 | 3881 | public void setField(List<Field> field) { |
127 | 3881 | this.field = field; |
128 | } | |
129 | ||
130 | /** | |
131 | * @return the constraintDescriptor | |
132 | */ | |
133 | 1 | public ConstraintDescriptor getConstraintDescriptor() { |
134 | 1 | return constraintDescriptor; |
135 | } | |
136 | ||
137 | /** | |
138 | * @param constraintDescriptor the constraintDescriptor to set | |
139 | */ | |
140 | 0 | public void setConstraintDescriptor(ConstraintDescriptor constraintDescriptor) { |
141 | 0 | this.constraintDescriptor = constraintDescriptor; |
142 | } | |
143 | } |
|