You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2011/05/10 13:19:48 UTC
svn commit: r1101405 [2/2] - in /openejb/branches/openejb-3.2.x: ./
assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/
container/openejb-core/
container/openejb-core/src/main/java/org/apache/openejb/assemb...
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ConstraintType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ConstraintType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ConstraintType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ConstraintType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,179 @@
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for constraintType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="constraintType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="groups" type="{http://jboss.org/xml/ns/javax/validation/mapping}groupsType" minOccurs="0"/>
+ * <element name="payload" type="{http://jboss.org/xml/ns/javax/validation/mapping}payloadType" minOccurs="0"/>
+ * <element name="element" type="{http://jboss.org/xml/ns/javax/validation/mapping}elementType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="annotation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "constraintType", propOrder = {
+ "message",
+ "groups",
+ "payload",
+ "element"
+})
+public class ConstraintType {
+
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String message;
+ protected GroupsType groups;
+ protected PayloadType payload;
+ protected List<ElementType> element;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String annotation;
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessage(String value) {
+ this.message = value;
+ }
+
+ /**
+ * Gets the value of the groups property.
+ *
+ * @return
+ * possible object is
+ * {@link GroupsType }
+ *
+ */
+ public GroupsType getGroups() {
+ return groups;
+ }
+
+ /**
+ * Sets the value of the groups property.
+ *
+ * @param value
+ * allowed object is
+ * {@link GroupsType }
+ *
+ */
+ public void setGroups(GroupsType value) {
+ this.groups = value;
+ }
+
+ /**
+ * Gets the value of the payload property.
+ *
+ * @return
+ * possible object is
+ * {@link PayloadType }
+ *
+ */
+ public PayloadType getPayload() {
+ return payload;
+ }
+
+ /**
+ * Sets the value of the payload property.
+ *
+ * @param value
+ * allowed object is
+ * {@link PayloadType }
+ *
+ */
+ public void setPayload(PayloadType value) {
+ this.payload = value;
+ }
+
+ /**
+ * Gets the value of the element property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the element property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getElement().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ElementType }
+ *
+ *
+ */
+ public List<ElementType> getElement() {
+ if (element == null) {
+ element = new ArrayList<ElementType>();
+ }
+ return this.element;
+ }
+
+ /**
+ * 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;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ElementType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ElementType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ElementType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ElementType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,110 @@
+package org.apache.openejb.jee.bval;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for elementType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="elementType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="annotation" type="{http://jboss.org/xml/ns/javax/validation/mapping}annotationType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "elementType", propOrder = {
+ "content"
+})
+public class ElementType {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "annotation", namespace = "http://jboss.org/xml/ns/javax/validation/mapping", type = JAXBElement.class),
+ @XmlElementRef(name = "value", namespace = "http://jboss.org/xml/ns/javax/validation/mapping", type = JAXBElement.class)
+ })
+ @XmlMixed
+ protected List<Serializable> content;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String name;
+
+ /**
+ * Gets the value of the content property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link AnnotationType }{@code >}
+ * {@link String }
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<Serializable> getContent() {
+ if (content == null) {
+ content = new ArrayList<Serializable>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/FieldType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/FieldType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/FieldType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/FieldType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,152 @@
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for fieldType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="fieldType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="valid" type="{http://www.w3.org/2001/XMLSchema}string" 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" />
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "fieldType", propOrder = {
+ "valid",
+ "constraint"
+})
+public class FieldType {
+
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String valid;
+ protected List<ConstraintType> constraint;
+ @XmlAttribute(name = "ignore-annotations")
+ protected Boolean ignoreAnnotations;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String name;
+
+ /**
+ * Gets the value of the valid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValid() {
+ return valid;
+ }
+
+ /**
+ * Sets the value of the valid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValid(String value) {
+ this.valid = value;
+ }
+
+ /**
+ * Gets the value of the constraint property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the constraint property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConstraint().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ConstraintType }
+ *
+ *
+ */
+ public List<ConstraintType> getConstraint() {
+ if (constraint == null) {
+ constraint = new ArrayList<ConstraintType>();
+ }
+ return this.constraint;
+ }
+
+ /**
+ * Gets the value of the ignoreAnnotations property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIgnoreAnnotations() {
+ return ignoreAnnotations;
+ }
+
+ /**
+ * Sets the value of the ignoreAnnotations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIgnoreAnnotations(Boolean value) {
+ this.ignoreAnnotations = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GetterType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GetterType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GetterType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GetterType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,153 @@
+package org.apache.openejb.jee.bval;
+
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for getterType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="getterType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="valid" type="{http://www.w3.org/2001/XMLSchema}string" 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" />
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "getterType", propOrder = {
+ "valid",
+ "constraint"
+})
+public class GetterType {
+
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String valid;
+ protected List<ConstraintType> constraint;
+ @XmlAttribute(name = "ignore-annotations")
+ protected Boolean ignoreAnnotations;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String name;
+
+ /**
+ * Gets the value of the valid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValid() {
+ return valid;
+ }
+
+ /**
+ * Sets the value of the valid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValid(String value) {
+ this.valid = value;
+ }
+
+ /**
+ * Gets the value of the constraint property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the constraint property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConstraint().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ConstraintType }
+ *
+ *
+ */
+ public List<ConstraintType> getConstraint() {
+ if (constraint == null) {
+ constraint = new ArrayList<ConstraintType>();
+ }
+ return this.constraint;
+ }
+
+ /**
+ * Gets the value of the ignoreAnnotations property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIgnoreAnnotations() {
+ return ignoreAnnotations;
+ }
+
+ /**
+ * Sets the value of the ignoreAnnotations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIgnoreAnnotations(Boolean value) {
+ this.ignoreAnnotations = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GroupSequenceType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GroupSequenceType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GroupSequenceType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GroupSequenceType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,69 @@
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for groupSequenceType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="groupSequenceType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "groupSequenceType", propOrder = {
+ "value"
+})
+public class GroupSequenceType {
+
+ @XmlElementRef(name = "value", namespace = "http://jboss.org/xml/ns/javax/validation/mapping", type = JAXBElement.class)
+ protected List<JAXBElement<String>> value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the value property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getValue() {
+ if (value == null) {
+ value = new ArrayList<JAXBElement<String>>();
+ }
+ return this.value;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GroupsType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GroupsType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GroupsType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/GroupsType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,69 @@
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for groupsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="groupsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "groupsType", propOrder = {
+ "value"
+})
+public class GroupsType {
+
+ @XmlElementRef(name = "value", namespace = "http://jboss.org/xml/ns/javax/validation/mapping", type = JAXBElement.class)
+ protected List<JAXBElement<String>> value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the value property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getValue() {
+ if (value == null) {
+ value = new ArrayList<JAXBElement<String>>();
+ }
+ return this.value;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ObjectFactory.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ObjectFactory.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ObjectFactory.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ObjectFactory.java Tue May 10 11:19:47 2011
@@ -0,0 +1,248 @@
+package org.apache.openejb.jee.bval;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.apache.openejb.jee.bval package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _PayloadTypeValue_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/mapping", "value");
+ private final static QName _ElementTypeAnnotation_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/mapping", "annotation");
+ private final static QName _ValidationConfig_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/configuration", "validation-config");
+ private final static QName _ConstraintMappings_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/mapping", "constraint-mappings");
+ private final static QName _ValidationConfigTypeConstraintMapping_QNAME = new QName("http://jboss.org/xml/ns/javax/validation/configuration", "constraint-mapping");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openjeb.jee.bval
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link ValidationConfigType }
+ *
+ */
+ public ValidationConfigType createValidationConfigType() {
+ return new ValidationConfigType();
+ }
+
+ /**
+ * Create an instance of {@link AnnotationType }
+ *
+ */
+ public AnnotationType createAnnotationType() {
+ return new AnnotationType();
+ }
+
+ /**
+ * Create an instance of {@link ValidatedByType }
+ *
+ */
+ public ValidatedByType createValidatedByType() {
+ return new ValidatedByType();
+ }
+
+ /**
+ * Create an instance of {@link ConstraintDefinitionType }
+ *
+ */
+ public ConstraintDefinitionType createConstraintDefinitionType() {
+ return new ConstraintDefinitionType();
+ }
+
+ /**
+ * Create an instance of {@link ClassType }
+ *
+ */
+ public ClassType createClassType() {
+ return new ClassType();
+ }
+
+ /**
+ * Create an instance of {@link GroupsType }
+ *
+ */
+ public GroupsType createGroupsType() {
+ return new GroupsType();
+ }
+
+ /**
+ * Create an instance of {@link FieldType }
+ *
+ */
+ public FieldType createFieldType() {
+ return new FieldType();
+ }
+
+ /**
+ * Create an instance of {@link ConstraintMappingsType }
+ *
+ */
+ public ConstraintMappingsType createConstraintMappingsType() {
+ return new ConstraintMappingsType();
+ }
+
+ /**
+ * Create an instance of {@link PayloadType }
+ *
+ */
+ public PayloadType createPayloadType() {
+ return new PayloadType();
+ }
+
+ /**
+ * Create an instance of {@link ElementType }
+ *
+ */
+ public ElementType createElementType() {
+ return new ElementType();
+ }
+
+ /**
+ * Create an instance of {@link BeanType }
+ *
+ */
+ public BeanType createBeanType() {
+ return new BeanType();
+ }
+
+ /**
+ * Create an instance of {@link GroupSequenceType }
+ *
+ */
+ public GroupSequenceType createGroupSequenceType() {
+ return new GroupSequenceType();
+ }
+
+ /**
+ * Create an instance of {@link PropertyType }
+ *
+ */
+ public PropertyType createPropertyType() {
+ return new PropertyType();
+ }
+
+ /**
+ * Create an instance of {@link ConstraintType }
+ *
+ */
+ public ConstraintType createConstraintType() {
+ return new ConstraintType();
+ }
+
+ /**
+ * Create an instance of {@link GetterType }
+ *
+ */
+ public GetterType createGetterType() {
+ return new GetterType();
+ }
+
+ /**
+ * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = PayloadType.class)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ public JAXBElement<String> createPayloadTypeValue(String value) {
+ return new JAXBElement<String>(_PayloadTypeValue_QNAME, String.class, PayloadType.class, value);
+ }
+
+ /**
+ * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link AnnotationType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "annotation", scope = ElementType.class)
+ public JAXBElement<AnnotationType> createElementTypeAnnotation(AnnotationType value) {
+ return new JAXBElement<AnnotationType>(_ElementTypeAnnotation_QNAME, AnnotationType.class, ElementType.class, value);
+ }
+
+ /**
+ * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = ElementType.class)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ public JAXBElement<String> createElementTypeValue(String value) {
+ return new JAXBElement<String>(_PayloadTypeValue_QNAME, String.class, ElementType.class, value);
+ }
+
+ /**
+ * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link ValidationConfigType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/configuration", name = "validation-config")
+ public JAXBElement<ValidationConfigType> createValidationConfig(ValidationConfigType value) {
+ return new JAXBElement<ValidationConfigType>(_ValidationConfig_QNAME, ValidationConfigType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link ConstraintMappingsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "constraint-mappings")
+ public JAXBElement<ConstraintMappingsType> createConstraintMappings(ConstraintMappingsType value) {
+ return new JAXBElement<ConstraintMappingsType>(_ConstraintMappings_QNAME, ConstraintMappingsType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/configuration", name = "constraint-mapping", scope = ValidationConfigType.class)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ public JAXBElement<String> createValidationConfigTypeConstraintMapping(String value) {
+ return new JAXBElement<String>(_ValidationConfigTypeConstraintMapping_QNAME, String.class, ValidationConfigType.class, value);
+ }
+
+ /**
+ * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = GroupSequenceType.class)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ public JAXBElement<String> createGroupSequenceTypeValue(String value) {
+ return new JAXBElement<String>(_PayloadTypeValue_QNAME, String.class, GroupSequenceType.class, value);
+ }
+
+ /**
+ * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = ValidatedByType.class)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ public JAXBElement<String> createValidatedByTypeValue(String value) {
+ return new JAXBElement<String>(_PayloadTypeValue_QNAME, String.class, ValidatedByType.class, value);
+ }
+
+ /**
+ * Create an instance of {@link javax.xml.bind.JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", name = "value", scope = GroupsType.class)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ public JAXBElement<String> createGroupsTypeValue(String value) {
+ return new JAXBElement<String>(_PayloadTypeValue_QNAME, String.class, GroupsType.class, value);
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PayloadType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PayloadType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PayloadType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PayloadType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,69 @@
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for payloadType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="payloadType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "payloadType", propOrder = {
+ "value"
+})
+public class PayloadType {
+
+ @XmlElementRef(name = "value", namespace = "http://jboss.org/xml/ns/javax/validation/mapping", type = JAXBElement.class)
+ protected List<JAXBElement<String>> value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the value property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getValue() {
+ if (value == null) {
+ value = new ArrayList<JAXBElement<String>>();
+ }
+ return this.value;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PropertyType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PropertyType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PropertyType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PropertyType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,90 @@
+package org.apache.openejb.jee.bval;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for propertyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="propertyType">
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "propertyType", namespace = "http://jboss.org/xml/ns/javax/validation/configuration", propOrder = {
+ "value"
+})
+public class PropertyType {
+
+ @XmlValue
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String value;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String name;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidatedByType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidatedByType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidatedByType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidatedByType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,97 @@
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for validated-byType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="validated-byType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="include-existing-validators" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "validated-byType", propOrder = {
+ "value"
+})
+public class ValidatedByType {
+
+ @XmlElementRef(name = "value", namespace = "http://jboss.org/xml/ns/javax/validation/mapping", type = JAXBElement.class)
+ protected List<JAXBElement<String>> value;
+ @XmlAttribute(name = "include-existing-validators")
+ protected Boolean includeExistingValidators;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the value property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getValue() {
+ if (value == null) {
+ value = new ArrayList<JAXBElement<String>>();
+ }
+ return this.value;
+ }
+
+ /**
+ * Gets the value of the includeExistingValidators property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIncludeExistingValidators() {
+ return includeExistingValidators;
+ }
+
+ /**
+ * Sets the value of the includeExistingValidators property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIncludeExistingValidators(Boolean value) {
+ this.includeExistingValidators = value;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidationConfigType.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidationConfigType.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidationConfigType.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidationConfigType.java Tue May 10 11:19:47 2011
@@ -0,0 +1,221 @@
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for validation-configType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="validation-configType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="default-provider" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="message-interpolator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="traversable-resolver" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="constraint-validator-factory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="constraint-mapping" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="property" type="{http://jboss.org/xml/ns/javax/validation/configuration}propertyType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "validation-configType", namespace = "http://jboss.org/xml/ns/javax/validation/configuration", propOrder = {
+ "defaultProvider",
+ "messageInterpolator",
+ "traversableResolver",
+ "constraintValidatorFactory",
+ "constraintMapping",
+ "property"
+})
+public class ValidationConfigType {
+
+ @XmlElement(name = "default-provider", namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String defaultProvider;
+ @XmlElement(name = "message-interpolator", namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String messageInterpolator;
+ @XmlElement(name = "traversable-resolver", namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String traversableResolver;
+ @XmlElement(name = "constraint-validator-factory", namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String constraintValidatorFactory;
+ @XmlElementRef(name = "constraint-mapping", namespace = "http://jboss.org/xml/ns/javax/validation/configuration", type = JAXBElement.class)
+ protected List<JAXBElement<String>> constraintMapping;
+ @XmlElement(namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
+ protected List<PropertyType> property;
+
+ /**
+ * Gets the value of the defaultProvider property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultProvider() {
+ return defaultProvider;
+ }
+
+ /**
+ * Sets the value of the defaultProvider property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultProvider(String value) {
+ this.defaultProvider = value;
+ }
+
+ /**
+ * Gets the value of the messageInterpolator property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMessageInterpolator() {
+ return messageInterpolator;
+ }
+
+ /**
+ * Sets the value of the messageInterpolator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessageInterpolator(String value) {
+ this.messageInterpolator = value;
+ }
+
+ /**
+ * Gets the value of the traversableResolver property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTraversableResolver() {
+ return traversableResolver;
+ }
+
+ /**
+ * Sets the value of the traversableResolver property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTraversableResolver(String value) {
+ this.traversableResolver = value;
+ }
+
+ /**
+ * Gets the value of the constraintValidatorFactory property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getConstraintValidatorFactory() {
+ return constraintValidatorFactory;
+ }
+
+ /**
+ * Sets the value of the constraintValidatorFactory property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setConstraintValidatorFactory(String value) {
+ this.constraintValidatorFactory = value;
+ }
+
+ /**
+ * Gets the value of the constraintMapping property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the constraintMapping property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConstraintMapping().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getConstraintMapping() {
+ if (constraintMapping == null) {
+ constraintMapping = new ArrayList<JAXBElement<String>>();
+ }
+ return this.constraintMapping;
+ }
+
+ /**
+ * Gets the value of the property property.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the property property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getProperty().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PropertyType }
+ *
+ *
+ */
+ public List<PropertyType> getProperty() {
+ if (property == null) {
+ property = new ArrayList<PropertyType>();
+ }
+ return this.property;
+ }
+
+}
Added: openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/package-info.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/package-info.java?rev=1101405&view=auto
==============================================================================
--- openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/package-info.java (added)
+++ openejb/branches/openejb-3.2.x/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/package-info.java Tue May 10 11:19:47 2011
@@ -0,0 +1,5 @@
+@XmlSchema(namespace = "http://jboss.org/xml/ns/javax/validation/mapping", elementFormDefault = XmlNsForm.QUALIFIED)
+package org.apache.openejb.jee.bval;
+
+import javax.xml.bind.annotation.XmlNsForm;
+import javax.xml.bind.annotation.XmlSchema;
Modified: openejb/branches/openejb-3.2.x/pom.xml
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/pom.xml?rev=1101405&r1=1101404&r2=1101405&view=diff
==============================================================================
--- openejb/branches/openejb-3.2.x/pom.xml (original)
+++ openejb/branches/openejb-3.2.x/pom.xml Tue May 10 11:19:47 2011
@@ -115,6 +115,7 @@
-->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <bval.version>0.2-incubating</bval.version>
<org.apache.activemq.version>5.4.2</org.apache.activemq.version>
<quartz.version>1.8.4</quartz.version>
<org.springframework.version>3.0.4.RELEASE</org.springframework.version>
@@ -530,6 +531,16 @@
<dependencyManagement>
<dependencies>
<dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>bval-core</artifactId>
+ <version>${bval.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>bval-jsr303</artifactId>
+ <version>${bval.version}</version>
+ </dependency>
+ <dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.1</version>