Package org.apache.bval.jsr.xml
Class ClassType
- java.lang.Object
-
- org.apache.bval.jsr.xml.ClassType
-
public class ClassType extends Object
Classe Java pour classType complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<complexType name="classType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="group-sequence" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}groupSequenceType" minOccurs="0"/> <element name="constraint" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}constraintType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="ignore-annotations" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ConstraintType>constraintprotected GroupSequenceTypegroupSequenceprotected BooleanignoreAnnotations
-
Constructor Summary
Constructors Constructor Description ClassType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ConstraintType>getConstraint()Gets the value of the constraint property.GroupSequenceTypegetGroupSequence()Obtient la valeur de la propriété groupSequence.BooleangetIgnoreAnnotations()Obtient la valeur de la propriété ignoreAnnotations.voidsetGroupSequence(GroupSequenceType value)Définit la valeur de la propriété groupSequence.voidsetIgnoreAnnotations(Boolean value)Définit la valeur de la propriété ignoreAnnotations.
-
-
-
Field Detail
-
groupSequence
protected GroupSequenceType groupSequence
-
constraint
protected List<ConstraintType> constraint
-
ignoreAnnotations
protected Boolean ignoreAnnotations
-
-
Method Detail
-
getGroupSequence
public GroupSequenceType getGroupSequence()
Obtient la valeur de la propriété groupSequence.- Returns:
- possible object is
GroupSequenceType
-
setGroupSequence
public void setGroupSequence(GroupSequenceType value)
Définit la valeur de la propriété groupSequence.- Parameters:
value- allowed object isGroupSequenceType
-
getConstraint
public List<ConstraintType> getConstraint()
Gets the value of the constraint property.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
setmethod 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
-
getIgnoreAnnotations
public Boolean getIgnoreAnnotations()
Obtient la valeur de la propriété ignoreAnnotations.- Returns:
- possible object is
Boolean
-
-