Package org.apache.cayenne.map.event
Class EmbeddableAttributeEvent
java.lang.Object
java.util.EventObject
org.apache.cayenne.event.CayenneEvent
org.apache.cayenne.map.event.MapEvent
org.apache.cayenne.map.event.EmbeddableEvent
org.apache.cayenne.map.event.EmbeddableAttributeEvent
- All Implemented Interfaces:
Serializable
public class EmbeddableAttributeEvent extends EmbeddableEvent
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected EmbeddableAttributeembeddableAttributeFields inherited from class org.apache.cayenne.map.event.EmbeddableEvent
embeddableFields inherited from class org.apache.cayenne.map.event.MapEvent
ADD, CHANGE, domain, id, oldName, oldNameSet, REMOVEFields inherited from class org.apache.cayenne.event.CayenneEvent
info, postedBy, subjectFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors Constructor Description EmbeddableAttributeEvent(Object source, EmbeddableAttribute attrib, Embeddable embeddable, int id)EmbeddableAttributeEvent(Object source, Embeddable embeddable, EmbeddableAttribute embeddableAttribute) -
Method Summary
Modifier and Type Method Description EmbeddableAttributegetEmbeddableAttribute()StringgetNewName()Returns the newName of the object that caused this event.voidsetEmbeddableAttribute(EmbeddableAttribute embeddableAttribute)Methods inherited from class org.apache.cayenne.map.event.EmbeddableEvent
getEmbeddable, setEmbeddableMethods inherited from class org.apache.cayenne.map.event.MapEvent
getDomain, getId, getOldName, isNameChange, setDomain, setId, setOldNameMethods inherited from class org.apache.cayenne.event.CayenneEvent
getInfo, getPostedBy, getSubject, setPostedBy, setSubjectMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
embeddableAttribute
-
-
Constructor Details
-
EmbeddableAttributeEvent
public EmbeddableAttributeEvent(Object source, Embeddable embeddable, EmbeddableAttribute embeddableAttribute) -
EmbeddableAttributeEvent
public EmbeddableAttributeEvent(Object source, EmbeddableAttribute attrib, Embeddable embeddable, int id)
-
-
Method Details
-
getNewName
Description copied from class:MapEventReturns the newName of the object that caused this event.- Overrides:
getNewNamein classEmbeddableEvent
-
getEmbeddableAttribute
-
setEmbeddableAttribute
-