View Javadoc
1   package ejava.ejb.examples.encconfig.dto;
2   
3   import java.io.Serializable;
4   
5   @SuppressWarnings("serial")
6   public class NCPair implements Serializable {
7   	private String name;
8   	private String className;
9   
10  	public NCPair() {}
11  	public NCPair(String name, String className) {
12  		this.name = name;
13  		this.className = className;
14  	}
15  	
16  	public String getName() { return name; }
17  	public void setName(String name) {
18  		this.name = name;
19  	}
20  	
21  	public String getClassName() { return className; }
22  	public void setClassName(String className) {
23  		this.className = className;
24  	}
25  	
26  	@Override
27  	public String toString() {
28  		return name + ":" + className;
29  	}
30  }