|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> map >> [ event overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectstyle.cayenne.map.event
Class DataMapEvent

java.lang.Objectjava.util.EventObject
org.objectstyle.cayenne.event.CayenneEvent
org.objectstyle.cayenne.map.event.MapEvent
org.objectstyle.cayenne.map.event.DataMapEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class DataMapEvent
- extends MapEvent
Represents events resulted from DataMap changes in CayenneModeler.
| Field Summary | |
protected org.objectstyle.cayenne.map.DataMap |
dataMap
|
| Fields inherited from class org.objectstyle.cayenne.map.event.MapEvent |
ADD, CHANGE, id, oldName, REMOVE |
| Fields inherited from class org.objectstyle.cayenne.event.CayenneEvent |
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
DataMapEvent(java.lang.Object src,
org.objectstyle.cayenne.map.DataMap dataMap)
Creates a DataMap change event. |
|
DataMapEvent(java.lang.Object src,
org.objectstyle.cayenne.map.DataMap dataMap,
int id)
Creates a DataMap event of a specified type. |
|
DataMapEvent(java.lang.Object src,
org.objectstyle.cayenne.map.DataMap dataMap,
java.lang.String oldName)
Creates a DataMap name change event. |
|
| Method Summary | |
org.objectstyle.cayenne.map.DataMap |
getDataMap()
Returns DataMap associated with this event. |
java.lang.String |
getNewName()
Returns the newName of the object that caused this event. |
void |
setDataMap(org.objectstyle.cayenne.map.DataMap dataMap)
Sets DataMap associated with this event. |
| Methods inherited from class org.objectstyle.cayenne.map.event.MapEvent |
getId, getOldName, isNameChange, setId, setOldName |
| Methods inherited from class org.objectstyle.cayenne.event.CayenneEvent |
getInfo |
| 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 |
dataMap
protected org.objectstyle.cayenne.map.DataMap dataMap
| Constructor Detail |
DataMapEvent
public DataMapEvent(java.lang.Object src, org.objectstyle.cayenne.map.DataMap dataMap)
- Creates a DataMap change event.
DataMapEvent
public DataMapEvent(java.lang.Object src, org.objectstyle.cayenne.map.DataMap dataMap, int id)
- Creates a DataMap event of a specified type.
DataMapEvent
public DataMapEvent(java.lang.Object src, org.objectstyle.cayenne.map.DataMap dataMap, java.lang.String oldName)
- Creates a DataMap name change event.
| Method Detail |
getDataMap
public org.objectstyle.cayenne.map.DataMap getDataMap()
- Returns DataMap associated with this event.
setDataMap
public void setDataMap(org.objectstyle.cayenne.map.DataMap dataMap)
- Sets DataMap associated with this event.
getNewName
public java.lang.String getNewName()
- Description copied from class:
MapEvent - Returns the newName of the object that caused this event.
- Specified by:
getNewNamein classMapEvent
|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> map >> [ event overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC