001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2010.08.18 at 10:46:56 PM CEST 
006    //
007    
008    
009    package net.sourceforge.jpaxjc.ns.persistence.orm;
010    
011    import javax.annotation.Generated;
012    import javax.xml.bind.annotation.XmlAccessType;
013    import javax.xml.bind.annotation.XmlAccessorType;
014    import javax.xml.bind.annotation.XmlAttribute;
015    import javax.xml.bind.annotation.XmlType;
016    
017    
018    /**
019     * 
020     * 
021     *         @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
022     *         public @interface PrimaryKeyJoinColumn {
023     *           String name() default "";
024     *           String referencedColumnName() default "";
025     *           String columnDefinition() default "";
026     *         }
027     * 
028     *       
029     * 
030     * <p>Java class for primary-key-join-column complex type.
031     * 
032     * <p>The following schema fragment specifies the expected content contained within this class.
033     * 
034     * <pre>
035     * &lt;complexType name="primary-key-join-column">
036     *   &lt;complexContent>
037     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
038     *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
039     *       &lt;attribute name="referenced-column-name" type="{http://www.w3.org/2001/XMLSchema}string" />
040     *       &lt;attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" />
041     *     &lt;/restriction>
042     *   &lt;/complexContent>
043     * &lt;/complexType>
044     * </pre>
045     * 
046     * 
047     */
048    @XmlAccessorType(XmlAccessType.FIELD)
049    @XmlType(name = "primary-key-join-column")
050    @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
051    public class PrimaryKeyJoinColumn implements Cloneable
052    {
053    
054        @XmlAttribute
055        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
056        protected String name;
057        @XmlAttribute(name = "referenced-column-name")
058        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
059        protected String referencedColumnName;
060        @XmlAttribute(name = "column-definition")
061        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
062        protected String columnDefinition;
063    
064        /**
065         * Creates a new {@code PrimaryKeyJoinColumn} instance.
066         * 
067         */
068        public PrimaryKeyJoinColumn() {
069            // CC-XJC Version 1.3 Build 2010-02-27T15:04:03+0000
070            super();
071        }
072    
073        /**
074         * Creates a new {@code PrimaryKeyJoinColumn} instance by deeply copying a given {@code PrimaryKeyJoinColumn} instance.
075         * 
076         * 
077         * @param o
078         *     The instance to copy.
079         * @throws NullPointerException
080         *     if {@code o} is {@code null}.
081         */
082        public PrimaryKeyJoinColumn(final PrimaryKeyJoinColumn o) {
083            // CC-XJC Version 1.3 Build 2010-02-27T15:04:03+0000
084            super();
085            if (o == null) {
086                throw new NullPointerException("Cannot create a copy of 'PrimaryKeyJoinColumn' from 'null'.");
087            }
088            // CBuiltinLeafInfo: java.lang.String
089            this.name = o.getName();
090            // CBuiltinLeafInfo: java.lang.String
091            this.referencedColumnName = o.getReferencedColumnName();
092            // CBuiltinLeafInfo: java.lang.String
093            this.columnDefinition = o.getColumnDefinition();
094        }
095    
096        /**
097         * Gets the value of the name property.
098         * 
099         * @return
100         *     possible object is
101         *     {@link String }
102         *     
103         */
104        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
105        public String getName() {
106            return name;
107        }
108    
109        /**
110         * Sets the value of the name property.
111         * 
112         * @param value
113         *     allowed object is
114         *     {@link String }
115         *     
116         */
117        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
118        public void setName(String value) {
119            this.name = value;
120        }
121    
122        /**
123         * Gets the value of the referencedColumnName property.
124         * 
125         * @return
126         *     possible object is
127         *     {@link String }
128         *     
129         */
130        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
131        public String getReferencedColumnName() {
132            return referencedColumnName;
133        }
134    
135        /**
136         * Sets the value of the referencedColumnName property.
137         * 
138         * @param value
139         *     allowed object is
140         *     {@link String }
141         *     
142         */
143        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
144        public void setReferencedColumnName(String value) {
145            this.referencedColumnName = value;
146        }
147    
148        /**
149         * Gets the value of the columnDefinition property.
150         * 
151         * @return
152         *     possible object is
153         *     {@link String }
154         *     
155         */
156        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
157        public String getColumnDefinition() {
158            return columnDefinition;
159        }
160    
161        /**
162         * Sets the value of the columnDefinition property.
163         * 
164         * @param value
165         *     allowed object is
166         *     {@link String }
167         *     
168         */
169        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
170        public void setColumnDefinition(String value) {
171            this.columnDefinition = value;
172        }
173    
174        /**
175         * Creates and returns a deep copy of this object.
176         * 
177         * 
178         * @return
179         *     A deep copy of this object.
180         */
181        @Override
182        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
183        public PrimaryKeyJoinColumn clone() {
184            // CC-XJC Version 1.3 Build 2010-02-27T15:04:03+0000
185            return new PrimaryKeyJoinColumn(this);
186        }
187    
188    }