Class EntityExpectationAdder
java.lang.Object
ch.nolix.system.objectdata.expectation.EntityExpectationAdder
- All Implemented Interfaces:
IEntityExpectationAdder
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExpectationThatNewlyReferencedEntitiesExist(IEntity entity, IDataAdapterAndSchemaReader dataAndSchemaAdapter) Adds expectation to the given entity that its newly referenced entities actually exist.voidaddExpectationThatNewlyReferencedEntitiesExistIfEntityIsNewOrEdited(IEntity entity, IDataAdapterAndSchemaReader dataAndSchemaAdapter) Adds expectation to the given entity that its newly referenced entities actually exist if the given entity is new or edited.
-
Constructor Details
-
EntityExpectationAdder
public EntityExpectationAdder()
-
-
Method Details
-
addExpectationThatNewlyReferencedEntitiesExist
public void addExpectationThatNewlyReferencedEntitiesExist(IEntity entity, IDataAdapterAndSchemaReader dataAndSchemaAdapter) Adds expectation to the given entity that its newly referenced entities actually exist.- Specified by:
addExpectationThatNewlyReferencedEntitiesExistin interfaceIEntityExpectationAdder- Parameters:
entity-dataAndSchemaAdapter-
-
addExpectationThatNewlyReferencedEntitiesExistIfEntityIsNewOrEdited
public void addExpectationThatNewlyReferencedEntitiesExistIfEntityIsNewOrEdited(IEntity entity, IDataAdapterAndSchemaReader dataAndSchemaAdapter) Adds expectation to the given entity that its newly referenced entities actually exist if the given entity is new or edited.- Specified by:
addExpectationThatNewlyReferencedEntitiesExistIfEntityIsNewOrEditedin interfaceIEntityExpectationAdder- Parameters:
entity-dataAndSchemaAdapter-
-