1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.r2.common.datadictionary;
17
18 import org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint;
19 import org.kuali.student.r2.common.datadictionary.dto.ValidCharactersConstraintInfo;
20
21
22
23
24
25 public class Rice2StudentValidCharactersConstraintConverter {
26
27 private static org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(Rice2StudentValidCharactersConstraintConverter.class);
28
29 public ValidCharactersConstraintInfo convert(ValidCharactersConstraint rice) {
30 ValidCharactersConstraintInfo.Builder bldr = new ValidCharactersConstraintInfo.Builder();
31 bldr.setApplyClientSide(rice.getApplyClientSide());
32
33
34 bldr.setValue (rice.getValue());
35 return bldr.build();
36 }
37 }