public interface PropertyTarget
Modifier and Type | Method and Description |
---|---|
PropertyConstraintMappingContext |
property(String property,
ElementType type)
Selects a property to which the next operations shall apply.
|
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.
property
- The property on which to apply the following constraints (Java Bean notation).type
- The access type (field/property).Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved