Class SpiExpressionValidation

java.lang.Object
io.ebeaninternal.api.SpiExpressionValidation

public final class SpiExpressionValidation extends Object
Property expression validation request for a given root bean type.
  • Constructor Details

    • SpiExpressionValidation

      public SpiExpressionValidation(io.ebean.plugin.BeanType<?> desc)
  • Method Details

    • validate

      public void validate(String propertyName)
      Validate that the property expression (path) is valid.
    • unknownProperties

      public Set<String> unknownProperties()
      Return the set of properties considered as having unknown paths.
    • allProperties

      public Set<String> allProperties()
      Return the set of all property names visited during this validation, regardless of whether they were considered valid against the bean type. Used to inspect the shape of an expression (for example, to check whether it references any associated/joined path) without needing a correctly-typed bean descriptor.