Package org.apache.bval.jsr.xml
Class ClassType
- java.lang.Object
-
- org.apache.bval.jsr.xml.ClassType
-
public class ClassType extends Object
Java class for classType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="classType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="group-sequence" type="{https://jakarta.ee/xml/ns/validation/mapping}groupSequenceType" minOccurs="0"/> <element name="constraint" type="{https://jakarta.ee/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()Gets the value of the groupSequence property.BooleangetIgnoreAnnotations()Gets the value of the ignoreAnnotations property.voidsetGroupSequence(GroupSequenceType value)Sets the value of the groupSequence property.voidsetIgnoreAnnotations(Boolean value)Sets the value of the ignoreAnnotations property.
-
-
-
Field Detail
-
groupSequence
protected GroupSequenceType groupSequence
-
constraint
protected List<ConstraintType> constraint
-
ignoreAnnotations
protected Boolean ignoreAnnotations
-
-
Method Detail
-
getGroupSequence
public GroupSequenceType getGroupSequence()
Gets the value of the groupSequence property.- Returns:
- possible object is
GroupSequenceType
-
setGroupSequence
public void setGroupSequence(GroupSequenceType value)
Sets the value of the groupSequence property.- 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- Returns:
- The value of the constraint property.
-
getIgnoreAnnotations
public Boolean getIgnoreAnnotations()
Gets the value of the ignoreAnnotations property.- Returns:
- possible object is
Boolean
-
-