Source Code Cross Referenced for Asset.java in  » 6.0-JDK-Modules » java-3d » org » collada » colladaschema » 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 » java 3d » org.collada.colladaschema 
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, vJAXB 2.0 in JDK 1.6 
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.03.17 at 08:38:02 AM PDT 
006:        //
007:
008:        package org.collada.colladaschema;
009:
010:        import java.util.ArrayList;
011:        import java.util.List;
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.XmlRootElement;
017:        import javax.xml.bind.annotation.XmlType;
018:        import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019:        import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020:        import javax.xml.datatype.XMLGregorianCalendar;
021:
022:        /**
023:         * <p>Java class for anonymous complex type.
024:         * 
025:         * <p>The following schema fragment specifies the expected content contained within this class.
026:         * 
027:         * <pre>
028:         * &lt;complexType>
029:         *   &lt;complexContent>
030:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031:         *       &lt;sequence>
032:         *         &lt;element name="contributor" maxOccurs="unbounded" minOccurs="0">
033:         *           &lt;complexType>
034:         *             &lt;complexContent>
035:         *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036:         *                 &lt;sequence>
037:         *                   &lt;element name="author" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
038:         *                   &lt;element name="authoring_tool" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
039:         *                   &lt;element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
040:         *                   &lt;element name="copyright" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
041:         *                   &lt;element name="source_data" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
042:         *                 &lt;/sequence>
043:         *               &lt;/restriction>
044:         *             &lt;/complexContent>
045:         *           &lt;/complexType>
046:         *         &lt;/element>
047:         *         &lt;element name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
048:         *         &lt;element name="keywords" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
049:         *         &lt;element name="modified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
050:         *         &lt;element name="revision" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
051:         *         &lt;element name="subject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
052:         *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
053:         *         &lt;element name="unit" minOccurs="0">
054:         *           &lt;complexType>
055:         *             &lt;complexContent>
056:         *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
057:         *                 &lt;attribute name="meter" type="{http://www.collada.org/2005/11/COLLADASchema}float" default="1.0" />
058:         *                 &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" default="meter" />
059:         *               &lt;/restriction>
060:         *             &lt;/complexContent>
061:         *           &lt;/complexType>
062:         *         &lt;/element>
063:         *         &lt;element name="up_axis" type="{http://www.collada.org/2005/11/COLLADASchema}UpAxisType" minOccurs="0"/>
064:         *       &lt;/sequence>
065:         *     &lt;/restriction>
066:         *   &lt;/complexContent>
067:         * &lt;/complexType>
068:         * </pre>
069:         * 
070:         * 
071:         */
072:        @XmlAccessorType(XmlAccessType.FIELD)
073:        @XmlType(name="",propOrder={"contributors","created","keywords","modified","revision","subject","title","unit","upAxis"})
074:        @XmlRootElement(name="asset")
075:        public class Asset {
076:
077:            @XmlElement(name="contributor")
078:            protected List<Asset.Contributor> contributors;
079:            @XmlElement(required=true)
080:            protected XMLGregorianCalendar created;
081:            protected String keywords;
082:            @XmlElement(required=true)
083:            protected XMLGregorianCalendar modified;
084:            protected String revision;
085:            protected String subject;
086:            protected String title;
087:            protected Asset.Unit unit;
088:            @XmlElement(name="up_axis",defaultValue="Y_UP")
089:            protected UpAxisType upAxis;
090:
091:            /**
092:             * Gets the value of the contributors property.
093:             * 
094:             * <p>
095:             * This accessor method returns a reference to the live list,
096:             * not a snapshot. Therefore any modification you make to the
097:             * returned list will be present inside the JAXB object.
098:             * This is why there is not a <CODE>set</CODE> method for the contributors property.
099:             * 
100:             * <p>
101:             * For example, to add a new item, do as follows:
102:             * <pre>
103:             *    getContributors().add(newItem);
104:             * </pre>
105:             * 
106:             * 
107:             * <p>
108:             * Objects of the following type(s) are allowed in the list
109:             * {@link Asset.Contributor }
110:             * 
111:             * 
112:             */
113:            public List<Asset.Contributor> getContributors() {
114:                if (contributors == null) {
115:                    contributors = new ArrayList<Asset.Contributor>();
116:                }
117:                return this .contributors;
118:            }
119:
120:            /**
121:             * Gets the value of the created property.
122:             * 
123:             * @return
124:             *     possible object is
125:             *     {@link XMLGregorianCalendar }
126:             *     
127:             */
128:            public XMLGregorianCalendar getCreated() {
129:                return created;
130:            }
131:
132:            /**
133:             * Sets the value of the created property.
134:             * 
135:             * @param value
136:             *     allowed object is
137:             *     {@link XMLGregorianCalendar }
138:             *     
139:             */
140:            public void setCreated(XMLGregorianCalendar value) {
141:                this .created = value;
142:            }
143:
144:            /**
145:             * Gets the value of the keywords property.
146:             * 
147:             * @return
148:             *     possible object is
149:             *     {@link String }
150:             *     
151:             */
152:            public String getKeywords() {
153:                return keywords;
154:            }
155:
156:            /**
157:             * Sets the value of the keywords property.
158:             * 
159:             * @param value
160:             *     allowed object is
161:             *     {@link String }
162:             *     
163:             */
164:            public void setKeywords(String value) {
165:                this .keywords = value;
166:            }
167:
168:            /**
169:             * Gets the value of the modified property.
170:             * 
171:             * @return
172:             *     possible object is
173:             *     {@link XMLGregorianCalendar }
174:             *     
175:             */
176:            public XMLGregorianCalendar getModified() {
177:                return modified;
178:            }
179:
180:            /**
181:             * Sets the value of the modified property.
182:             * 
183:             * @param value
184:             *     allowed object is
185:             *     {@link XMLGregorianCalendar }
186:             *     
187:             */
188:            public void setModified(XMLGregorianCalendar value) {
189:                this .modified = value;
190:            }
191:
192:            /**
193:             * Gets the value of the revision property.
194:             * 
195:             * @return
196:             *     possible object is
197:             *     {@link String }
198:             *     
199:             */
200:            public String getRevision() {
201:                return revision;
202:            }
203:
204:            /**
205:             * Sets the value of the revision property.
206:             * 
207:             * @param value
208:             *     allowed object is
209:             *     {@link String }
210:             *     
211:             */
212:            public void setRevision(String value) {
213:                this .revision = value;
214:            }
215:
216:            /**
217:             * Gets the value of the subject property.
218:             * 
219:             * @return
220:             *     possible object is
221:             *     {@link String }
222:             *     
223:             */
224:            public String getSubject() {
225:                return subject;
226:            }
227:
228:            /**
229:             * Sets the value of the subject property.
230:             * 
231:             * @param value
232:             *     allowed object is
233:             *     {@link String }
234:             *     
235:             */
236:            public void setSubject(String value) {
237:                this .subject = value;
238:            }
239:
240:            /**
241:             * Gets the value of the title property.
242:             * 
243:             * @return
244:             *     possible object is
245:             *     {@link String }
246:             *     
247:             */
248:            public String getTitle() {
249:                return title;
250:            }
251:
252:            /**
253:             * Sets the value of the title property.
254:             * 
255:             * @param value
256:             *     allowed object is
257:             *     {@link String }
258:             *     
259:             */
260:            public void setTitle(String value) {
261:                this .title = value;
262:            }
263:
264:            /**
265:             * Gets the value of the unit property.
266:             * 
267:             * @return
268:             *     possible object is
269:             *     {@link Asset.Unit }
270:             *     
271:             */
272:            public Asset.Unit getUnit() {
273:                return unit;
274:            }
275:
276:            /**
277:             * Sets the value of the unit property.
278:             * 
279:             * @param value
280:             *     allowed object is
281:             *     {@link Asset.Unit }
282:             *     
283:             */
284:            public void setUnit(Asset.Unit value) {
285:                this .unit = value;
286:            }
287:
288:            /**
289:             * Gets the value of the upAxis property.
290:             * 
291:             * @return
292:             *     possible object is
293:             *     {@link UpAxisType }
294:             *     
295:             */
296:            public UpAxisType getUpAxis() {
297:                return upAxis;
298:            }
299:
300:            /**
301:             * Sets the value of the upAxis property.
302:             * 
303:             * @param value
304:             *     allowed object is
305:             *     {@link UpAxisType }
306:             *     
307:             */
308:            public void setUpAxis(UpAxisType value) {
309:                this .upAxis = value;
310:            }
311:
312:            /**
313:             * <p>Java class for anonymous complex type.
314:             * 
315:             * <p>The following schema fragment specifies the expected content contained within this class.
316:             * 
317:             * <pre>
318:             * &lt;complexType>
319:             *   &lt;complexContent>
320:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
321:             *       &lt;sequence>
322:             *         &lt;element name="author" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
323:             *         &lt;element name="authoring_tool" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
324:             *         &lt;element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
325:             *         &lt;element name="copyright" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
326:             *         &lt;element name="source_data" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
327:             *       &lt;/sequence>
328:             *     &lt;/restriction>
329:             *   &lt;/complexContent>
330:             * &lt;/complexType>
331:             * </pre>
332:             * 
333:             * 
334:             */
335:            @XmlAccessorType(XmlAccessType.FIELD)
336:            @XmlType(name="",propOrder={"author","authoringTool","comments","copyright","sourceData"})
337:            public static class Contributor {
338:
339:                protected String author;
340:                @XmlElement(name="authoring_tool")
341:                protected String authoringTool;
342:                protected String comments;
343:                protected String copyright;
344:                @XmlElement(name="source_data")
345:                protected String sourceData;
346:
347:                /**
348:                 * Gets the value of the author property.
349:                 * 
350:                 * @return
351:                 *     possible object is
352:                 *     {@link String }
353:                 *     
354:                 */
355:                public String getAuthor() {
356:                    return author;
357:                }
358:
359:                /**
360:                 * Sets the value of the author property.
361:                 * 
362:                 * @param value
363:                 *     allowed object is
364:                 *     {@link String }
365:                 *     
366:                 */
367:                public void setAuthor(String value) {
368:                    this .author = value;
369:                }
370:
371:                /**
372:                 * Gets the value of the authoringTool property.
373:                 * 
374:                 * @return
375:                 *     possible object is
376:                 *     {@link String }
377:                 *     
378:                 */
379:                public String getAuthoringTool() {
380:                    return authoringTool;
381:                }
382:
383:                /**
384:                 * Sets the value of the authoringTool property.
385:                 * 
386:                 * @param value
387:                 *     allowed object is
388:                 *     {@link String }
389:                 *     
390:                 */
391:                public void setAuthoringTool(String value) {
392:                    this .authoringTool = value;
393:                }
394:
395:                /**
396:                 * Gets the value of the comments property.
397:                 * 
398:                 * @return
399:                 *     possible object is
400:                 *     {@link String }
401:                 *     
402:                 */
403:                public String getComments() {
404:                    return comments;
405:                }
406:
407:                /**
408:                 * Sets the value of the comments property.
409:                 * 
410:                 * @param value
411:                 *     allowed object is
412:                 *     {@link String }
413:                 *     
414:                 */
415:                public void setComments(String value) {
416:                    this .comments = value;
417:                }
418:
419:                /**
420:                 * Gets the value of the copyright property.
421:                 * 
422:                 * @return
423:                 *     possible object is
424:                 *     {@link String }
425:                 *     
426:                 */
427:                public String getCopyright() {
428:                    return copyright;
429:                }
430:
431:                /**
432:                 * Sets the value of the copyright property.
433:                 * 
434:                 * @param value
435:                 *     allowed object is
436:                 *     {@link String }
437:                 *     
438:                 */
439:                public void setCopyright(String value) {
440:                    this .copyright = value;
441:                }
442:
443:                /**
444:                 * Gets the value of the sourceData property.
445:                 * 
446:                 * @return
447:                 *     possible object is
448:                 *     {@link String }
449:                 *     
450:                 */
451:                public String getSourceData() {
452:                    return sourceData;
453:                }
454:
455:                /**
456:                 * Sets the value of the sourceData property.
457:                 * 
458:                 * @param value
459:                 *     allowed object is
460:                 *     {@link String }
461:                 *     
462:                 */
463:                public void setSourceData(String value) {
464:                    this .sourceData = value;
465:                }
466:
467:            }
468:
469:            /**
470:             * <p>Java class for anonymous complex type.
471:             * 
472:             * <p>The following schema fragment specifies the expected content contained within this class.
473:             * 
474:             * <pre>
475:             * &lt;complexType>
476:             *   &lt;complexContent>
477:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
478:             *       &lt;attribute name="meter" type="{http://www.collada.org/2005/11/COLLADASchema}float" default="1.0" />
479:             *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" default="meter" />
480:             *     &lt;/restriction>
481:             *   &lt;/complexContent>
482:             * &lt;/complexType>
483:             * </pre>
484:             * 
485:             * 
486:             */
487:            @XmlAccessorType(XmlAccessType.FIELD)
488:            @XmlType(name="")
489:            public static class Unit {
490:
491:                @XmlAttribute
492:                protected Double meter;
493:                @XmlAttribute
494:                @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
495:                protected String name;
496:
497:                /**
498:                 * Gets the value of the meter property.
499:                 * 
500:                 * @return
501:                 *     possible object is
502:                 *     {@link Double }
503:                 *     
504:                 */
505:                public double getMeter() {
506:                    if (meter == null) {
507:                        return 1.0D;
508:                    } else {
509:                        return meter;
510:                    }
511:                }
512:
513:                /**
514:                 * Sets the value of the meter property.
515:                 * 
516:                 * @param value
517:                 *     allowed object is
518:                 *     {@link Double }
519:                 *     
520:                 */
521:                public void setMeter(Double value) {
522:                    this .meter = value;
523:                }
524:
525:                /**
526:                 * Gets the value of the name property.
527:                 * 
528:                 * @return
529:                 *     possible object is
530:                 *     {@link String }
531:                 *     
532:                 */
533:                public String getName() {
534:                    if (name == null) {
535:                        return "meter";
536:                    } else {
537:                        return name;
538:                    }
539:                }
540:
541:                /**
542:                 * Sets the value of the name property.
543:                 * 
544:                 * @param value
545:                 *     allowed object is
546:                 *     {@link String }
547:                 *     
548:                 */
549:                public void setName(String value) {
550:                    this.name = value;
551:                }
552:
553:            }
554:
555:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.