package agg.attribute; import java.io.Serializable; /* * Attribute clients that want to be notified about attribute * events must implement this interface. *@version $Id: AttrObserver.java,v 1.2 2007/09/10 13:05:31 olga Exp $ *@author $Author: olga $ */ public interface AttrObserver extends Serializable { static final long serialVersionUID = 2902379059221186917L; /* * Called when the observed attribute was changed. @param event Attribute * event object with information about the change. */ public void attributeChanged(AttrEvent event); /* * This is a test whether the attribute observer wants its connection with * an attribute tuple to be persistent. If the result is true, the observer * is included in the serialization of its attribute tuple and must then * implement the java.io.Serializable interface. */ public boolean isPersistentFor(AttrTuple at); } /* * $Log: AttrObserver.java,v $ * Revision 1.2 2007/09/10 13:05:31 olga * In this update: * - package xerces2.5.0 is not used anymore; * - class com.objectspace.jgl.Pair is replaced by the agg own generic class agg.util.Pair; * - bugs fixed in: usage of PACs in rules; match completion; * usage of static method calls in attr. conditions * - graph editing: added some new features * Revision 1.1 2005/08/25 11:56:55 enrico *** empty * log message *** * * Revision 1.1 2005/05/30 12:58:03 olga Version with Eclipse * * Revision 1.2 2002/09/23 12:23:47 komm added type graph in xt_basis, editor * and GUI * * Revision 1.1.1.1 2002/07/11 12:16:55 olga Imported sources * * Revision 1.3 2000/04/05 12:06:58 shultzke serialVersionUID aus V1.0.0 * generiert * */