📄 abstracttestid.java
字号:
package org.fireflow.example.data;
/**
* AbstracttestId entity provides the base persistence definition of the testId entity. @author MyEclipse Persistence Tools
*/
public abstract class AbstracttestId implements java.io.Serializable {
// Fields
private String processinstanceid;
private String name;
// Constructors
/** default constructor */
public AbstracttestId() {
}
/** full constructor */
public AbstracttestId(String processinstanceid, String name) {
this.processinstanceid = processinstanceid;
this.name = name;
}
// Property accessors
public String getProcessinstanceid() {
return this.processinstanceid;
}
public void setProcessinstanceid(String processinstanceid) {
this.processinstanceid = processinstanceid;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof AbstracttestId) ) return false;
AbstracttestId castOther = ( AbstracttestId ) other;
return ( (this.getProcessinstanceid()==castOther.getProcessinstanceid()) || ( this.getProcessinstanceid()!=null && castOther.getProcessinstanceid()!=null && this.getProcessinstanceid().equals(castOther.getProcessinstanceid()) ) ) && ( (this.getName()==castOther.getName()) || ( this.getName()!=null && castOther.getName()!=null && this.getName().equals(castOther.getName()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getProcessinstanceid() == null ? 0 : this.getProcessinstanceid().hashCode() );
result = 37 * result + ( getName() == null ? 0 : this.getName().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -