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.09.21 at 10:35:38 PM 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.XmlSeeAlso;
016 import javax.xml.bind.annotation.XmlType;
017 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
018 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
019
020
021 /**
022 * Reference to a specification.
023 * @see Specification
024 *
025 *
026 *
027 */
028 @XmlAccessorType(XmlAccessType.FIELD)
029 @XmlType(name = "SpecificationReference")
030 @XmlSeeAlso({
031 ImplementationReference.class
032 })
033 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
034 public class SpecificationReference
035 extends ModelObject
036 implements Cloneable
037 {
038
039 @XmlAttribute(required = true)
040 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
041 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
042 protected String identifier;
043 @XmlAttribute
044 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
045 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
046 protected String version;
047
048 /**
049 * Creates a new {@code SpecificationReference} instance.
050 *
051 */
052 public SpecificationReference() {
053 // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
054 super();
055 }
056
057 /**
058 * Creates a new {@code SpecificationReference} instance by deeply copying a given instance.
059 *
060 * @param o
061 * The instance to copy or {@code null}.
062 */
063 public SpecificationReference(final SpecificationReference o) {
064 // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
065 super(o);
066 if (o!= null) {
067 {
068 // CBuiltinLeafInfo: java.lang.String
069 this.identifier = ((String) o.getIdentifier());
070 // CBuiltinLeafInfo: java.lang.String
071 this.version = ((String) o.getVersion());
072 }
073 }
074 }
075
076 /**
077 * The identifier of the referenced specification.
078 *
079 * @return
080 * possible object is
081 * {@link String }
082 *
083 */
084 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
085 public String getIdentifier() {
086 return identifier;
087 }
088
089 /**
090 * Sets the value of the identifier property.
091 *
092 * @param value
093 * allowed object is
094 * {@link String }
095 *
096 */
097 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
098 public void setIdentifier(String value) {
099 this.identifier = value;
100 }
101
102 /**
103 * The version of the referenced specification or {@code null}.
104 *
105 * @return
106 * possible object is
107 * {@link String }
108 *
109 */
110 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
111 public String getVersion() {
112 return version;
113 }
114
115 /**
116 * Sets the value of the version property.
117 *
118 * @param value
119 * allowed object is
120 * {@link String }
121 *
122 */
123 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
124 public void setVersion(String value) {
125 this.version = value;
126 }
127
128 /**
129 * Creates and returns a deep copy of this object.
130 *
131 *
132 * @return
133 * A deep copy of this object.
134 */
135 @Override
136 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
137 public SpecificationReference clone() {
138 // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
139 return new SpecificationReference(this);
140 }
141
142 }