|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.xml.GetterType
public class GetterType
Java class for getterType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="getterType">
<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="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ignore-annotations" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.util.List<ConstraintType> |
constraint
|
protected java.lang.Boolean |
ignoreAnnotations
|
protected java.lang.String |
name
|
protected java.lang.String |
valid
|
| Constructor Summary | |
|---|---|
GetterType()
|
|
| Method Summary | |
|---|---|
java.util.List<ConstraintType> |
getConstraint()
Gets the value of the constraint property. |
java.lang.String |
getName()
Gets the value of the name property. |
java.lang.String |
getValid()
Gets the value of the valid property. |
java.lang.Boolean |
isIgnoreAnnotations()
Gets the value of the ignoreAnnotations property. |
void |
setIgnoreAnnotations(java.lang.Boolean value)
Sets the value of the ignoreAnnotations property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setValid(java.lang.String value)
Sets the value of the valid property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String valid
protected java.util.List<ConstraintType> constraint
protected java.lang.String name
protected java.lang.Boolean ignoreAnnotations
| Constructor Detail |
|---|
public GetterType()
| Method Detail |
|---|
public java.lang.String getValid()
Stringpublic void setValid(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<ConstraintType> getConstraint()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a 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
ConstraintType
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Boolean isIgnoreAnnotations()
Booleanpublic void setIgnoreAnnotations(java.lang.Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||