@Override
  public Object clone() {
    VideoUserContactEntryClp clone = new VideoUserContactEntryClp();

    clone.setVideoUserContactId(getVideoUserContactId());
    clone.setVideoUserId(getVideoUserId());
    clone.setContactId(getContactId());
    clone.setCompanyId(getCompanyId());
    clone.setStartTime(getStartTime());
    clone.setEndTime(getEndTime());
    clone.setPriority(getPriority());
    clone.setStatus(getStatus());

    return clone;
  }
  @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;
    }
  }