/** {@inheritDoc} */ @Override protected void validateEntityState() throws InternalStateValidationException { InternalStateValidationException.create() .notNull(membership, "membership") .endExpressionAndValidate(); }
/** {@inheritDoc} */ @Override protected void validateEntityState() throws InternalStateValidationException { InternalStateValidationException.create() .notNullOrEmpty(realm, "realm") .notNullOrEmpty(group, "group") .notNullOrEmpty(qualifier, "qualifier") .endExpressionAndValidate(); }
/** {@inheritDoc} */ @Override protected void validateEntityState() throws InternalStateValidationException { InternalStateValidationException.create() .notTrue( severitySortOrder <= 0, "Cannot handle zero or negative 'severitySortOrder'. (Got: " + severitySortOrder + ")") .notNull(shortDescription, "shortDescription") .notNull(fullDescription, "fullDescription") .endExpressionAndValidate(); }