📄 country.java
字号:
/*
* @author : Neelesh
* @Version : 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the File : Country.java
* Creation/Modification History :
*
* Neelesh 14-Jan-2003 Created
*
*/
package oracle.otnsamples.vsm.services.data;
/**
* Class holds country information - country id and country name This class has
* a set of getter and setter methods to manage the data.
*
* @author Neelesh
* @version 1.0
*/
public class Country implements java.io.Serializable {
private String countryID; // Country code
private String countryName; // Country name
/**
* Default constructor, takes no arguments
*/
public Country() {
}
/**
* Creates a new Country object.
*
* @param id DOCUMENT ME!
* @param name DOCUMENT ME!
*/
public Country(String id, String name) {
countryID = id;
countryName = name;
}
/**
* Gets the country code
*
* @return <b>country</b> country code
*/
public String getCountryID() {
return countryID;
}
/**
* Gets the country name
*
* @return <b>String</b> country name
*/
public String getCountryName() {
return countryName;
}
/**
* Sets the country code
*
* @param <b>country</b> country code
*/
public void setCountryID(String country) {
this.countryID = country;
}
/**
* Sets the country name
*
* @param <b>countryName</b> country name
*/
public void setCountryName(String countryName) {
this.countryName = countryName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -