Package org.hibernate.validator.engine

Examples of org.hibernate.validator.engine.PathImpl


  @SuppressWarnings("unused")
  private ConstraintViolation<Account> getTestConstraintViolation() {
    final Account account = getTestEntity();
    final AccountAddress accountAddress = account.getAddresses().iterator().next();

    final PathImpl path = PathImpl.createPathFromString("addresses[].address.lastName");

    return
    new ConstraintViolationImpl<Account>(null, "error msg", Account.class, account, accountAddress, null,
        path, null, ElementType.METHOD);
  }
View Full Code Here

TOP

Related Classes of org.hibernate.validator.engine.PathImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.