Class SelectionValidator
java.lang.Object
co.yellowdog.platform.model.beanvalidation.CustomValidator<Selection<?>>
co.yellowdog.platform.model.validation.customvalidators.SelectionValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@AssertFalse(message="Selection must have either include or exclude list") booleanMethods inherited from class CustomValidator
getTarget, onSetTargetModifier and TypeMethodDescriptionprotected Selection<?> protected voidOptional method that can be overridden to perform initialisation or setup when the validator is being prepared to validate a particular target instance.
-
Constructor Details
-
SelectionValidator
public SelectionValidator()
-
-
Method Details
-
isSelectionEmpty
@AssertFalse(message="Selection must have either include or exclude list") public @AssertFalse(message="Selection must have either include or exclude list") boolean isSelectionEmpty()
-