Package org.apache.openejb.jee.bval
Class ConstraintDefinitionType
- java.lang.Object
-
- org.apache.openejb.jee.bval.ConstraintDefinitionType
-
public class ConstraintDefinitionType extends Object
Java class for constraint-definitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="constraint-definitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="validated-by" type="{http://jboss.org/xml/ns/javax/validation/mapping}validated-byType"/> </sequence> <attribute name="annotation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringannotationprotected ValidatedByTypevalidatedBy
-
Constructor Summary
Constructors Constructor Description ConstraintDefinitionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAnnotation()Gets the value of the annotation property.ValidatedByTypegetValidatedBy()Gets the value of the validatedBy property.voidsetAnnotation(String value)Sets the value of the annotation property.voidsetValidatedBy(ValidatedByType value)Sets the value of the validatedBy property.
-
-
-
Field Detail
-
validatedBy
protected ValidatedByType validatedBy
-
annotation
protected String annotation
-
-
Method Detail
-
getValidatedBy
public ValidatedByType getValidatedBy()
Gets the value of the validatedBy property.- Returns:
- possible object is
ValidatedByType
-
setValidatedBy
public void setValidatedBy(ValidatedByType value)
Sets the value of the validatedBy property.- Parameters:
value- allowed object isValidatedByType
-
getAnnotation
public String getAnnotation()
Gets the value of the annotation property.- Returns:
- possible object is
String
-
-