org.hibernate.validator.xml
Class ClassType

java.lang.Object
  extended by org.hibernate.validator.xml.ClassType

public class ClassType
extends java.lang.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="{http://jboss.org/xml/ns/javax/validation/mapping}groupSequenceType" 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" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<ConstraintType> constraint
           
protected  GroupSequenceType groupSequence
           
protected  java.lang.Boolean ignoreAnnotations
           
 
Constructor Summary
ClassType()
           
 
Method Summary
 java.util.List<ConstraintType> getConstraint()
          Gets the value of the constraint property.
 GroupSequenceType getGroupSequence()
          Gets the value of the groupSequence property.
 java.lang.Boolean isIgnoreAnnotations()
          Gets the value of the ignoreAnnotations property.
 void setGroupSequence(GroupSequenceType value)
          Sets the value of the groupSequence property.
 void setIgnoreAnnotations(java.lang.Boolean value)
          Sets the value of the ignoreAnnotations property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupSequence

protected GroupSequenceType groupSequence

constraint

protected java.util.List<ConstraintType> constraint

ignoreAnnotations

protected java.lang.Boolean ignoreAnnotations
Constructor Detail

ClassType

public ClassType()
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 is GroupSequenceType

getConstraint

public java.util.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 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


isIgnoreAnnotations

public java.lang.Boolean isIgnoreAnnotations()
Gets the value of the ignoreAnnotations property.

Returns:
possible object is Boolean

setIgnoreAnnotations

public void setIgnoreAnnotations(java.lang.Boolean value)
Sets the value of the ignoreAnnotations property.

Parameters:
value - allowed object is Boolean


Copyright © 2011 Oracle Corporation. All Rights Reserved.