001package org.kuali.rice.krms.dto;
002
003import org.kuali.rice.krms.api.repository.term.TermParameterDefinitionContract;
004
005import java.io.Serializable;
006
007/**
008 * Created with IntelliJ IDEA.
009 * User: SW
010 * Date: 2013/03/05
011 * Time: 5:18 PM
012 * To change this template use File | Settings | File Templates.
013 */
014public class TermParameterEditor implements TermParameterDefinitionContract, Serializable {
015
016    private String id;
017    private String termId;
018    private String name;
019    private String value;
020    private Long versionNumber;
021
022    public TermParameterEditor(){
023        super();
024    }
025
026    public TermParameterEditor(TermParameterDefinitionContract contract){
027        this.id = contract.getId();
028        this.termId = contract.getTermId();
029        this.name = contract.getName();
030        this.value = contract.getValue();
031        this.versionNumber = contract.getVersionNumber();
032    }
033
034    public void setId(String id) {
035        this.id = id;
036    }
037
038    public void setTermId(String termId) {
039        this.termId = termId;
040    }
041
042    public void setName(String name) {
043        this.name = name;
044    }
045
046    public void setValue(String value) {
047        this.value = value;
048    }
049
050    public void setVersionNumber(Long versionNumber) {
051        this.versionNumber = versionNumber;
052    }
053
054    @Override
055    public String getTermId() {
056        return this.termId;
057    }
058
059    @Override
060    public String getName() {
061        return this.name;
062    }
063
064    @Override
065    public String getValue() {
066        return this.value;
067    }
068
069    @Override
070    public String getId() {
071        return this.id;
072    }
073
074    @Override
075    public Long getVersionNumber() {
076        return this.versionNumber;
077    }
078
079}