public class FieldType extends Object
Java class for fieldType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="fieldType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="valid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="constraint" type="{http://jboss.org/xml/ns/javax/validation/mapping}constraintType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="ignore-annotations" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ConstraintType> |
constraint |
protected Boolean |
ignoreAnnotations |
protected String |
name |
protected String |
valid |
| Constructor and Description |
|---|
FieldType() |
| Modifier and Type | Method and Description |
|---|---|
List<ConstraintType> |
getConstraint()
Gets the value of the constraint property.
|
String |
getName()
Gets the value of the name property.
|
String |
getValid()
Gets the value of the valid property.
|
Boolean |
isIgnoreAnnotations()
Gets the value of the ignoreAnnotations property.
|
void |
setIgnoreAnnotations(Boolean value)
Sets the value of the ignoreAnnotations property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setValid(String value)
Sets the value of the valid property.
|
protected String valid
protected List<ConstraintType> constraint
protected Boolean ignoreAnnotations
protected String name
public String getValid()
Stringpublic void setValid(String value)
value - allowed object is
Stringpublic List<ConstraintType> getConstraint()
set method for the constraint property.
For example, to add a new item, do as follows:
getConstraint().add(newItem);
Objects of the following type(s) are allowed in the list
ConstraintTypepublic Boolean isIgnoreAnnotations()
Booleanpublic void setIgnoreAnnotations(Boolean value)
value - allowed object is
Booleanpublic String getName()
StringCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.