Class ProcedureEvent

  extended by java.util.EventObject
      extended by org.apache.cayenne.event.CayenneEvent
          extended by
              extended by
All Implemented Interfaces:

public class ProcedureEvent
extends MapEvent

An event generated when a Procedure object is added to a DataMap, removed from a DataMap, or changed within a DataMap.

Andrei Adamchik
See Also:
Serialized Form

Field Summary
protected  Procedure procedure
Fields inherited from class
ADD, CHANGE, id, oldName, oldNameSet, REMOVE
Fields inherited from class org.apache.cayenne.event.CayenneEvent
info, postedBy, subject
Fields inherited from class java.util.EventObject
Constructor Summary
ProcedureEvent(java.lang.Object source, Procedure procedure)
ProcedureEvent(java.lang.Object source, Procedure procedure, int type)
ProcedureEvent(java.lang.Object source, Procedure procedure, java.lang.String oldName)
Method Summary
 java.lang.String getNewName()
          Returns the newName of the object that caused this event.
 Procedure getProcedure()
 void setProcedure(Procedure procedure)
Methods inherited from class
getId, getOldName, isNameChange, setId, setOldName
Methods inherited from class org.apache.cayenne.event.CayenneEvent
getInfo, getPostedBy, getSubject, setPostedBy, setSubject
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


protected Procedure procedure
Constructor Detail


public ProcedureEvent(java.lang.Object source,
                      Procedure procedure)


public ProcedureEvent(java.lang.Object source,
                      Procedure procedure,
                      java.lang.String oldName)


public ProcedureEvent(java.lang.Object source,
                      Procedure procedure,
                      int type)
Method Detail


public Procedure getProcedure()


public void setProcedure(Procedure procedure)


public java.lang.String getNewName()
Description copied from class: MapEvent
Returns the newName of the object that caused this event.

Specified by:
getNewName in class MapEvent

Copyright © 2001-2006 All Rights Reserved.