@Override public Object clone() { IssueTypeClp clone = new IssueTypeClp(); clone.setIssueTypeId(getIssueTypeId()); clone.setTypeName(getTypeName()); return clone; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof IssueTypeClp)) { return false; } IssueTypeClp issueType = (IssueTypeClp) obj; long primaryKey = issueType.getPrimaryKey(); if (getPrimaryKey() == primaryKey) { return true; } else { return false; } }