Source Code Cross Referenced for SequenceAcknowledgement.java in  » 6.0-JDK-Modules-com.sun » wsit » com » sun » xml » ws » rm » v200602 » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » wsit » com.sun.xml.ws.rm.v200602 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


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 Development
008:         * and Distribution License("CDDL") (collectively, the "License").  You
009:         * may not use this file except in compliance with the License. You can obtain
010:         * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
011:         * or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
012:         * language governing permissions and limitations under the License.
013:         * 
014:         * When distributing the software, include this License Header Notice in each
015:         * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
016:         * Sun designates this particular file as subject to the "Classpath" exception
017:         * as provided by Sun in the GPL Version 2 section of the License file that
018:         * accompanied this code.  If applicable, add the following below the License
019:         * Header, with the fields enclosed by brackets [] replaced by your own
020:         * identifying information: "Portions Copyrighted [year]
021:         * [name of copyright owner]"
022:         * 
023:         * Contributor(s):
024:         * 
025:         * If you wish your version of this file to be governed by only the CDDL or
026:         * only the GPL Version 2, indicate your decision by adding "[Contributor]
027:         * elects to include this software in this distribution under the [CDDL or GPL
028:         * Version 2] license."  If you don't indicate a single choice of license, a
029:         * recipient has the option to distribute your version of this file under
030:         * either the CDDL, the GPL Version 2 or to extend the choice of license to
031:         * its licensees as provided above.  However, if you add GPL Version 2 code
032:         * and therefore, elected the GPL Version 2 license, then the option applies
033:         * only if the new code is made subject to such option by the copyright
034:         * holder.
035:         */
036:
037:        package com.sun.xml.ws.rm.v200602;
038:
039:        import org.w3c.dom.Element;
040:
041:        import javax.xml.bind.annotation.*;
042:        import javax.xml.namespace.QName;
043:        import java.math.BigInteger;
044:        import java.util.ArrayList;
045:        import java.util.HashMap;
046:        import java.util.List;
047:        import java.util.Map;
048:
049:        /**
050:         * <p>Java class for SequenceAcknowledgement element declaration.
051:         * 
052:         * <p>The following schema fragment specifies the expected content contained within this class.
053:         * 
054:         * <pre>
055:         * &lt;element name="SequenceAcknowledgement">
056:         *   &lt;complexType>
057:         *     &lt;complexContent>
058:         *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
059:         *         &lt;sequence>
060:         *           &lt;element ref="{http://docs.oasis-open.org/ws-rx/wsrm/200602}Identifier"/>
061:         *           &lt;choice>
062:         *             &lt;sequence>
063:         *               &lt;choice>
064:         *                 &lt;element name="AcknowledgementRange" maxOccurs="unbounded">
065:         *                   &lt;complexType>
066:         *                     &lt;complexContent>
067:         *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
068:         *                         &lt;sequence>
069:         *                         &lt;/sequence>
070:         *                         &lt;attribute name="Lower" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
071:         *                         &lt;attribute name="Upper" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
072:         *                       &lt;/restriction>
073:         *                     &lt;/complexContent>
074:         *                   &lt;/complexType>
075:         *                 &lt;/element>
076:         *                 &lt;element name="None" minOccurs="0">
077:         *                   &lt;complexType>
078:         *                     &lt;complexContent>
079:         *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
080:         *                         &lt;sequence>
081:         *                         &lt;/sequence>
082:         *                       &lt;/restriction>
083:         *                     &lt;/complexContent>
084:         *                   &lt;/complexType>
085:         *                 &lt;/element>
086:         *               &lt;/choice>
087:         *               &lt;element name="Final" minOccurs="0">
088:         *                 &lt;complexType>
089:         *                   &lt;complexContent>
090:         *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
091:         *                       &lt;sequence>
092:         *                       &lt;/sequence>
093:         *                     &lt;/restriction>
094:         *                   &lt;/complexContent>
095:         *                 &lt;/complexType>
096:         *               &lt;/element>
097:         *             &lt;/sequence>
098:         *             &lt;element name="Nack" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" maxOccurs="unbounded"/>
099:         *           &lt;/choice>
100:         *           &lt;any/>
101:         *         &lt;/sequence>
102:         *       &lt;/restriction>
103:         *     &lt;/complexContent>
104:         *   &lt;/complexType>
105:         * &lt;/element>
106:         * </pre>
107:         * 
108:         * 
109:         */
110:        @XmlAccessorType(XmlAccessType.FIELD)
111:        @XmlType(name="",propOrder={"identifier","acknowledgementRange","none","_final","nack","any"})
112:        @XmlRootElement(name="SequenceAcknowledgement")
113:        public class SequenceAcknowledgement {
114:
115:            @XmlElement(name="Identifier",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200602",required=true)
116:            protected Identifier identifier;
117:            @XmlElement(name="AcknowledgementRange",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200602",required=true)
118:            protected List<AcknowledgementRange> acknowledgementRange;
119:            @XmlElement(name="None",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200602")
120:            protected None none;
121:            @XmlElement(name="Final",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200602")
122:            protected Final _final;
123:            @XmlElement(name="Nack",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200602",required=true)
124:            protected List<BigInteger> nack;
125:            @XmlAnyElement(lax=true)
126:            protected List<Object> any;
127:            @XmlAnyAttribute
128:            private Map<QName, String> otherAttributes = new HashMap<QName, String>();
129:
130:            /**
131:             * Gets the value of the identifier property.
132:             * 
133:             * @return
134:             *     possible object is
135:             *     {@link Identifier }
136:             *     
137:             */
138:            public Identifier getIdentifier() {
139:                return identifier;
140:            }
141:
142:            /**
143:             * Sets the value of the identifier property.
144:             * 
145:             * @param value
146:             *     allowed object is
147:             *     {@link Identifier }
148:             *     
149:             */
150:            public void setIdentifier(Identifier value) {
151:                this .identifier = value;
152:            }
153:
154:            /**
155:             * Gets the value of the acknowledgementRange property.
156:             * 
157:             * <p>
158:             * This accessor method returns a reference to the live list,
159:             * not a snapshot. Therefore any modification you make to the
160:             * returned list will be present inside the JAXB object.
161:             * This is why there is not a <CODE>set</CODE> method for the acknowledgementRange property.
162:             * 
163:             * <p>
164:             * For example, to add a new item, do as follows:
165:             * <pre>
166:             *    getAcknowledgementRange().add(newItem);
167:             * </pre>
168:             * 
169:             * 
170:             * <p>
171:             * Objects of the following type(s) are allowed in the list
172:             * {@link AcknowledgementRange }
173:             * 
174:             * 
175:             */
176:            public List<AcknowledgementRange> getAcknowledgementRange() {
177:                if (acknowledgementRange == null) {
178:                    acknowledgementRange = new ArrayList<AcknowledgementRange>();
179:                }
180:                return this .acknowledgementRange;
181:            }
182:
183:            /**
184:             * Gets the value of the none property.
185:             * 
186:             * @return
187:             *     possible object is
188:             *     {@link None }
189:             *     
190:             */
191:            public None getNone() {
192:                return none;
193:            }
194:
195:            /**
196:             * Sets the value of the none property.
197:             * 
198:             * @param value
199:             *     allowed object is
200:             *     {@link None }
201:             *     
202:             */
203:            public void setNone(None value) {
204:                this .none = value;
205:            }
206:
207:            /**
208:             * Gets the value of the final property.
209:             * 
210:             * @return
211:             *     possible object is
212:             *     {@link Final }
213:             *     
214:             */
215:            public Final getFinal() {
216:                return _final;
217:            }
218:
219:            /**
220:             * Sets the value of the final property.
221:             * 
222:             * @param value
223:             *     allowed object is
224:             *     {@link Final }
225:             *     
226:             */
227:            public void setFinal(Final value) {
228:                this ._final = value;
229:            }
230:
231:            /**
232:             * Gets the value of the nack property.
233:             * 
234:             * <p>
235:             * This accessor method returns a reference to the live list,
236:             * not a snapshot. Therefore any modification you make to the
237:             * returned list will be present inside the JAXB object.
238:             * This is why there is not a <CODE>set</CODE> method for the nack property.
239:             * 
240:             * <p>
241:             * For example, to add a new item, do as follows:
242:             * <pre>
243:             *    getNack().add(newItem);
244:             * </pre>
245:             * 
246:             * 
247:             * <p>
248:             * Objects of the following type(s) are allowed in the list
249:             * {@link BigInteger }
250:             * 
251:             * 
252:             */
253:            public List<BigInteger> getNack() {
254:                if (nack == null) {
255:                    nack = new ArrayList<BigInteger>();
256:                }
257:                return this .nack;
258:            }
259:
260:            /**
261:             * Gets the value of the any property.
262:             * 
263:             * <p>
264:             * This accessor method returns a reference to the live list,
265:             * not a snapshot. Therefore any modification you make to the
266:             * returned list will be present inside the JAXB object.
267:             * This is why there is not a <CODE>set</CODE> method for the any property.
268:             * 
269:             * <p>
270:             * For example, to add a new item, do as follows:
271:             * <pre>
272:             *    getAny().add(newItem);
273:             * </pre>
274:             * 
275:             * 
276:             * <p>
277:             * Objects of the following type(s) are allowed in the list
278:             * {@link Element }
279:             * {@link Object }
280:             * 
281:             * 
282:             */
283:            public List<Object> getAny() {
284:                if (any == null) {
285:                    any = new ArrayList<Object>();
286:                }
287:                return this .any;
288:            }
289:
290:            /**
291:             * Gets a map that contains attributes that aren't bound to any typed property on this class.
292:             * 
293:             * <p>
294:             * the map is keyed by the name of the attribute and 
295:             * the value is the string value of the attribute.
296:             * 
297:             * the map returned by this method is live, and you can add new attribute
298:             * by updating the map directly. Because of this design, there's no setter.
299:             * 
300:             * 
301:             * @return
302:             *     always non-null
303:             */
304:            public Map<QName, String> getOtherAttributes() {
305:                return otherAttributes;
306:            }
307:
308:            /**
309:             * <p>Java class for anonymous complex type.
310:             * 
311:             * <p>The following schema fragment specifies the expected content contained within this class.
312:             * 
313:             * <pre>
314:             * &lt;complexType>
315:             *   &lt;complexContent>
316:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
317:             *       &lt;sequence>
318:             *       &lt;/sequence>
319:             *       &lt;attribute name="Lower" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
320:             *       &lt;attribute name="Upper" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
321:             *     &lt;/restriction>
322:             *   &lt;/complexContent>
323:             * &lt;/complexType>
324:             * </pre>
325:             * 
326:             * 
327:             */
328:            @XmlAccessorType(XmlAccessType.FIELD)
329:            @XmlType(name="")
330:            public static class AcknowledgementRange {
331:
332:                @XmlAttribute(name="Lower",required=true)
333:                protected BigInteger lower;
334:                @XmlAttribute(name="Upper",required=true)
335:                protected BigInteger upper;
336:                @XmlAnyAttribute
337:                private Map<QName, String> otherAttributes = new HashMap<QName, String>();
338:
339:                /**
340:                 * Gets the value of the lower property.
341:                 * 
342:                 * @return
343:                 *     possible object is
344:                 *     {@link BigInteger }
345:                 *     
346:                 */
347:                public BigInteger getLower() {
348:                    return lower;
349:                }
350:
351:                /**
352:                 * Sets the value of the lower property.
353:                 * 
354:                 * @param value
355:                 *     allowed object is
356:                 *     {@link BigInteger }
357:                 *     
358:                 */
359:                public void setLower(BigInteger value) {
360:                    this .lower = value;
361:                }
362:
363:                /**
364:                 * Gets the value of the upper property.
365:                 * 
366:                 * @return
367:                 *     possible object is
368:                 *     {@link BigInteger }
369:                 *     
370:                 */
371:                public BigInteger getUpper() {
372:                    return upper;
373:                }
374:
375:                /**
376:                 * Sets the value of the upper property.
377:                 * 
378:                 * @param value
379:                 *     allowed object is
380:                 *     {@link BigInteger }
381:                 *     
382:                 */
383:                public void setUpper(BigInteger value) {
384:                    this .upper = value;
385:                }
386:
387:                /**
388:                 * Gets a map that contains attributes that aren't bound to any typed property on this class.
389:                 * 
390:                 * <p>
391:                 * the map is keyed by the name of the attribute and 
392:                 * the value is the string value of the attribute.
393:                 * 
394:                 * the map returned by this method is live, and you can add new attribute
395:                 * by updating the map directly. Because of this design, there's no setter.
396:                 * 
397:                 * 
398:                 * @return
399:                 *     always non-null
400:                 */
401:                public Map<QName, String> getOtherAttributes() {
402:                    return otherAttributes;
403:                }
404:
405:            }
406:
407:            /**
408:             * <p>Java class for anonymous complex type.
409:             * 
410:             * <p>The following schema fragment specifies the expected content contained within this class.
411:             * 
412:             * <pre>
413:             * &lt;complexType>
414:             *   &lt;complexContent>
415:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
416:             *       &lt;sequence>
417:             *       &lt;/sequence>
418:             *     &lt;/restriction>
419:             *   &lt;/complexContent>
420:             * &lt;/complexType>
421:             * </pre>
422:             * 
423:             * 
424:             */
425:            @XmlAccessorType(XmlAccessType.FIELD)
426:            @XmlType(name="")
427:            public static class Final {
428:
429:            }
430:
431:            /**
432:             * <p>Java class for anonymous complex type.
433:             * 
434:             * <p>The following schema fragment specifies the expected content contained within this class.
435:             * 
436:             * <pre>
437:             * &lt;complexType>
438:             *   &lt;complexContent>
439:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
440:             *       &lt;sequence>
441:             *       &lt;/sequence>
442:             *     &lt;/restriction>
443:             *   &lt;/complexContent>
444:             * &lt;/complexType>
445:             * </pre>
446:             * 
447:             * 
448:             */
449:            @XmlAccessorType(XmlAccessType.FIELD)
450:            @XmlType(name="")
451:            public static class None {
452:
453:            }
454:
455:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.