1 package org.kuali.rice.krms.dto;
2
3 import org.kuali.rice.krms.api.repository.term.TermParameterDefinitionContract;
4
5 import java.io.Serializable;
6
7
8
9
10
11
12
13
14 public class TermParameterEditor implements TermParameterDefinitionContract, Serializable {
15
16 private String id;
17 private String termId;
18 private String name;
19 private String value;
20 private Long versionNumber;
21
22 public TermParameterEditor(){
23 super();
24 }
25
26 public TermParameterEditor(TermParameterDefinitionContract contract){
27 this.id = contract.getId();
28 this.termId = contract.getTermId();
29 this.name = contract.getName();
30 this.value = contract.getValue();
31 this.versionNumber = contract.getVersionNumber();
32 }
33
34 public void setId(String id) {
35 this.id = id;
36 }
37
38 public void setTermId(String termId) {
39 this.termId = termId;
40 }
41
42 public void setName(String name) {
43 this.name = name;
44 }
45
46 public void setValue(String value) {
47 this.value = value;
48 }
49
50 public void setVersionNumber(Long versionNumber) {
51 this.versionNumber = versionNumber;
52 }
53
54 @Override
55 public String getTermId() {
56 return this.termId;
57 }
58
59 @Override
60 public String getName() {
61 return this.name;
62 }
63
64 @Override
65 public String getValue() {
66 return this.value;
67 }
68
69 @Override
70 public String getId() {
71 return this.id;
72 }
73
74 @Override
75 public Long getVersionNumber() {
76 return this.versionNumber;
77 }
78
79 }