Class OptionalValueFieldValidator
java.lang.Object
ch.nolix.system.objectdata.fieldvalidator.FieldValidator
ch.nolix.system.objectdata.fieldvalidator.OptionalValueFieldValidator
- All Implemented Interfaces:
IFieldValidator, IOptionalValueFieldValidator
public final class OptionalValueFieldValidator
extends FieldValidator
implements IOptionalValueFieldValidator
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> voidassertCanSetValue(IOptionalValueField<V> optionalValueField, V value) voidassertIsNotEmpty(IOptionalValueField<?> optionalValueField) Methods inherited from class FieldValidator
assertBelongsToEntity, assertDoesNotBelongToEntity, assertIsNotEmpty, assertIsNotMandatoryAndEmptyBoth, assertKnowsParentColumnMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IFieldValidator
assertBelongsToEntity, assertDoesNotBelongToEntity, assertIsNotEmpty, assertIsNotMandatoryAndEmptyBoth, assertKnowsParentColumn
-
Constructor Details
-
OptionalValueFieldValidator
public OptionalValueFieldValidator()
-
-
Method Details
-
assertCanSetValue
- Specified by:
assertCanSetValuein interfaceIOptionalValueFieldValidator
-
assertIsNotEmpty
- Specified by:
assertIsNotEmptyin interfaceIOptionalValueFieldValidator
-