📄 employeevo.java
字号:
package demo.hr;
/**
* The EmployeeVO contains all the information about an employee.
* @author MAbernethy
*/
public class EmployeeVO
{
private String firstName;
private String lastName;
private int bandLevel;
private int yearsService;
private java.math.BigDecimal salary;
private String address;
private String state;
private int zipCode;
private boolean married;
/**
* Gets the address.
* @return the address
*/
public String getAddress()
{
return address;
}
/**
* Gets the band level.
* @return the band level
*/
public int getBandLevel()
{
return bandLevel;
}
/**
* Gets the first name.
* @return the first name
*/
public String getFirstName()
{
return firstName;
}
/**
* Gets the last name.
* @return the last name
*/
public String getLastName()
{
return lastName;
}
/**
* Gets the married status.
* @return the married status
*/
public boolean isMarried()
{
return married;
}
/**
* Gets the salary.
* @return the salary
*/
public java.math.BigDecimal getSalary()
{
return salary;
}
/**
* Gets the state.
* @return the state
*/
public String getState()
{
return state;
}
/**
* Gets the years of service.
* @return the years of service
*/
public int getYearsService()
{
return yearsService;
}
/**
* Gets the zip code
* @return the zip code
*/
public int getZipCode()
{
return zipCode;
}
/**
* Sets the address.
* @param string the address
*/
public void setAddress(String string)
{
address = string;
}
/**
* Sets the band level
* @param i the band level
*/
public void setBandLevel(int i)
{
bandLevel = i;
}
/**
* Sets the first name
* @param string the first name
*/
public void setFirstName(String string)
{
firstName = string;
}
/**
* Sets the last name
* @param string the last name
*/
public void setLastName(String string)
{
lastName = string;
}
/**
* Sets the married status.
* @param b the married status
*/
public void setMarried(boolean b)
{
married = b;
}
/**
* Sets the salary.
* @param decimal the salary
*/
public void setSalary(java.math.BigDecimal decimal)
{
salary = decimal;
}
/**
* Sets the state.
* @param string the state
*/
public void setState(String string)
{
state = string;
}
/**
* Sets the years of service.
* @param i the service
*/
public void setYearsService(int i)
{
yearsService = i;
}
/**
* Sets the zip code.
* @param i the zip code
*/
public void setZipCode(int i)
{
zipCode = i;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -