Class RelatedEntityListener
java.lang.Object
ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
ch.tocco.nice2.optional.address.impl.entitylistener.RelatedEntityListener
- All Implemented Interfaces:
EntityFacadeListener, EventListener
sets other side of address to address relation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidsetCodeEntityName(String codeEntityName) voidsetCodeRelation(String codeRelation) voidsetEntityName(String entityName) voidvoidsetRelatedEntityName1(String relatedEntityName1) voidsetRelatedEntityName2(String relatedEntityName2) voidsetRelation1(String relation1) voidsetRelation2(String relation2) Methods inherited from class InterruptibleEntityFacadeAdapter
entityChanging, entityCreating, entityCreatingInterruptible, entityDeleting, entityDeletingInterruptible, entityReceivedValues, entityReceivedValuesInterruptible, entityRelationChangingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EntityFacadeListener
handleSessionOnlyEntity
-
Constructor Details
-
RelatedEntityListener
public RelatedEntityListener()
-
-
Method Details
-
entityRelationChangingInterruptible
- Overrides:
entityRelationChangingInterruptiblein classInterruptibleEntityFacadeAdapter
-
entityChangingInterruptible
- Overrides:
entityChangingInterruptiblein classInterruptibleEntityFacadeAdapter
-
setEntityName
-
setCodeEntityName
-
setCodeRelation
-
setRelatedEntityName1
-
setRelatedEntityName2
-
setRelation1
-
setRelation2
-
setFields
-