001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: //
043: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
044: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
045: // Any modifications to this file will be lost upon recompilation of the source schema.
046: // Generated on: 2006.12.09 at 06:25:52 PM PST
047: //
048:
049: package org.netbeans.modules.compapp.javaee.sunresources.generated.ejb21;
050:
051: import javax.xml.bind.annotation.XmlAccessType;
052: import javax.xml.bind.annotation.XmlAccessorType;
053: import javax.xml.bind.annotation.XmlAttribute;
054: import javax.xml.bind.annotation.XmlID;
055: import javax.xml.bind.annotation.XmlType;
056: import javax.xml.bind.annotation.XmlValue;
057: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
058: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
059:
060: /**
061: *
062: *
063: * This is a special string datatype that is defined by J2EE as
064: * a base type for defining collapsed strings. When schemas
065: * require trailing/leading space elimination as well as
066: * collapsing the existing whitespace, this base type may be
067: * used.
068: *
069: *
070: *
071: * <p>Java class for string complex type.
072: *
073: * <p>The following schema fragment specifies the expected content contained within this class.
074: *
075: * <pre>
076: * <complexType name="string">
077: * <simpleContent>
078: * <extension base="<http://www.w3.org/2001/XMLSchema>token">
079: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
080: * </extension>
081: * </simpleContent>
082: * </complexType>
083: * </pre>
084: *
085: *
086: */
087: @XmlAccessorType(XmlAccessType.FIELD)
088: @XmlType(name="string",propOrder={"value"})
089: public class String {
090:
091: @XmlValue
092: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
093: protected java.lang.String value;
094: @XmlAttribute
095: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
096: @XmlID
097: protected java.lang.String id;
098:
099: /**
100: * Gets the value of the value property.
101: *
102: * @return
103: * possible object is
104: * {@link java.lang.String }
105: *
106: */
107: public java.lang.String getValue() {
108: return value;
109: }
110:
111: /**
112: * Sets the value of the value property.
113: *
114: * @param value
115: * allowed object is
116: * {@link java.lang.String }
117: *
118: */
119: public void setValue(java.lang.String value) {
120: this .value = value;
121: }
122:
123: /**
124: * Gets the value of the id property.
125: *
126: * @return
127: * possible object is
128: * {@link java.lang.String }
129: *
130: */
131: public java.lang.String getId() {
132: return id;
133: }
134:
135: /**
136: * Sets the value of the id property.
137: *
138: * @param value
139: * allowed object is
140: * {@link java.lang.String }
141: *
142: */
143: public void setId(java.lang.String value) {
144: this.id = value;
145: }
146:
147: }
|