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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
annotation |
protected ValidatedByType |
validatedBy |
| Constructor and Description |
|---|
ConstraintDefinitionType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotation()
Gets the value of the annotation property.
|
ValidatedByType |
getValidatedBy()
Gets the value of the validatedBy property.
|
void |
setAnnotation(String value)
Sets the value of the annotation property.
|
void |
setValidatedBy(ValidatedByType value)
Sets the value of the validatedBy property.
|
protected ValidatedByType validatedBy
protected String annotation
public ValidatedByType getValidatedBy()
ValidatedByTypepublic void setValidatedBy(ValidatedByType value)
value - allowed object is
ValidatedByTypepublic String getAnnotation()
StringCopyright © 2018 JBoss by Red Hat. All rights reserved.