|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WhenConstraint | Line # 10 | 8 | 0% | 7 | 5 | 66.7% |
0.6666667
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (7) | |||
| Result | |||
|
0.4
|
org.kuali.student.common.validator.TestValidator.testNestedCaseConstraint
org.kuali.student.common.validator.TestValidator.testNestedCaseConstraint
|
1 PASS | |
|
0.26666668
|
org.kuali.student.common.assembly.TestAuthorizationFilter.testMaskPermissions
org.kuali.student.common.assembly.TestAuthorizationFilter.testMaskPermissions
|
1 PASS | |
|
0.26666668
|
org.kuali.student.common.validator.TestValidator.testNestedStructures
org.kuali.student.common.validator.TestValidator.testNestedStructures
|
1 PASS | |
|
0.26666668
|
org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataService
org.kuali.student.common.assembly.dictionary.TestMetadataServiceImpl.testMetadataService
|
1 PASS | |
|
0.26666668
|
org.kuali.student.common.validator.TestValidator.testDoubleValueRange
org.kuali.student.common.validator.TestValidator.testDoubleValueRange
|
1 PASS | |
|
0.26666668
|
org.kuali.student.common.assembly.TestAuthorizationFilter.testEditPermissions
org.kuali.student.common.assembly.TestAuthorizationFilter.testEditPermissions
|
1 PASS | |
|
0.26666668
|
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 java.util.ArrayList; | |
| 4 | import java.util.List; | |
| 5 | ||
| 6 | import javax.xml.bind.annotation.XmlAccessType; | |
| 7 | import javax.xml.bind.annotation.XmlAccessorType; | |
| 8 | ||
| 9 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 10 | public class WhenConstraint { | |
| 11 | protected List<Object> values; | |
| 12 | protected String valuePath; | |
| 13 | protected Constraint constraint; | |
| 14 | ||
| 15 | 44 |
public List<Object> getValues() { |
| 16 | 44 | return values; |
| 17 | } | |
| 18 | ||
| 19 | 104 |
public void setValues(List<Object> values) { |
| 20 | 104 | this.values = values; |
| 21 | } | |
| 22 | ||
| 23 | 0 |
public void setValue(Object value) { |
| 24 | 0 | values = new ArrayList<Object>(); |
| 25 | 0 | values.add(value); |
| 26 | } | |
| 27 | ||
| 28 | 19 |
public String getValuePath() { |
| 29 | 19 | return valuePath; |
| 30 | } | |
| 31 | ||
| 32 | 0 |
public void setValuePath(String valuePath) { |
| 33 | 0 | this.valuePath = valuePath; |
| 34 | } | |
| 35 | ||
| 36 | 31 |
public Constraint getConstraint() { |
| 37 | 31 | return constraint; |
| 38 | } | |
| 39 | ||
| 40 | 104 |
public void setConstraint(Constraint constraint) { |
| 41 | 104 | this.constraint = constraint; |
| 42 | } | |
| 43 | } | |
|
||||||||||||