/** * Makes a clone of this intact object. * * @return a cloned version of the current instance. * * @throws CloneNotSupportedException to indicate that an instance cannot be cloned. */ @Override public Object clone() throws CloneNotSupportedException { IntactObjectImpl copy = ( IntactObjectImpl ) super.clone(); // Reset the AC. copy.setAc( null ); // Sets the dates to the current date. copy.setCreated( null ); copy.setUpdated( null ); return copy; }
/** * Makes a clone of this intact object. * * @return a cloned version of the current instance. * * @throws CloneNotSupportedException to indicate that an instance cannot be cloned. */ @Override public Object clone() throws CloneNotSupportedException { IntactObjectImpl copy = ( IntactObjectImpl ) super.clone(); // Reset the AC. copy.setAc( null ); // Sets the dates to the current date. copy.setCreated( null ); copy.setUpdated( null ); return copy; }
/** * Makes a clone of this intact object. * * @return a cloned version of the current instance. * * @throws CloneNotSupportedException to indicate that an instance cannot be cloned. */ @Override public Object clone() throws CloneNotSupportedException { IntactObjectImpl copy = ( IntactObjectImpl ) super.clone(); // Reset the AC. copy.setAc( null ); // Sets the dates to the current date. copy.setCreated( null ); copy.setUpdated( null ); return copy; }