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