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.XmlType;
016 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
017 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
018
019
020 /**
021 * Reference to a message.
022 * @see Message
023 *
024 *
025 *
026 */
027 @XmlAccessorType(XmlAccessType.FIELD)
028 @XmlType(name = "MessageReference")
029 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
030 public class MessageReference
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-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
038 protected String name;
039
040 /**
041 * Creates a new {@code MessageReference} instance.
042 *
043 */
044 public MessageReference() {
045 // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
046 super();
047 }
048
049 /**
050 * Creates a new {@code MessageReference} instance by deeply copying a given instance.
051 *
052 * @param o
053 * The instance to copy or {@code null}.
054 */
055 public MessageReference(final MessageReference o) {
056 // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
057 super(o);
058 if (o!= null) {
059 {
060 // CBuiltinLeafInfo: java.lang.String
061 this.name = ((String) o.getName());
062 }
063 }
064 }
065
066 /**
067 * The name of the referenced message.
068 *
069 * @return
070 * possible object is
071 * {@link String }
072 *
073 */
074 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
075 public String getName() {
076 return name;
077 }
078
079 /**
080 * Sets the value of the name property.
081 *
082 * @param value
083 * allowed object is
084 * {@link String }
085 *
086 */
087 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
088 public void setName(String value) {
089 this.name = value;
090 }
091
092 /**
093 * Creates and returns a deep copy of this object.
094 *
095 *
096 * @return
097 * A deep copy of this object.
098 */
099 @Override
100 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-09-21T10:35:38+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
101 public MessageReference clone() {
102 // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
103 return new MessageReference(this);
104 }
105
106 }