org.apache.cayenne.map.event
Class ProcedureParameterEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.cayenne.event.CayenneEvent
          extended by org.apache.cayenne.map.event.MapEvent
              extended by org.apache.cayenne.map.event.ProcedureParameterEvent
All Implemented Interfaces:
Serializable

public class ProcedureParameterEvent
extends MapEvent

See Also:
Serialized Form

Field Summary
protected  ProcedureParameter parameter
           
 
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
ProcedureParameterEvent(Object source, ProcedureParameter parameter)
           
ProcedureParameterEvent(Object source, ProcedureParameter parameter, int type)
           
ProcedureParameterEvent(Object source, ProcedureParameter parameter, String oldName)
           
 
Method Summary
 String getNewName()
          Returns the newName of the object that caused this event.
 ProcedureParameter getParameter()
           
 void setParameter(ProcedureParameter parameter)
           
 
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

parameter

protected ProcedureParameter parameter
Constructor Detail

ProcedureParameterEvent

public ProcedureParameterEvent(Object source,
                               ProcedureParameter parameter)

ProcedureParameterEvent

public ProcedureParameterEvent(Object source,
                               ProcedureParameter parameter,
                               String oldName)

ProcedureParameterEvent

public ProcedureParameterEvent(Object source,
                               ProcedureParameter parameter,
                               int type)
Method Detail

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

getParameter

public ProcedureParameter getParameter()

setParameter

public void setParameter(ProcedureParameter parameter)


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