@Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }

    VideoUserContactEntryClp videoUserContactEntry = null;

    try {
      videoUserContactEntry = (VideoUserContactEntryClp) obj;
    } catch (ClassCastException cce) {
      return false;
    }

    long primaryKey = videoUserContactEntry.getPrimaryKey();

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