Class TraitValueValidator

  • All Implemented Interfaces:
    Validator

    public final class TraitValueValidator
    extends java.lang.Object
    implements Validator
    Validates that trait values are valid for their trait definitions.
    • Field Detail

      • VALIDATE_PRELUDE

        public static final java.lang.String VALIDATE_PRELUDE
        See Also:
        Constant Field Values
    • Constructor Detail

      • TraitValueValidator

        public TraitValueValidator()
    • Method Detail

      • validate

        public java.util.List<ValidationEvent> validate​(Model model)
        Description copied from interface: Validator
        Validates a model and returns a list of validation events.
        Specified by:
        validate in interface Validator
        Parameters:
        model - Model to validate.
        Returns:
        List of validation events.