All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.validator.internal.xml.ConstraintDefinitionType Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2013.04.11 at 09:35:13 PM CEST 
//


package org.hibernate.validator.internal.xml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

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="{http://jboss.org/xml/ns/javax/validation/mapping}validated-byType"/>
 *       </sequence>
 *       <attribute name="annotation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "constraint-definitionType", propOrder = { "validatedBy" }) public class ConstraintDefinitionType { @XmlElement(name = "validated-by", required = true) protected ValidatedByType validatedBy; @XmlAttribute(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String annotation; /** * Gets the value of the validatedBy property. * * @return * possible object is * {@link ValidatedByType } * */ public ValidatedByType getValidatedBy() { return validatedBy; } /** * Sets the value of the validatedBy property. * * @param value * allowed object is * {@link ValidatedByType } * */ public void setValidatedBy(ValidatedByType value) { this.validatedBy = value; } /** * Gets the value of the annotation property. * * @return * possible object is * {@link String } * */ public String getAnnotation() { return annotation; } /** * Sets the value of the annotation property. * * @param value * allowed object is * {@link String } * */ public void setAnnotation(String value) { this.annotation = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy