| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field | Line # 56 | 12 | 0% | 12 | 8 | 66.7% | 0.6666667 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (11) | |||
| Result | |||
| 0.5 | org.kuali.student.common.validator.old.ValidatorTest.testRequired  org.kuali.student.common.validator.old.ValidatorTest.testRequired | 1 PASS | |
| 0.5 | org.kuali.student.common.validator.old.ValidatorTest.testLengthRange  org.kuali.student.common.validator.old.ValidatorTest.testLengthRange | 1 PASS | |
| 0.5 | org.kuali.student.common.validator.old.ValidatorTest.testMinDateValue  org.kuali.student.common.validator.old.ValidatorTest.testMinDateValue | 1 PASS | |
| 0.5 | org.kuali.student.common.validator.old.ValidatorTest.testMaxLength  org.kuali.student.common.validator.old.ValidatorTest.testMaxLength | 1 PASS | |
| 0.5 | org.kuali.student.common.validator.old.ValidatorTest.testMinLength  org.kuali.student.common.validator.old.ValidatorTest.testMinLength | 1 PASS | |
| 0.5 | org.kuali.student.common.validator.old.ValidatorTest.testNestedStructures  org.kuali.student.common.validator.old.ValidatorTest.testNestedStructures | 1 PASS | |
| 0.5 | org.kuali.student.common.validator.old.ValidatorTest.testValidChars  org.kuali.student.common.validator.old.ValidatorTest.testValidChars | 1 PASS | |
| 0.5 | org.kuali.student.common.validator.old.ValidatorTest.testDoubleValueRange  org.kuali.student.common.validator.old.ValidatorTest.testDoubleValueRange | 1 PASS | |
| 0.41666666 | org.kuali.student.common.assembly.dictionary.old.TestMetadataServiceImpl.testDictionaryBasedMetadata  org.kuali.student.common.assembly.dictionary.old.TestMetadataServiceImpl.testDictionaryBasedMetadata | 1 PASS | |
| 0.25 | org.kuali.student.core.dictionary.service.impl.DictionaryParseTest.test2  org.kuali.student.core.dictionary.service.impl.DictionaryParseTest.test2 | 1 PASS | |
| 0.25 | org.kuali.student.core.dictionary.service.impl.DictionaryValidatorTest.testRequiredValidation  org.kuali.student.core.dictionary.service.impl.DictionaryValidatorTest.testRequiredValidation | 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 | ||
| 28 | import javax.xml.bind.annotation.XmlAccessType; | |
| 29 | import javax.xml.bind.annotation.XmlAccessorType; | |
| 30 | import javax.xml.bind.annotation.XmlAttribute; | |
| 31 | import javax.xml.bind.annotation.XmlElement; | |
| 32 | ||
| 33 | ||
| 34 | /** | |
| 35 | * <p>Java class for anonymous complex type. | |
| 36 | * | |
| 37 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 38 | * | |
| 39 | * <pre> | |
| 40 | * <complexType> | |
| 41 | * <complexContent> | |
| 42 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 43 | * <sequence> | |
| 44 | * <element ref="{http://www.dto.dictionary.student.kuali.org}fieldDescriptor"/> | |
| 45 | * <element name="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean"/> | |
| 46 | * </sequence> | |
| 47 | * <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /> | |
| 48 | * </restriction> | |
| 49 | * </complexContent> | |
| 50 | * </complexType> | |
| 51 | * </pre> | |
| 52 | * | |
| 53 | * | |
| 54 | */ | |
| 55 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 56 | public class Field implements Serializable{ | |
| 57 | ||
| 58 | private static final long serialVersionUID = 1L; | |
| 59 | ||
| 60 | @XmlAttribute(required = true) | |
| 61 | protected String key; | |
| 62 | ||
| 63 | @XmlAttribute | |
| 64 | protected String id; | |
| 65 | ||
| 66 | @XmlElement //TODO there is no required here but there should be | |
| 67 | protected FieldDescriptor fieldDescriptor; | |
| 68 | ||
| 69 | @XmlElement | |
| 70 | protected ConstraintDescriptor constraintDescriptor; | |
| 71 | ||
| 72 | @XmlElement | |
| 73 | protected boolean selector; | |
| 74 | ||
| 75 | @XmlElement | |
| 76 | protected boolean dynamic; | |
| 77 | ||
| 78 | ||
| 79 | /** | |
| 80 | * Gets the value of the fieldDescriptor property. | |
| 81 | * | |
| 82 | * @return | |
| 83 | * possible object is | |
| 84 | * {@link FieldDescriptor } | |
| 85 | * | |
| 86 | */ | |
| 87 | 36 |  public FieldDescriptor getFieldDescriptor() { | 
| 88 | 36 | return fieldDescriptor; | 
| 89 | } | |
| 90 | ||
| 91 | /** | |
| 92 | * Sets the value of the fieldDescriptor property. | |
| 93 | * | |
| 94 | * @param value | |
| 95 | * allowed object is | |
| 96 | * {@link FieldDescriptor } | |
| 97 | * | |
| 98 | */ | |
| 99 | 4719 |  public void setFieldDescriptor(FieldDescriptor value) { | 
| 100 | 4719 | this.fieldDescriptor = value; | 
| 101 | } | |
| 102 | ||
| 103 | 0 |  public boolean isSelector() { | 
| 104 | 0 | return selector; | 
| 105 | } | |
| 106 | ||
| 107 | /** | |
| 108 | * Indicates if the field is a selector field, which indicates that changes | |
| 109 | * to this field may alter the structure of the object type. This may provide | |
| 110 | * insight as to frequency of calls to a validate operation, as the | |
| 111 | * constraints will not be externalized. | |
| 112 | * | |
| 113 | * @param isSelector | |
| 114 | */ | |
| 115 | 50 |  public void setSelector(boolean isSelector) { | 
| 116 | 50 | this.selector = isSelector; | 
| 117 | } | |
| 118 | ||
| 119 | /** | |
| 120 | * Gets the value of the key property. | |
| 121 | * | |
| 122 | * @return | |
| 123 | * possible object is | |
| 124 | * {@link String } | |
| 125 | * | |
| 126 | */ | |
| 127 | 85 |  public String getKey() { | 
| 128 | 85 | return key; | 
| 129 | } | |
| 130 | ||
| 131 | /** | |
| 132 | * Sets the value of the key property. | |
| 133 | * | |
| 134 | * @param value | |
| 135 | * allowed object is | |
| 136 | * {@link String } | |
| 137 | * | |
| 138 | */ | |
| 139 | 4719 |  public void setKey(String value) { | 
| 140 | 4719 | this.key = value; | 
| 141 | } | |
| 142 | ||
| 143 | /** | |
| 144 | * @return the constraintDescriptor | |
| 145 | */ | |
| 146 | 69 |  public ConstraintDescriptor getConstraintDescriptor() { | 
| 147 | 69 | return constraintDescriptor; | 
| 148 | } | |
| 149 | ||
| 150 | /** | |
| 151 | * @param constraintDescriptor the constraintDescriptor to set | |
| 152 | */ | |
| 153 | 4718 |  public void setConstraintDescriptor(ConstraintDescriptor constraintDescriptor) { | 
| 154 | 4718 | this.constraintDescriptor = constraintDescriptor; | 
| 155 | } | |
| 156 | ||
| 157 | /** | |
| 158 | * @return the id | |
| 159 | */ | |
| 160 | 0 |  public String getId() { | 
| 161 | 0 | return id; | 
| 162 | } | |
| 163 | ||
| 164 | /** | |
| 165 | * @param id the id to set | |
| 166 | */ | |
| 167 | 0 |  public void setId(String id) { | 
| 168 | 0 | this.id = id; | 
| 169 | } | |
| 170 | ||
| 171 | /** | |
| 172 | * @return the dynamic | |
| 173 | */ | |
| 174 | 0 |  public boolean isDynamic() { | 
| 175 | 0 | return dynamic; | 
| 176 | } | |
| 177 | ||
| 178 | /** | |
| 179 | * @param dyncamic the dynamic to set | |
| 180 | */ | |
| 181 | 100 |  public void setDynamic(boolean dynamic) { | 
| 182 | 100 | this.dynamic = dynamic; | 
| 183 | } | |
| 184 | ||
| 185 | } | |
| 
 | ||||||||||||