public class ConstraintDefinitionType extends Object
Java-Klasse für constraint-definitionType complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType name="constraint-definitionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="validated-by" type="{http://xmlns.jcp.org/xml/ns/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()
Ruft den Wert der annotation-Eigenschaft ab.
|
ValidatedByType |
getValidatedBy()
Ruft den Wert der validatedBy-Eigenschaft ab.
|
void |
setAnnotation(String value)
Legt den Wert der annotation-Eigenschaft fest.
|
void |
setValidatedBy(ValidatedByType value)
Legt den Wert der validatedBy-Eigenschaft fest.
|
protected ValidatedByType validatedBy
protected String annotation
public ValidatedByType getValidatedBy()
ValidatedByTypepublic void setValidatedBy(ValidatedByType value)
value - allowed object is
ValidatedByTypepublic String getAnnotation()
StringCopyright © 2010–2020 The Apache Software Foundation. All rights reserved.