/** * Returns a clone of this Objects instance.<p> * * @return a clone of this instance */ @Override public Object clone() { CmsResource clone = new CmsFolder( getStructureId(), getResourceId(), getRootPath(), getTypeId(), getFlags(), getProjectLastModified(), getState(), getDateCreated(), getUserCreated(), getDateLastModified(), getUserLastModified(), getDateReleased(), getDateExpired(), getVersion()); if (isTouched()) { clone.setDateLastModified(getDateLastModified()); } return clone; }
/** * Returns a clone of this Objects instance.<p> * * @return a clone of this instance */ @Override public Object clone() { CmsResource clone = new CmsFolder( getStructureId(), getResourceId(), getRootPath(), getTypeId(), getFlags(), getProjectLastModified(), getState(), getDateCreated(), getUserCreated(), getDateLastModified(), getUserLastModified(), getDateReleased(), getDateExpired(), getVersion()); if (isTouched()) { clone.setDateLastModified(getDateLastModified()); } return clone; }