Ejemplo n.º 1
0
  @Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }

    if (!(obj instanceof LFQuestionClp)) {
      return false;
    }

    LFQuestionClp lfQuestion = (LFQuestionClp) obj;

    long primaryKey = lfQuestion.getPrimaryKey();

    if (getPrimaryKey() == primaryKey) {
      return true;
    } else {
      return false;
    }
  }