Interface IOptionalReferenceValidator
- All Superinterfaces:
DatabaseObjectValidator<IOptionalReference<Entity>>, IFieldValidator<IOptionalReference<Entity>>, IResourceValidator
- All Known Implementing Classes:
OptionalReferenceValidator
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidassertCanBeCleared(IOptionalReference<? extends Entity> optionalReference) <E extends Entity>
voidassertCanSetEntity(IOptionalReference<E> optionalReference, E entity) Methods inherited from interface DatabaseObjectValidator
assertIsConnectedWithRealDatabase, assertIsLoaded, assertIsNew, assertIsNotConnectedWithRealDatabase, assertIsNotDeleted, assertIsNotNewMethods inherited from interface IFieldValidator
assertBelongsToEntity, assertDoesNotBelongToEntity, assertIsNotEmpty, assertIsNotMandatoryAndEmptyBoth, assertKnowsParentColumnMethods inherited from interface IResourceValidator
assertIsOpen
-
Method Details
-
assertCanBeCleared
-
assertCanSetEntity
-