All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.validation.metadata.PropertyDescriptor Maven / Gradle / Ivy

There is a newer version: 2.0.1.Final
Show newest version
/*
 * Bean Validation API
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or .
 */
package javax.validation.metadata;

/**
 * Describes a Java Bean property hosting validation constraints.
 *
 * Constraints placed on the attribute and the getter of a given property
 * are all referenced.
 *
 * @author Emmanuel Bernard
 */
public interface PropertyDescriptor extends ElementDescriptor, CascadableDescriptor, ContainerDescriptor {

	/**
	 * Name of the property according to the Java Bean specification.
	 *
	 * @return property name
	 */
	String getPropertyName();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy