/* * $Id: CopyCapability.java,v 1.2 2006/09/25 08:52:36 acaproni Exp $ * * $Date: 2006/09/25 08:52:36 $ * $Revision: 1.2 $ * $Author: acaproni $ * * Copyright CERN, All Rights Reserved. */ package cern.gp.capabilities; import cern.gp.nodes.GPNode; /** * Capability an object implements so that it can be copied. * This capability is invoked by the corresponding Action * * @see cern.gp.actions.CopyAction * @author Vito Baggiolini * @version $Revision: 1.2 $ $Date: 2006/09/25 08:52:36 $ */ public interface CopyCapability extends Capability { /** * Tells this object that it has to be copied. The object * has to interpret what copy means in its own context, which is done by * implementing this interface. * @param node the node representing the bean on which the capability has been activated */ public void copy(GPNode node); }