📄 baseaircraft.java
字号:
*/
public void setAddress1(java.lang.String address1)
{
this.address1 = address1;
}
/**
* Return the value associated with the column: address2
*/
public java.lang.String getAddress2()
{
return address2;
}
/**
* Set the value related to the column: address2
*
* @param address2
* the address2 value
*/
public void setAddress2(java.lang.String address2)
{
this.address2 = address2;
}
/**
* Return the value associated with the column: city
*/
public java.lang.String getCity()
{
return city;
}
/**
* Set the value related to the column: city
*
* @param city
* the city value
*/
public void setCity(java.lang.String city)
{
this.city = city;
}
/**
* Return the value associated with the column: state
*/
public java.lang.String getState()
{
return state;
}
/**
* Set the value related to the column: state
*
* @param state
* the state value
*/
public void setState(java.lang.String state)
{
this.state = state;
}
/**
* Return the value associated with the column: zip
*/
public java.lang.String getZip()
{
return zip;
}
/**
* Set the value related to the column: zip
*
* @param zip
* the zip value
*/
public void setZip(java.lang.String zip)
{
this.zip = zip;
}
/**
* Return the value associated with the column: region
*/
public java.lang.String getRegion()
{
return region;
}
/**
* Set the value related to the column: region
*
* @param region
* the region value
*/
public void setRegion(java.lang.String region)
{
this.region = region;
}
/**
* Return the value associated with the column: county
*/
public java.lang.String getCounty()
{
return county;
}
/**
* Set the value related to the column: county
*
* @param county
* the county value
*/
public void setCounty(java.lang.String county)
{
this.county = county;
}
/**
* Return the value associated with the column: country
*/
public java.lang.String getCountry()
{
return country;
}
/**
* Set the value related to the column: country
*
* @param country
* the country value
*/
public void setCountry(java.lang.String country)
{
this.country = country;
}
/**
* Return the value associated with the column: certification
*/
public java.lang.String getCertification()
{
return certification;
}
/**
* Set the value related to the column: certification
*
* @param certification
* the certification value
*/
public void setCertification(java.lang.String certification)
{
this.certification = certification;
}
/**
* Return the value associated with the column: status_code
*/
public java.lang.String getStatusCode()
{
return statusCode;
}
/**
* Set the value related to the column: status_code
*
* @param statusCode
* the status_code value
*/
public void setStatusCode(java.lang.String statusCode)
{
this.statusCode = statusCode;
}
/**
* Return the value associated with the column: mode_s_code
*/
public java.lang.String getModeSCode()
{
return modeSCode;
}
/**
* Set the value related to the column: mode_s_code
*
* @param modeSCode
* the mode_s_code value
*/
public void setModeSCode(java.lang.String modeSCode)
{
this.modeSCode = modeSCode;
}
/**
* Return the value associated with the column: fract_owner
*/
public java.lang.String getFractOwner()
{
return fractOwner;
}
/**
* Set the value related to the column: fract_owner
*
* @param fractOwner
* the fract_owner value
*/
public void setFractOwner(java.lang.String fractOwner)
{
this.fractOwner = fractOwner;
}
/**
* Return the value associated with the column: last_action_date
*/
public java.util.Date getLastActionDate()
{
return lastActionDate;
}
/**
* Set the value related to the column: last_action_date
*
* @param lastActionDate
* the last_action_date value
*/
public void setLastActionDate(java.util.Date lastActionDate)
{
this.lastActionDate = lastActionDate;
}
/**
* Return the value associated with the column: cert_issue_date
*/
public java.util.Date getCertIssueDate()
{
return certIssueDate;
}
/**
* Set the value related to the column: cert_issue_date
*
* @param certIssueDate
* the cert_issue_date value
*/
public void setCertIssueDate(java.util.Date certIssueDate)
{
this.certIssueDate = certIssueDate;
}
/**
* Return the value associated with the column: air_worth_date
*/
public java.util.Date getAirWorthDate()
{
return airWorthDate;
}
/**
* Set the value related to the column: air_worth_date
*
* @param airWorthDate
* the air_worth_date value
*/
public void setAirWorthDate(java.util.Date airWorthDate)
{
this.airWorthDate = airWorthDate;
}
public boolean equals(Object obj)
{
if (null == obj)
return false;
if (!(obj instanceof net.ensode.jasperbook.dbaccess.Aircraft))
return false;
else
{
net.ensode.jasperbook.dbaccess.Aircraft aircraft = (net.ensode.jasperbook.dbaccess.Aircraft) obj;
if (null == this.getId() || null == aircraft.getId())
return false;
else
return (this.getId().equals(aircraft.getId()));
}
}
public int hashCode()
{
if (Integer.MIN_VALUE == this.hashCode)
{
if (null == this.getId())
return super.hashCode();
else
{
String hashStr = this.getClass().getName() + ":"
+ this.getId().hashCode();
this.hashCode = hashStr.hashCode();
}
}
return this.hashCode;
}
public int compareTo(Object obj)
{
if (obj.hashCode() > hashCode())
return 1;
else if (obj.hashCode() < hashCode())
return -1;
else
return 0;
}
public String toString()
{
return super.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -