Source Code Cross Referenced for SequenceElement.java in  » 6.0-JDK-Modules-com.sun » wsit » com » sun » xml » ws » rm » v200702 » 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.v200702 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        //
002:        // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-422 
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: 2007.07.10 at 02:10:42 PM PDT 
006:        //
007:
008:        package com.sun.xml.ws.rm.v200702;
009:
010:        import com.sun.xml.ws.rm.protocol.AbstractSequence;
011:        import com.sun.xml.ws.rm.protocol.Messages;
012:
013:        import org.w3c.dom.Element;
014:
015:        import javax.xml.bind.annotation.*;
016:        import javax.xml.namespace.QName;
017:        import java.util.ArrayList;
018:        import java.util.HashMap;
019:        import java.util.List;
020:        import java.util.Map;
021:
022:        /**
023:         * <p>Java class for SequenceType complex type.
024:         * 
025:         * <p>The following schema fragment specifies the expected content contained within this class.
026:         * 
027:         * <pre>
028:         * &lt;complexType name="SequenceType">
029:         *   &lt;complexContent>
030:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031:         *       &lt;sequence>
032:         *         &lt;element ref="{http://docs.oasis-open.org/ws-rx/wsrm/200702}Identifier"/>
033:         *         &lt;element name="MessageNumber" type="{http://docs.oasis-open.org/ws-rx/wsrm/200702}MessageNumberType"/>
034:         *         &lt;any/>
035:         *       &lt;/sequence>
036:         *     &lt;/restriction>
037:         *   &lt;/complexContent>
038:         * &lt;/complexType>
039:         * </pre>
040:         * 
041:         * 
042:         */
043:        @XmlAccessorType(XmlAccessType.FIELD)
044:        @XmlType(name="SequenceType",propOrder={"identifier","messageNumber","any"})
045:        @XmlRootElement(name="Sequence",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
046:        public class SequenceElement extends AbstractSequence {
047:
048:            @XmlElement(name="Identifier",required=true,namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
049:            protected Identifier identifier;
050:            @XmlElement(name="MessageNumber",namespace="http://docs.oasis-open.org/ws-rx/wsrm/200702")
051:            protected Integer messageNumber;
052:            @XmlAnyElement(lax=true)
053:            protected List<Object> any;
054:            @XmlAnyAttribute
055:            private Map<QName, String> otherAttributes = new HashMap<QName, String>();
056:
057:            /**
058:             * Gets the value of the identifier property.
059:             * 
060:             * @return
061:             *     possible object is
062:             *     {@link Identifier }
063:             *     
064:             */
065:            public Identifier getIdentifier() {
066:                return identifier;
067:            }
068:
069:            /**
070:             * Sets the value of the identifier property.
071:             * 
072:             * @param value
073:             *     allowed object is
074:             *     {@link Identifier }
075:             *     
076:             */
077:            public void setIdentifier(Identifier value) {
078:                this .identifier = value;
079:            }
080:
081:            /**
082:             * Gets the value of the messageNumber property.
083:             * 
084:             */
085:            public Integer getMessageNumber() {
086:                return messageNumber;
087:            }
088:
089:            /**
090:             * Sets the value of the messageNumber property.
091:             * 
092:             */
093:            public void setMessageNumber(Integer value) {
094:                this .messageNumber = value;
095:            }
096:
097:            /**
098:             * Gets the value of the any property.
099:             * 
100:             * <p>
101:             * This accessor method returns a reference to the live list,
102:             * not a snapshot. Therefore any modification you make to the
103:             * returned list will be present inside the JAXB object.
104:             * This is why there is not a <CODE>set</CODE> method for the any property.
105:             * 
106:             * <p>
107:             * For example, to add a new item, do as follows:
108:             * <pre>
109:             *    getAny().add(newItem);
110:             * </pre>
111:             * 
112:             * 
113:             * <p>
114:             * Objects of the following type(s) are allowed in the list
115:             * {@link Object }
116:             * {@link Element }
117:             * 
118:             * 
119:             */
120:            public List<Object> getAny() {
121:                if (any == null) {
122:                    any = new ArrayList<Object>();
123:                }
124:                return this .any;
125:            }
126:
127:            /**
128:             * Gets a map that contains attributes that aren't bound to any typed property on this class.
129:             * 
130:             * <p>
131:             * the map is keyed by the name of the attribute and 
132:             * the value is the string value of the attribute.
133:             * 
134:             * the map returned by this method is live, and you can add new attribute
135:             * by updating the map directly. Because of this design, there's no setter.
136:             * 
137:             * 
138:             * @return
139:             *     always non-null
140:             */
141:            public Map<QName, String> getOtherAttributes() {
142:                return otherAttributes;
143:            }
144:
145:            /**
146:             * Mutator for the Id property.  Maps to the Identifier property in the underlying
147:             * JAXB class.
148:             *
149:             * @param id The new value.
150:             */
151:            public void setId(String id) {
152:                Identifier identifier = new Identifier();
153:                identifier.setValue(id);
154:                setIdentifier(identifier);
155:            }
156:
157:            /**
158:             * Accessor for the Id property.  Maps to the Identifier property in the underlying
159:             * JAXB class
160:             * @return The sequence id
161:             */
162:            public String getId() {
163:                return getIdentifier().getValue();
164:            }
165:
166:            /**
167:             * Accessor for the Number property which maps to the MessageNumber property in
168:             * the underlying JAXB class.
169:             *
170:             * @return The Message number.
171:             */
172:            public int getNumber() {
173:                return getMessageNumber();
174:            }
175:
176:            public String toString() {
177:
178:                return Messages.SEQUENCE_TOSTRING_STRING.format(getId(),
179:                        getNumber());
180:            }
181:
182:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.