📄 noncurrentliability.java
字号:
/*
* NonCurrentLiability.java
*
* Created on 2007年6月4日, 下午10:07
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package minco;
import java.io.Serializable;
import java.util.Date;
/**
* 实体类 NonCurrentLiability
*
* @author Virlene Cheng
*/
public class NonCurrentLiability implements Serializable
{
private Date liabilityTime;
private Double longTermLoan;
private Double bondPayables;
private Double otherLongTermLiablity;
/** Creates a new instance of NonCurrentLiability */
public NonCurrentLiability()
{
}
/**
* 使用指定的值创建 NonCurrentLiability 的新实例。
* @param liabilityTime,NonCurrentLiability 的 liabilityTime
*/
public NonCurrentLiability(Date liabilityTime)
{
this.liabilityTime = liabilityTime;
}
/**
* 获取此 NonCurrentLiability 的 liabilityTime。
* @return liabilityTime
*/
public Date getLiabilityTime()
{
return this.liabilityTime;
}
/**
* 将此 NonCurrentLiability 的 liabilityTime 设置为指定的值。
* @param liabilityTime,新建 liabilityTime
*/
public void setLiabilityTime(Date liabilityTime)
{
this.liabilityTime = liabilityTime;
}
/**
* 获取此 NonCurrentLiability 的 longTermLoan。
* @return longTermLoan
*/
public Double getLongTermLoan()
{
return this.longTermLoan;
}
/**
* 将此 NonCurrentLiability 的 longTermLoan 设置为指定的值。
* @param longTermLoan,新建 longTermLoan
*/
public void setLongTermLoan(Double longTermLoan)
{
this.longTermLoan = longTermLoan;
}
/**
* 获取此 NonCurrentLiability 的 bondPayables。
* @return bondPayables
*/
public Double getBondPayables()
{
return this.bondPayables;
}
/**
* 将此 NonCurrentLiability 的 bondPayables 设置为指定的值。
* @param bondPayables,新建 bondPayables
*/
public void setBondPayables(Double bondPayables)
{
this.bondPayables = bondPayables;
}
/**
* 获取此 NonCurrentLiability 的 otherLongTermLiablity。
* @return otherLongTermLiablity
*/
public Double getOtherLongTermLiablity()
{
return this.otherLongTermLiablity;
}
/**
* 将此 NonCurrentLiability 的 otherLongTermLiablity 设置为指定的值。
* @param otherLongTermLiablity,新建 otherLongTermLiablity
*/
public void setOtherLongTermLiablity(Double otherLongTermLiablity)
{
this.otherLongTermLiablity = otherLongTermLiablity;
}
/**
* 返回对象的散列代码值。该实现根据此对象
* 中 id 字段计算散列代码值。
* @return 此对象的散列代码值。
*/
public int hashCode()
{
int hash = 0;
hash += (this.liabilityTime != null ? this.liabilityTime.hashCode() : 0);
return hash;
}
/**
* 确定其他对象是否等于此 NonCurrentLiability。当且仅当
* 参数不为 null 且该参数是具有与此对象相同 id 字段值的 NonCurrentLiability 对象时,
* 结果才为 <code>true</code>。
* @param 对象,要比较的引用对象
* 如果此对象与参数相同,则 @return <code>true</code>;
* 否则为 <code>false</code>。
*/
public boolean equals(Object object)
{
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof NonCurrentLiability)) {
return false;
}
NonCurrentLiability other = (NonCurrentLiability)object;
if (this.liabilityTime != other.liabilityTime && (this.liabilityTime == null || !this.liabilityTime.equals(other.liabilityTime))) return false;
return true;
}
/**
* 返回对象的字符串表示法。该实现根据 id 字段
* 构造此表示法。
* @return 对象的字符串表示法。
*/
public String toString()
{
return "temp.NonCurrentLiability[liabilityTime=" + liabilityTime + "]";
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -