Class EntityRelationChangedEvent
java.lang.Object
java.util.EventObject
ch.tocco.nice2.persist.core.api.entity.events.PersistEvent<Entity>
ch.tocco.nice2.persist.core.api.entity.events.EntityFacadeEvent
ch.tocco.nice2.persist.core.api.entity.events.EntityRelationChangedEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionEntityRelationChangedEvent
(Entity source, RelationModel relation, Entity target, boolean added, boolean adjusting) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.entity.events.PersistEvent
getSource, getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
EntityRelationChangedEvent
public EntityRelationChangedEvent(Entity source, RelationModel relation, Entity target, boolean added, boolean adjusting)
-
-
Method Details
-
getRelation
-
getTarget
-
isAdded
public boolean isAdded() -
isRemoved
public boolean isRemoved() -
isAdjusting
public boolean isAdjusting()
-