📄 employeeinfo.java
字号:
* 将此 EmployeeInfo 的 school 设置为指定的值。
* @param school,新建 school
*/
public void setSchool(String school)
{
this.school = school;
}
/**
* 获取此 EmployeeInfo 的 leaveSchoolTime。
* @return leaveSchoolTime
*/
public Date getLeaveSchoolTime()
{
return this.leaveSchoolTime;
}
/**
* 将此 EmployeeInfo 的 leaveSchoolTime 设置为指定的值。
* @param leaveSchoolTime,新建 leaveSchoolTime
*/
public void setLeaveSchoolTime(Date leaveSchoolTime)
{
this.leaveSchoolTime = leaveSchoolTime;
}
/**
* 获取此 EmployeeInfo 的 politics。
* @return politics
*/
public String getPolitics()
{
return this.politics;
}
/**
* 将此 EmployeeInfo 的 politics 设置为指定的值。
* @param politics,新建 politics
*/
public void setPolitics(String politics)
{
this.politics = politics;
}
/**
* 获取此 EmployeeInfo 的 email。
* @return email
*/
public String getEmail()
{
return this.email;
}
/**
* 将此 EmployeeInfo 的 email 设置为指定的值。
* @param email,新建 email
*/
public void setEmail(String email)
{
this.email = email;
}
/**
* 获取此 EmployeeInfo 的 netCommunication。
* @return netCommunication
*/
public String getNetCommunication()
{
return this.netCommunication;
}
/**
* 将此 EmployeeInfo 的 netCommunication 设置为指定的值。
* @param netCommunication,新建 netCommunication
*/
public void setNetCommunication(String netCommunication)
{
this.netCommunication = netCommunication;
}
/**
* 获取此 EmployeeInfo 的 homeAddress。
* @return homeAddress
*/
public String getHomeAddress()
{
return this.homeAddress;
}
/**
* 将此 EmployeeInfo 的 homeAddress 设置为指定的值。
* @param homeAddress,新建 homeAddress
*/
public void setHomeAddress(String homeAddress)
{
this.homeAddress = homeAddress;
}
/**
* 获取此 EmployeeInfo 的 cellPhone。
* @return cellPhone
*/
public String getCellPhone()
{
return this.cellPhone;
}
/**
* 将此 EmployeeInfo 的 cellPhone 设置为指定的值。
* @param cellPhone,新建 cellPhone
*/
public void setCellPhone(String cellPhone)
{
this.cellPhone = cellPhone;
}
/**
* 获取此 EmployeeInfo 的 iDCardNo。
* @return iDCardNo
*/
public String getIDCardNo()
{
return this.iDCardNo;
}
/**
* 将此 EmployeeInfo 的 iDCardNo 设置为指定的值。
* @param iDCardNo,新建 iDCardNo
*/
public void setIDCardNo(String iDCardNo)
{
this.iDCardNo = iDCardNo;
}
/**
* 获取此 EmployeeInfo 的 startWorkTime。
* @return startWorkTime
*/
public Date getStartWorkTime()
{
return this.startWorkTime;
}
/**
* 将此 EmployeeInfo 的 startWorkTime 设置为指定的值。
* @param startWorkTime,新建 startWorkTime
*/
public void setStartWorkTime(Date startWorkTime)
{
this.startWorkTime = startWorkTime;
}
/**
* 获取此 EmployeeInfo 的 nativePlace。
* @return nativePlace
*/
public String getNativePlace()
{
return this.nativePlace;
}
/**
* 将此 EmployeeInfo 的 nativePlace 设置为指定的值。
* @param nativePlace,新建 nativePlace
*/
public void setNativePlace(String nativePlace)
{
this.nativePlace = nativePlace;
}
/**
* 获取此 EmployeeInfo 的 nation。
* @return nation
*/
public String getNation()
{
return this.nation;
}
/**
* 将此 EmployeeInfo 的 nation 设置为指定的值。
* @param nation,新建 nation
*/
public void setNation(String nation)
{
this.nation = nation;
}
/**
* 获取此 EmployeeInfo 的 health。
* @return health
*/
public String getHealth()
{
return this.health;
}
/**
* 将此 EmployeeInfo 的 health 设置为指定的值。
* @param health,新建 health
*/
public void setHealth(String health)
{
this.health = health;
}
/**
* 获取此 EmployeeInfo 的 marriage。
* @return marriage
*/
public String getMarriage()
{
return this.marriage;
}
/**
* 将此 EmployeeInfo 的 marriage 设置为指定的值。
* @param marriage,新建 marriage
*/
public void setMarriage(String marriage)
{
this.marriage = marriage;
}
/**
* 获取此 EmployeeInfo 的 remark。
* @return remark
*/
public String getRemark()
{
return this.remark;
}
/**
* 将此 EmployeeInfo 的 remark 设置为指定的值。
* @param remark,新建 remark
*/
public void setRemark(String remark)
{
this.remark = remark;
}
/**
* 获取此 EmployeeInfo 的 personnelChangeCollection。
* @return personnelChangeCollection
*/
public Collection<PersonnelChange> getPersonnelChangeCollection()
{
return this.personnelChangeCollection;
}
/**
* 将此 EmployeeInfo 的 personnelChangeCollection 设置为指定的值。
* @param personnelChangeCollection,新建 personnelChangeCollection
*/
public void setPersonnelChangeCollection(Collection<PersonnelChange> personnelChangeCollection)
{
this.personnelChangeCollection = personnelChangeCollection;
}
/**
* 获取此 EmployeeInfo 的 personnelChangeCollection1。
* @return personnelChangeCollection1
*/
public Collection<PersonnelChange> getPersonnelChangeCollection1()
{
return this.personnelChangeCollection1;
}
/**
* 将此 EmployeeInfo 的 personnelChangeCollection1 设置为指定的值。
* @param personnelChangeCollection1,新建 personnelChangeCollection1
*/
public void setPersonnelChangeCollection1(Collection<PersonnelChange> personnelChangeCollection1)
{
this.personnelChangeCollection1 = personnelChangeCollection1;
}
/**
* 获取此 EmployeeInfo 的 salaryChangeCollection。
* @return salaryChangeCollection
*/
public Collection<SalaryChange> getSalaryChangeCollection()
{
return this.salaryChangeCollection;
}
/**
* 将此 EmployeeInfo 的 salaryChangeCollection 设置为指定的值。
* @param salaryChangeCollection,新建 salaryChangeCollection
*/
public void setSalaryChangeCollection(Collection<SalaryChange> salaryChangeCollection)
{
this.salaryChangeCollection = salaryChangeCollection;
}
/**
* 获取此 EmployeeInfo 的 salaryChangeCollection1。
* @return salaryChangeCollection1
*/
public Collection<SalaryChange> getSalaryChangeCollection1()
{
return this.salaryChangeCollection1;
}
/**
* 将此 EmployeeInfo 的 salaryChangeCollection1 设置为指定的值。
* @param salaryChangeCollection1,新建 salaryChangeCollection1
*/
public void setSalaryChangeCollection1(Collection<SalaryChange> salaryChangeCollection1)
{
this.salaryChangeCollection1 = salaryChangeCollection1;
}
/**
* 返回对象的散列代码值。该实现根据此对象
* 中 id 字段计算散列代码值。
* @return 此对象的散列代码值。
*/
@Override
public int hashCode()
{
int hash = 0;
hash += (this.employeeId != null ? this.employeeId.hashCode() : 0);
return hash;
}
/**
* 确定其他对象是否等于此 EmployeeInfo。当且仅当
* 参数不为 null 且该参数是具有与此对象相同 id 字段值的 EmployeeInfo 对象时,
* 结果才为 <code>true</code>。
* @param 对象,要比较的引用对象
* 如果此对象与参数相同,则 @return <code>true</code>;
* 否则为 <code>false</code>。
*/
@Override
public boolean equals(Object object)
{
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof EmployeeInfo)) {
return false;
}
EmployeeInfo other = (EmployeeInfo)object;
if (this.employeeId != other.employeeId && (this.employeeId == null || !this.employeeId.equals(other.employeeId))) return false;
return true;
}
/**
* 返回对象的字符串表示法。该实现根据 id 字段
* 构造此表示法。
* @return 对象的字符串表示法。
*/
@Override
public String toString()
{
return "temp.EmployeeInfo[employeeId=" + employeeId + "]";
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -