Class ConstraintDefinitionType


  • public class ConstraintDefinitionType
    extends Object

    Java class for constraint-definitionType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="constraint-definitionType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="validated-by" type="{https://jakarta.ee/xml/ns/validation/mapping}validated-byType"/>
           </sequence>
           <attribute name="annotation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ConstraintDefinitionType

        public ConstraintDefinitionType()
    • Method Detail

      • setValidatedBy

        public void setValidatedBy​(ValidatedByType value)
        Sets the value of the validatedBy property.
        Parameters:
        value - allowed object is ValidatedByType
      • getAnnotation

        public String getAnnotation()
        Gets the value of the annotation property.
        Returns:
        possible object is String
      • setAnnotation

        public void setAnnotation​(String value)
        Sets the value of the annotation property.
        Parameters:
        value - allowed object is String