/** * This applies the KeywordSpecification validation and additionally checks * whether the given value is part of the Alphabet. * * {@inheritDoc } */ @Override public boolean validate(Value value) { return value == null || (super.validate(value) && ((SymbolicValue) value).getAlphabet().equals(alphabet)); }