openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wisnes...@apache.org
Subject svn commit: r558221 [2/2] - in /openjpa/trunk: openjpa-jdbc-5/src/main/java/org/apache/openjpa/jdbc/meta/ openjpa-jdbc-5/src/main/java/org/apache/openjpa/meta/ openjpa-kernel/src/main/java/org/apache/openjpa/meta/ openjpa-persistence-jdbc/src/test/java...
Date Sat, 21 Jul 2007 01:25:49 GMT
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/CANAddress.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/CANAddress.java?view=diff&rev=558221&r1=558220&r2=558221
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/CANAddress.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/CANAddress.java
Fri Jul 20 18:25:48 2007
@@ -1,111 +1,111 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.10.04 at 03:08:16 PM PDT 
-//
-
-
-package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
-
-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.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for CAN_Address complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within
this class.
- * 
- * <pre>
- * &lt;complexType name="CAN_Address">
- *   &lt;complexContent>
- *     &lt;extension base="{}Address">
- *       &lt;sequence>
- *         &lt;element name="Province" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         &lt;element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       &lt;/sequence>
- *     &lt;/extension>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
-@XmlRootElement
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "CAN_Address", propOrder = {
-    "province",
-    "postalCode"
-})
-public class CANAddress
-    extends Address
-{
-
-    @XmlElement(name = "Province")
-    protected String province;
-    @XmlElement(name = "PostalCode")
-    protected String postalCode;
-
-    /**
-     * Gets the value of the province property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getProvince() {
-        return province;
-    }
-
-    /**
-     * Sets the value of the province property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setProvince(String value) {
-        this.province = value;
-    }
-
-    /**
-     * Gets the value of the postalCode property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getPostalCode() {
-        return postalCode;
-    }
-
-    /**
-     * Sets the value of the postalCode property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setPostalCode(String value) {
-        this.postalCode = value;
-    }
-
-    public String toString() {
-        StringBuffer sb = new StringBuffer();
-        sb.append(super.toString())
-            .append("\n         ")
-            .append(this.province)
-            .append(" ")
-            .append(this.postalCode);
-        return sb.toString();
-    }
-}
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.10.04 at 03:08:16 PM PDT 
+//
+
+
+package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for CAN_Address complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * 
+ * <pre>
+ * &lt;complexType name="CAN_Address">
+ *   &lt;complexContent>
+ *     &lt;extension base="{}Address">
+ *       &lt;sequence>
+ *         &lt;element name="Province" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CAN_Address", propOrder = {
+    "province",
+    "postalCode"
+})
+public class CANAddress
+    extends Address
+{
+
+    @XmlElement(name = "Province")
+    protected String province;
+    @XmlElement(name = "PostalCode")
+    protected String postalCode;
+
+    /**
+     * Gets the value of the province property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getProvince() {
+        return province;
+    }
+
+    /**
+     * Sets the value of the province property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setProvince(String value) {
+        this.province = value;
+    }
+
+    /**
+     * Gets the value of the postalCode property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getPostalCode() {
+        return postalCode;
+    }
+
+    /**
+     * Sets the value of the postalCode property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setPostalCode(String value) {
+        this.postalCode = value;
+    }
+
+    public String toString() {
+        StringBuffer sb = new StringBuffer();
+        sb.append(super.toString())
+            .append("\n         ")
+            .append(this.province)
+            .append(" ")
+            .append(this.postalCode);
+        return sb.toString();
+    }
+}

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/GBRAddress.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/GBRAddress.java?view=diff&rev=558221&r1=558220&r2=558221
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/GBRAddress.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/GBRAddress.java
Fri Jul 20 18:25:48 2007
@@ -1,111 +1,111 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.10.04 at 03:08:16 PM PDT 
-//
-
-
-package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
-
-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.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for GBR_Address complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within
this class.
- * 
- * <pre>
- * &lt;complexType name="GBR_Address">
- *   &lt;complexContent>
- *     &lt;extension base="{}Address">
- *       &lt;sequence>
- *         &lt;element name="County" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         &lt;element name="Postcode" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       &lt;/sequence>
- *     &lt;/extension>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
-@XmlRootElement(name = "GBR_Address")
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "GBR_Address", propOrder = {
-    "county",
-    "postcode"
-})
-public class GBRAddress
-    extends Address
-{
-
-    @XmlElement(name = "County")
-    protected String county;
-    @XmlElement(name = "Postcode")
-    protected String postcode;
-
-    /**
-     * Gets the value of the county property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getCounty() {
-        return county;
-    }
-
-    /**
-     * Sets the value of the county property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setCounty(String value) {
-        this.county = value;
-    }
-
-    /**
-     * Gets the value of the postcode property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getPostcode() {
-        return postcode;
-    }
-
-    /**
-     * Sets the value of the postcode property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setPostcode(String value) {
-        this.postcode = value;
-    }
-
-    public String toString() {
-        StringBuffer sb = new StringBuffer();
-        sb.append(super.toString())
-            .append("\n         ")
-            .append(this.county)
-            .append(" ")
-            .append(this.postcode);
-        return sb.toString();
-    }
-}
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.10.04 at 03:08:16 PM PDT 
+//
+
+
+package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for GBR_Address complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * 
+ * <pre>
+ * &lt;complexType name="GBR_Address">
+ *   &lt;complexContent>
+ *     &lt;extension base="{}Address">
+ *       &lt;sequence>
+ *         &lt;element name="County" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="Postcode" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlRootElement(name = "GBR_Address")
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "GBR_Address", propOrder = {
+    "county",
+    "postcode"
+})
+public class GBRAddress
+    extends Address
+{
+
+    @XmlElement(name = "County")
+    protected String county;
+    @XmlElement(name = "Postcode")
+    protected String postcode;
+
+    /**
+     * Gets the value of the county property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getCounty() {
+        return county;
+    }
+
+    /**
+     * Sets the value of the county property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setCounty(String value) {
+        this.county = value;
+    }
+
+    /**
+     * Gets the value of the postcode property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getPostcode() {
+        return postcode;
+    }
+
+    /**
+     * Sets the value of the postcode property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setPostcode(String value) {
+        this.postcode = value;
+    }
+
+    public String toString() {
+        StringBuffer sb = new StringBuffer();
+        sb.append(super.toString())
+            .append("\n         ")
+            .append(this.county)
+            .append(" ")
+            .append(this.postcode);
+        return sb.toString();
+    }
+}

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/ObjectFactory.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/ObjectFactory.java?view=diff&rev=558221&r1=558220&r2=558221
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/ObjectFactory.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/ObjectFactory.java
Fri Jul 20 18:25:48 2007
@@ -1,122 +1,122 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.10.04 at 03:08:16 PM PDT 
-//
-
-
-package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
-
-import javax.xml.bind.JAXBElement;
-import javax.xml.bind.annotation.XmlElementDecl;
-import javax.xml.bind.annotation.XmlRegistry;
-import javax.xml.namespace.QName;
-
-
-/**
- * This object contains factory methods for each 
- * Java content interface and Java element interface 
- * generated in the myaddress 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 _AddrUSA_QNAME = new QName("", "AddrUSA");
-    private final static QName _AddrCAN_QNAME = new QName("", "AddrCAN");
-    private final static QName _MailAddress_QNAME = new QName("", "MailAddress");
-    private final static QName _AddrGBR_QNAME = new QName("", "AddrGBR");
-
-    /**
-     * Create a new ObjectFactory that can be used to create new instances of schema derived
classes for package: myaddress
-     * 
-     */
-    public ObjectFactory() {
-    }
-
-    /**
-     * Create an instance of {@link Address }
-     * 
-     */
-    public Address createAddress() {
-        return new Address();
-    }
-
-    /**
-     * Create an instance of {@link ShortAddress }
-     * 
-     */
-    public ShortAddress createShortAddress() {
-        return new ShortAddress();
-    }
-
-    /**
-     * Create an instance of {@link USAAddress }
-     * 
-     */
-    public USAAddress createUSAAddress() {
-        return new USAAddress();
-    }
-
-    /**
-     * Create an instance of {@link GBRAddress }
-     * 
-     */
-    public GBRAddress createGBRAddress() {
-        return new GBRAddress();
-    }
-
-    /**
-     * Create an instance of {@link CANAddress }
-     * 
-     */
-    public CANAddress createCANAddress() {
-        return new CANAddress();
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link USAAddress }{@code >}}
-     * 
-     */
-    @XmlElementDecl(namespace = "", name = "AddrUSA", substitutionHeadNamespace = "", substitutionHeadName
= "MailAddress")
-    public JAXBElement<USAAddress> createAddrUSA(USAAddress value) {
-        return new JAXBElement<USAAddress>(_AddrUSA_QNAME, USAAddress.class, null,
value);
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link CANAddress }{@code >}}
-     * 
-     */
-    @XmlElementDecl(namespace = "", name = "AddrCAN", substitutionHeadNamespace = "", substitutionHeadName
= "MailAddress")
-    public JAXBElement<CANAddress> createAddrCAN(CANAddress value) {
-        return new JAXBElement<CANAddress>(_AddrCAN_QNAME, CANAddress.class, null,
value);
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link Address }{@code >}}
-     * 
-     */
-    @XmlElementDecl(namespace = "", name = "MailAddress")
-    public JAXBElement<Address> createMailAddress(Address value) {
-        return new JAXBElement<Address>(_MailAddress_QNAME, Address.class, null, value);
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link GBRAddress }{@code >}}
-     * 
-     */
-    @XmlElementDecl(namespace = "", name = "AddrGBR", substitutionHeadNamespace = "", substitutionHeadName
= "MailAddress")
-    public JAXBElement<GBRAddress> createAddrGBR(GBRAddress value) {
-        return new JAXBElement<GBRAddress>(_AddrGBR_QNAME, GBRAddress.class, null,
value);
-    }
-
-}
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.10.04 at 03:08:16 PM PDT 
+//
+
+
+package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the myaddress 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 _AddrUSA_QNAME = new QName("", "AddrUSA");
+    private final static QName _AddrCAN_QNAME = new QName("", "AddrCAN");
+    private final static QName _MailAddress_QNAME = new QName("", "MailAddress");
+    private final static QName _AddrGBR_QNAME = new QName("", "AddrGBR");
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived
classes for package: myaddress
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link Address }
+     * 
+     */
+    public Address createAddress() {
+        return new Address();
+    }
+
+    /**
+     * Create an instance of {@link ShortAddress }
+     * 
+     */
+    public ShortAddress createShortAddress() {
+        return new ShortAddress();
+    }
+
+    /**
+     * Create an instance of {@link USAAddress }
+     * 
+     */
+    public USAAddress createUSAAddress() {
+        return new USAAddress();
+    }
+
+    /**
+     * Create an instance of {@link GBRAddress }
+     * 
+     */
+    public GBRAddress createGBRAddress() {
+        return new GBRAddress();
+    }
+
+    /**
+     * Create an instance of {@link CANAddress }
+     * 
+     */
+    public CANAddress createCANAddress() {
+        return new CANAddress();
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link USAAddress }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "", name = "AddrUSA", substitutionHeadNamespace = "", substitutionHeadName
= "MailAddress")
+    public JAXBElement<USAAddress> createAddrUSA(USAAddress value) {
+        return new JAXBElement<USAAddress>(_AddrUSA_QNAME, USAAddress.class, null,
value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link CANAddress }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "", name = "AddrCAN", substitutionHeadNamespace = "", substitutionHeadName
= "MailAddress")
+    public JAXBElement<CANAddress> createAddrCAN(CANAddress value) {
+        return new JAXBElement<CANAddress>(_AddrCAN_QNAME, CANAddress.class, null,
value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Address }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "", name = "MailAddress")
+    public JAXBElement<Address> createMailAddress(Address value) {
+        return new JAXBElement<Address>(_MailAddress_QNAME, Address.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link GBRAddress }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "", name = "AddrGBR", substitutionHeadNamespace = "", substitutionHeadName
= "MailAddress")
+    public JAXBElement<GBRAddress> createAddrGBR(GBRAddress value) {
+        return new JAXBElement<GBRAddress>(_AddrGBR_QNAME, GBRAddress.class, null,
value);
+    }
+
+}

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/ShortAddress.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/ShortAddress.java?view=diff&rev=558221&r1=558220&r2=558221
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/ShortAddress.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/ShortAddress.java
Fri Jul 20 18:25:48 2007
@@ -1,46 +1,46 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.10.04 at 03:08:16 PM PDT 
-//
-
-
-package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for ShortAddress complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within
this class.
- * 
- * <pre>
- * &lt;complexType name="ShortAddress">
- *   &lt;complexContent>
- *     &lt;restriction base="{}Address">
- *       &lt;sequence>
- *         &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         &lt;element name="Street" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         &lt;element name="City" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
-@XmlRootElement
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "ShortAddress")
-public class ShortAddress
-    extends Address
-{
-
-
-}
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.10.04 at 03:08:16 PM PDT 
+//
+
+
+package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ShortAddress complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ShortAddress">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{}Address">
+ *       &lt;sequence>
+ *         &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="Street" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="City" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ShortAddress")
+public class ShortAddress
+    extends Address
+{
+
+
+}

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/USAAddress.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/USAAddress.java?view=diff&rev=558221&r1=558220&r2=558221
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/USAAddress.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xmlmapping/xmlbindings/myaddress/USAAddress.java
Fri Jul 20 18:25:48 2007
@@ -1,103 +1,103 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.10.04 at 03:08:16 PM PDT 
-//
-
-
-package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlElementDecl;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for USA_Address complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within
this class.
- * 
- * <pre>
- * &lt;complexType name="USA_Address">
- *   &lt;complexContent>
- *     &lt;extension base="{}Address">
- *       &lt;sequence>
- *         &lt;element name="State" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         &lt;element name="ZIP" type="{}USPS_ZIP"/>
- *       &lt;/sequence>
- *     &lt;/extension>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
-@XmlRootElement
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "USA_Address", propOrder = {
-    "state",
-    "zip"
-})
-public class USAAddress
-    extends Address
-{
-
-    @XmlElement(name = "State")
-    protected String state;
-    @XmlElement(name = "ZIP")
-    protected int zip;
-
-    /**
-     * Gets the value of the state property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getState() {
-        return state;
-    }
-
-    /**
-     * Sets the value of the state property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setState(String value) {
-        this.state = value;
-    }
-
-    /**
-     * Gets the value of the zip property.
-     * 
-     */
-    public int getZIP() {
-        return zip;
-    }
-
-    /**
-     * Sets the value of the zip property.
-     * 
-     */
-    public void setZIP(int value) {
-        this.zip = value;
-    }
-
-    public String toString() {
-        StringBuffer sb = new StringBuffer();
-        sb.append(super.toString())
-            .append("\n         ")
-            .append(this.state)
-            .append(" ")
-            .append(this.zip);
-        return sb.toString();
-    }
-}
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.2-b01-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.10.04 at 03:08:16 PM PDT 
+//
+
+
+package org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for USA_Address complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * 
+ * <pre>
+ * &lt;complexType name="USA_Address">
+ *   &lt;complexContent>
+ *     &lt;extension base="{}Address">
+ *       &lt;sequence>
+ *         &lt;element name="State" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="ZIP" type="{}USPS_ZIP"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "USA_Address", propOrder = {
+    "state",
+    "zip"
+})
+public class USAAddress
+    extends Address
+{
+
+    @XmlElement(name = "State")
+    protected String state;
+    @XmlElement(name = "ZIP")
+    protected int zip;
+
+    /**
+     * Gets the value of the state property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getState() {
+        return state;
+    }
+
+    /**
+     * Sets the value of the state property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setState(String value) {
+        this.state = value;
+    }
+
+    /**
+     * Gets the value of the zip property.
+     * 
+     */
+    public int getZIP() {
+        return zip;
+    }
+
+    /**
+     * Sets the value of the zip property.
+     * 
+     */
+    public void setZIP(int value) {
+        this.zip = value;
+    }
+
+    public String toString() {
+        StringBuffer sb = new StringBuffer();
+        sb.append(super.toString())
+            .append("\n         ")
+            .append(this.state)
+            .append(" ")
+            .append(this.zip);
+        return sb.toString();
+    }
+}



Mime
View raw message