Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.map.event
Class ProcedureEvent

    java.lang.Object
      java.util.EventObject
          org.apache.cayenne.event.CayenneEvent
              org.apache.cayenne.map.event.MapEvent
                  org.apache.cayenne.map.event.ProcedureEvent

All Implemented Interfaces:
  Serializable

    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.

See Also:
  Serialized Form

Field Summary
`protected Procedure` | `procedure`

Fields inherited from class org.apache.cayenne.map.event.MapEvent
`ADD, CHANGE, domain, id, oldName, oldNameSet, REMOVE`

Fields inherited from class org.apache.cayenne.event.CayenneEvent
`info, postedBy, subject`

Fields inherited from class java.util.EventObject
`source`

Constructor Summary
`ProcedureEvent(Object source, Procedure procedure)`
`ProcedureEvent(Object source, Procedure procedure, int type)`
`ProcedureEvent(Object source, Procedure procedure, String oldName)`

Method Summary
`String` | `getNewName()` Returns the newName of the object that caused this event.
`Procedure` | `getProcedure()`
`void` | `setProcedure(Procedure procedure)`

Methods inherited from class org.apache.cayenne.map.event.MapEvent
`getDomain, getId, getOldName, isNameChange, setDomain, 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

### procedure

    protected Procedure procedure

Constructor Detail

### ProcedureEvent

    public ProcedureEvent(Object source,
                          Procedure procedure)

### ProcedureEvent

    public ProcedureEvent(Object source,
                          Procedure procedure,
                          String oldName)

### ProcedureEvent

    public ProcedureEvent(Object source,
                          Procedure procedure,
                          int type)

Method Detail

### getProcedure

    public Procedure getProcedure()

### setProcedure

    public void setProcedure(Procedure procedure)

### getNewName

    public String getNewName()

  Description copied from class: `MapEvent`
  Returns the newName of the object that caused this event.

  Specified by:
    `getNewName` in class `MapEvent`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.