public interface PropertyTarget
PropertyConstraintMappingContext property(String property, ElementType type)
Until this method is called constraints apply on class level. After calling this method constraints apply on the specified property with the given access type.
A given property may only be configured once.
property- The property on which to apply the following constraints (Java Bean notation).
type- The access type (field/property).
Copyright © 2007-2017 Red Hat, Inc. All Rights Reserved