Exemple #1
0
 /**
  * Clone the object into the specified workspace. The new object is <i>not</i> added to the
  * directory of that workspace (you must do this yourself if you want it there). The result is a
  * new relation with no links and no container.
  *
  * @param workspace The workspace for the cloned object.
  * @exception CloneNotSupportedException If one or more of the attributes cannot be cloned.
  * @return A new ComponentRelation.
  */
 public Object clone(Workspace workspace) throws CloneNotSupportedException {
   ComponentRelation newObject = (ComponentRelation) super.clone(workspace);
   newObject._container = null;
   return newObject;
 }