?? locationvo.java
字號(hào):
/*
* Created on 2006-1-28
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package com.xyz.data;
import java.io.Serializable;
/**
* @author admin
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class LocationVO implements Serializable {
private String city;
private String state;
private String zipCode;
private String areaCode;
private int salesCount;
public LocationVO(){
city = "";
state = "";
zipCode = "";
areaCode = "";
}
public LocationVO(String aCity, String aState, String aZipeCode,
String anAreaCode){
city = aCity;
state = aState;
zipCode = aZipeCode;
areaCode = anAreaCode;
}
public LocationVO(String aCity, String aState, String aZipeCode,
String anAreaCode,int aSalesCount){
city = aCity;
state = aState;
zipCode = aZipeCode;
areaCode = anAreaCode;
salesCount = aSalesCount;
}
public LocationVO(LocationVO locationVO, int aSalesCount){
city = locationVO.city;
state = locationVO.state;
zipCode = locationVO.zipCode;
areaCode = locationVO.areaCode;
salesCount = aSalesCount;
}
/**
* @return
*/
public String getAreaCode() {
return areaCode;
}
/**
* @return
*/
public String getCity() {
return city;
}
/**
* @return
*/
public int getSalesCount() {
return salesCount;
}
/**
* @return
*/
public String getState() {
return state;
}
/**
* @return
*/
public String getZipCode() {
return zipCode;
}
/**
* @param string
*/
public void setAreaCode(String string) {
areaCode = string;
}
/**
* @param string
*/
public void setCity(String string) {
city = string;
}
/**
* @param i
*/
public void setSalesCount(int i) {
salesCount = i;
}
/**
* @param string
*/
public void setState(String string) {
state = string;
}
/**
* @param string
*/
public void setZipCode(String string) {
zipCode = string;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -