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

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

Go to download

Module repackaging of the Hibernate validator library and Validation API (JSR 303)

There is a newer version: 3.0-JBoss-4.0.2_03
Show newest version
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 by this object.
 *
 * @author Emmanuel Bernard
 */
public interface PropertyDescriptor extends ElementDescriptor {
	/**
	 * Is the property marked by the @Valid annotation.
	 * @return true if the annotation is present, false otherwise.
	 */
	boolean isCascaded();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy