Source Code Cross Referenced for ElementRestrictions.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » webapp » jonasadmin » xml » xs » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.webapp.jonasadmin.xml.xs 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * JOnAS: Java(TM) Open Application Server Copyright (C) 2005 Bull S.A. Contact:
003:         * jonas-team@objectweb.org
004:         *
005:         * This library is free software; you can redistribute it and/or modify it under
006:         * the terms of the GNU Lesser General Public License as published by the Free
007:         * Software Foundation; either version 2.1 of the License, or any later version.
008:         *
009:         * This library is distributed in the hope that it will be useful, but WITHOUT
010:         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011:         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012:         * details.
013:         *
014:         * You should have received a copy of the GNU Lesser General Public License
015:         * along with this library; if not, write to the Free Software Foundation, Inc.,
016:         * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
017:         *
018:         * --------------------------------------------------------------------------
019:         * $Id: ElementRestrictions.java 7521 2005-10-19 02:14:21Z pasmith $
020:         * --------------------------------------------------------------------------
021:         */package org.objectweb.jonas.webapp.jonasadmin.xml.xs;
022:
023:        import java.util.List;
024:
025:        /**
026:         * An interface to represent the element restrictions of a schema.
027:         *
028:         * @author Gregory Lapouchnian
029:         * @author Patrick Smith
030:         */
031:        public interface ElementRestrictions {
032:
033:            /**
034:             * Return if this element is simple with no attributes
035:             * @return true if this element is a simple element and has no attributes.
036:             */
037:            boolean isSimpleAndNoAttributes();
038:
039:            /**
040:             * Returns the list of children
041:             * @return the list of children.
042:             */
043:            List getChildren();
044:
045:            /**
046:             * Sets the list of children to the given list.
047:             * @param children the list of children.
048:             */
049:            void setChildren(List children);
050:
051:            /**
052:             * Is this element a sequence?
053:             * @return true if this element is a sequence.
054:             */
055:            boolean isSequence();
056:
057:            /**
058:             * Sets if this element is a sequence.
059:             * @param isSequence the value to set.
060:             */
061:            void setSequence(boolean isSequence);
062:
063:            /**
064:             * Returns if this element is complex.
065:             * @return true if this element is complex.
066:             */
067:            boolean isComplex();
068:
069:            /**
070:             * sets if this element is complex.
071:             * @param isComplex the value to set.
072:             */
073:            void setComplex(boolean isComplex);
074:
075:            /**
076:             * Gets the name of this element
077:             * @return the name of this element.
078:             */
079:            String getName();
080:
081:            /**
082:             * sets the name of this element
083:             * @param name the value to set.
084:             */
085:            void setName(String name);
086:
087:            /**
088:             * Return the list of attributes for this element.
089:             * @return the list of attributes for this element.
090:             */
091:            List getAttributes();
092:
093:            /**
094:             * Sets the list of attributes for this element.
095:             * @param attributes the value to set.
096:             */
097:            void setAttributes(List attributes);
098:
099:            /**
100:             * Get the min occurances of this element.
101:             * @return the min occurances of this element.
102:             */
103:            int getMinOccurs();
104:
105:            /**
106:             * Sets the min occurrances for this element.
107:             * @param min the min occurrances for this element.
108:             */
109:            void setMinOccurs(int min);
110:
111:            /**
112:             * return the max occurrances for this element.
113:             * @return the max occurances for this element.
114:             */
115:            int getMaxOccurs();
116:
117:            /**
118:             * Sets the max occurances for this element.
119:             * @param min the value to set.
120:             */
121:            void setMaxOccurs(int min);
122:        }
ww___w__.j_a_v__a__2__s___._c__o_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.