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