|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ValidCharsConstraint | Line # 8 | 2 | 0% | 2 | 0 | 100% |
1.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (13) | |||
| Result | |||
|
0.5
|
org.kuali.student.common.validator.TestValidator.testRequired
org.kuali.student.common.validator.TestValidator.testRequired
|
1 PASS | |
|
0.5
|
org.kuali.student.common.validator.TestValidator.testNestedCaseConstraint
org.kuali.student.common.validator.TestValidator.testNestedCaseConstraint
|
1 PASS | |
|
0.5
|
org.kuali.student.common.validator.TestValidator.testNestedStructures
org.kuali.student.common.validator.TestValidator.testNestedStructures
|
1 PASS | |
|
0.5
|
org.kuali.student.common.validator.TestValidator.testLengthRange
org.kuali.student.common.validator.TestValidator.testLengthRange
|
1 PASS | |
|
0.5
|
org.kuali.student.common.validator.TestValidator.testValidChars
org.kuali.student.common.validator.TestValidator.testValidChars
|
1 PASS | |
|
0.5
|
org.kuali.student.common.assembly.TestAuthorizationFilter.testMaskPermissions
org.kuali.student.common.assembly.TestAuthorizationFilter.testMaskPermissions
|
1 PASS | |
|
0.5
|
org.kuali.student.common.validator.TestValidator.testMinDateValue
org.kuali.student.common.validator.TestValidator.testMinDateValue
|
1 PASS | |
|
0.5
|
org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataService
org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataService
|
1 PASS | |
|
0.5
|
org.kuali.student.common.validator.TestValidator.testDoubleValueRange
org.kuali.student.common.validator.TestValidator.testDoubleValueRange
|
1 PASS | |
|
0.5
|
org.kuali.student.common.validator.TestValidator.testMinLength
org.kuali.student.common.validator.TestValidator.testMinLength
|
1 PASS | |
|
0.5
|
org.kuali.student.common.assembly.TestAuthorizationFilter.testEditPermissions
org.kuali.student.common.assembly.TestAuthorizationFilter.testEditPermissions
|
1 PASS | |
|
0.5
|
org.kuali.student.common.validator.TestValidator.testMaxLength
org.kuali.student.common.validator.TestValidator.testMaxLength
|
1 PASS | |
|
0.5
|
org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataFormatter
org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataFormatter
|
1 PASS | |
| 1 | package org.kuali.student.common.dictionary.dto; | |
| 2 | ||
| 3 | import javax.xml.bind.annotation.XmlAccessType; | |
| 4 | import javax.xml.bind.annotation.XmlAccessorType; | |
| 5 | import javax.xml.bind.annotation.XmlElement; | |
| 6 | ||
| 7 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 8 | public class ValidCharsConstraint extends BaseConstraint { | |
| 9 | ||
| 10 | // TODO: Should this be a list of values | |
| 11 | @XmlElement | |
| 12 | protected String value; // (regex or list of valid chars) | |
| 13 | ||
| 14 | /** | |
| 15 | * @return the value | |
| 16 | */ | |
| 17 | 46 |
public String getValue() { |
| 18 | 46 | return value; |
| 19 | } | |
| 20 | ||
| 21 | /** | |
| 22 | * @param value the value to set | |
| 23 | */ | |
| 24 | 39 |
public void setValue(String value) { |
| 25 | 39 | this.value = value; |
| 26 | } | |
| 27 | ||
| 28 | ||
| 29 | } | |
|
||||||||||||