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: 2009.10.06 at 06:45:27 AM UTC
006 //
007
008
009 package org.jomc.model;
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 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
017 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
018
019
020 /**
021 * Model of an author.
022 * <p>An author extends a person adding property {@code version} holding the
023 * version of a model object created due to the author.</p>
024 *
025 *
026 *
027 */
028 @XmlAccessorType(XmlAccessType.FIELD)
029 @XmlType(name = "Author")
030 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
031 public class Author
032 extends Person
033 implements Cloneable
034 {
035
036 @XmlAttribute
037 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
038 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
039 protected String version;
040
041 /**
042 * Creates a new {@code Author} instance.
043 *
044 */
045 public Author() {
046 // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
047 super();
048 }
049
050 /**
051 * Creates a new {@code Author} instance by deeply copying a given instance.
052 *
053 * @param o
054 * The instance to copy or {@code null}.
055 */
056 public Author(final Author o) {
057 // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
058 super(o);
059 if (o!= null) {
060 {
061 // CBuiltinLeafInfo: java.lang.String
062 this.version = ((String) o.getVersion());
063 }
064 }
065 }
066
067 /**
068 * The version of the model object created due to the author or {@code null}.
069 *
070 * @return
071 * possible object is
072 * {@link String }
073 *
074 */
075 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
076 public String getVersion() {
077 return version;
078 }
079
080 /**
081 * Sets the value of the version property.
082 *
083 * @param value
084 * allowed object is
085 * {@link String }
086 *
087 */
088 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
089 public void setVersion(String value) {
090 this.version = value;
091 }
092
093 /**
094 * Creates and returns a deep copy of this object.
095 *
096 *
097 * @return
098 * A deep copy of this object.
099 */
100 @Override
101 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
102 public Author clone() {
103 // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
104 return new Author(this);
105 }
106
107 }