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.
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 © 2020 JBoss by Red Hat. All rights reserved.