public class ConstraintDefinitionType
extends java.lang.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>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
annotation |
protected ValidatedByType |
validatedBy |
| Constructor and Description |
|---|
ConstraintDefinitionType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAnnotation()
Gets the value of the annotation property.
|
ValidatedByType |
getValidatedBy()
Gets the value of the validatedBy property.
|
void |
setAnnotation(java.lang.String value)
Sets the value of the annotation property.
|
void |
setValidatedBy(ValidatedByType value)
Sets the value of the validatedBy property.
|
protected ValidatedByType validatedBy
protected java.lang.String annotation
public ValidatedByType getValidatedBy()
ValidatedByTypepublic void setValidatedBy(ValidatedByType value)
value - allowed object is
ValidatedByTypepublic java.lang.String getAnnotation()
Stringpublic void setAnnotation(java.lang.String value)
value - allowed object is
String