package in.co.sunrays.proj1.dto; /** * College JavaBean encapsulates College attributes * * @author SUNRAYS Technologies * @version 1.0 * @Copyright (c) SUNRAYS Technologies */ public class CollegeDTO extends BaseDTO { /** * Name of College */ private String name; /** * Address of College */ private String address; /** * State of College */ private String state; /** * City of College */ private String city; /** * Phoneno of College */ private String phoneNo; /** * accessor */ public String getName() { return name; } public void setName(String name) { this.name = name; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getState() { return state; } public void setState(String state) { this.state = state; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getPhoneNo() { return phoneNo; } public void setPhoneNo(String phoneNo) { this.phoneNo = phoneNo; } @Override public String getKey() { return id + ""; } @Override public String getValue() { return name; } } |