📄 noncurrentassets.java
字号:
/*
* NonCurrentAssets.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;
/**
* 实体类 NonCurrentAssets
*
* @author Virlene Cheng
*/
public class NonCurrentAssets implements Serializable
{
private Date asseetTime;
private double tangibleFixedAssets;
private double depreciation;
private double netValue;
private Double intangibleFixedAssets;
private Double investments;
private Double constructionInProgress;
/** Creates a new instance of NonCurrentAssets */
public NonCurrentAssets()
{
}
/**
* 使用指定的值创建 NonCurrentAssets 的新实例。
* @param asseetTime,NonCurrentAssets 的 asseetTime
*/
public NonCurrentAssets(Date asseetTime)
{
this.asseetTime = asseetTime;
}
/**
* 使用指定的值创建 NonCurrentAssets 的新实例。
* @param asseetTime,NonCurrentAssets 的 asseetTime
* @param tangibleFixedAssets,NonCurrentAssets 的 tangibleFixedAssets
* @param depreciation,NonCurrentAssets 的 depreciation
* @param netValue,NonCurrentAssets 的 netValue
*/
public NonCurrentAssets(Date asseetTime, double tangibleFixedAssets, double depreciation, double netValue)
{
this.asseetTime = asseetTime;
this.tangibleFixedAssets = tangibleFixedAssets;
this.depreciation = depreciation;
this.netValue = netValue;
}
/**
* 获取此 NonCurrentAssets 的 asseetTime。
* @return asseetTime
*/
public Date getAsseetTime()
{
return this.asseetTime;
}
/**
* 将此 NonCurrentAssets 的 asseetTime 设置为指定的值。
* @param asseetTime,新建 asseetTime
*/
public void setAsseetTime(Date asseetTime)
{
this.asseetTime = asseetTime;
}
/**
* 获取此 NonCurrentAssets 的 tangibleFixedAssets。
* @return tangibleFixedAssets
*/
public double getTangibleFixedAssets()
{
return this.tangibleFixedAssets;
}
/**
* 将此 NonCurrentAssets 的 tangibleFixedAssets 设置为指定的值。
* @param tangibleFixedAssets,新建 tangibleFixedAssets
*/
public void setTangibleFixedAssets(double tangibleFixedAssets)
{
this.tangibleFixedAssets = tangibleFixedAssets;
}
/**
* 获取此 NonCurrentAssets 的 depreciation。
* @return depreciation
*/
public double getDepreciation()
{
return this.depreciation;
}
/**
* 将此 NonCurrentAssets 的 depreciation 设置为指定的值。
* @param depreciation,新建 depreciation
*/
public void setDepreciation(double depreciation)
{
this.depreciation = depreciation;
}
/**
* 获取此 NonCurrentAssets 的 netValue。
* @return netValue
*/
public double getNetValue()
{
return this.netValue;
}
/**
* 将此 NonCurrentAssets 的 netValue 设置为指定的值。
* @param netValue,新建 netValue
*/
public void setNetValue(double netValue)
{
this.netValue = netValue;
}
/**
* 获取此 NonCurrentAssets 的 intangibleFixedAssets。
* @return intangibleFixedAssets
*/
public Double getIntangibleFixedAssets()
{
return this.intangibleFixedAssets;
}
/**
* 将此 NonCurrentAssets 的 intangibleFixedAssets 设置为指定的值。
* @param intangibleFixedAssets,新建 intangibleFixedAssets
*/
public void setIntangibleFixedAssets(Double intangibleFixedAssets)
{
this.intangibleFixedAssets = intangibleFixedAssets;
}
/**
* 获取此 NonCurrentAssets 的 investments。
* @return investments
*/
public Double getInvestments()
{
return this.investments;
}
/**
* 将此 NonCurrentAssets 的 investments 设置为指定的值。
* @param investments,新建 investments
*/
public void setInvestments(Double investments)
{
this.investments = investments;
}
/**
* 获取此 NonCurrentAssets 的 constructionInProgress。
* @return constructionInProgress
*/
public Double getConstructionInProgress()
{
return this.constructionInProgress;
}
/**
* 将此 NonCurrentAssets 的 constructionInProgress 设置为指定的值。
* @param constructionInProgress,新建 constructionInProgress
*/
public void setConstructionInProgress(Double constructionInProgress)
{
this.constructionInProgress = constructionInProgress;
}
/**
* 返回对象的散列代码值。该实现根据此对象
* 中 id 字段计算散列代码值。
* @return 此对象的散列代码值。
*/
public int hashCode()
{
int hash = 0;
hash += (this.asseetTime != null ? this.asseetTime.hashCode() : 0);
return hash;
}
/**
* 确定其他对象是否等于此 NonCurrentAssets。当且仅当
* 参数不为 null 且该参数是具有与此对象相同 id 字段值的 NonCurrentAssets 对象时,
* 结果才为 <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 NonCurrentAssets)) {
return false;
}
NonCurrentAssets other = (NonCurrentAssets)object;
if (this.asseetTime != other.asseetTime && (this.asseetTime == null || !this.asseetTime.equals(other.asseetTime))) return false;
return true;
}
/**
* 返回对象的字符串表示法。该实现根据 id 字段
* 构造此表示法。
* @return 对象的字符串表示法。
*/
public String toString()
{
return "temp.NonCurrentAssets[asseetTime=" + asseetTime + "]";
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -