Source Code Cross Referenced for ResultTypeType.java in  » GIS » GeoServer » net » opengis » wfs » 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 » GIS » GeoServer » net.opengis.wfs 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * <copyright>
003:         * </copyright>
004:         *
005:         * $Id: ResultTypeType.java 7522 2007-09-12 22:00:10Z saul.farber $
006:         */package net.opengis.wfs;
007:
008:        import java.util.Arrays;
009:        import java.util.Collections;
010:        import java.util.List;
011:
012:        import org.eclipse.emf.common.util.AbstractEnumerator;
013:
014:        /**
015:         * <!-- begin-user-doc -->
016:         * A representation of the literals of the enumeration '<em><b>Result Type Type</b></em>',
017:         * and utility methods for working with them.
018:         * <!-- end-user-doc -->
019:         * @see net.opengis.wfs.WfsPackage#getResultTypeType()
020:         * @model
021:         * @generated
022:         */
023:        public final class ResultTypeType extends AbstractEnumerator {
024:            /**
025:             * The '<em><b>Results</b></em>' literal value.
026:             * <!-- begin-user-doc -->
027:             * <!-- end-user-doc -->
028:             * <!-- begin-model-doc -->
029:             * 
030:             *                   Indicates that a complete response should be generated
031:             *                   by the WFS.  That is, all response feature instances
032:             *                   should be returned to the client.
033:             * <!-- end-model-doc -->
034:             * @see #RESULTS_LITERAL
035:             * @model name="results"
036:             * @generated
037:             * @ordered
038:             */
039:            public static final int RESULTS = 0;
040:
041:            /**
042:             * The '<em><b>Hits</b></em>' literal value.
043:             * <!-- begin-user-doc -->
044:             * <!-- end-user-doc -->
045:             * <!-- begin-model-doc -->
046:             * 
047:             *                   Indicates that an empty response should be generated with
048:             *                   the "numberOfFeatures" attribute set (i.e. no feature
049:             *                   instances should be returned).  In this manner a client may
050:             *                   determine the number of feature instances that a GetFeature
051:             *                   request will return without having to actually get the
052:             *                   entire result set back.
053:             * <!-- end-model-doc -->
054:             * @see #HITS_LITERAL
055:             * @model name="hits"
056:             * @generated
057:             * @ordered
058:             */
059:            public static final int HITS = 1;
060:
061:            /**
062:             * The '<em><b>Results</b></em>' literal object.
063:             * <!-- begin-user-doc -->
064:             * <!-- end-user-doc -->
065:             * @see #RESULTS
066:             * @generated
067:             * @ordered
068:             */
069:            public static final ResultTypeType RESULTS_LITERAL = new ResultTypeType(
070:                    RESULTS, "results", "results");
071:
072:            /**
073:             * The '<em><b>Hits</b></em>' literal object.
074:             * <!-- begin-user-doc -->
075:             * <!-- end-user-doc -->
076:             * @see #HITS
077:             * @generated
078:             * @ordered
079:             */
080:            public static final ResultTypeType HITS_LITERAL = new ResultTypeType(
081:                    HITS, "hits", "hits");
082:
083:            /**
084:             * An array of all the '<em><b>Result Type Type</b></em>' enumerators.
085:             * <!-- begin-user-doc -->
086:             * <!-- end-user-doc -->
087:             * @generated
088:             */
089:            private static final ResultTypeType[] VALUES_ARRAY = new ResultTypeType[] {
090:                    RESULTS_LITERAL, HITS_LITERAL, };
091:
092:            /**
093:             * A public read-only list of all the '<em><b>Result Type Type</b></em>' enumerators.
094:             * <!-- begin-user-doc -->
095:             * <!-- end-user-doc -->
096:             * @generated
097:             */
098:            public static final List VALUES = Collections
099:                    .unmodifiableList(Arrays.asList(VALUES_ARRAY));
100:
101:            /**
102:             * Returns the '<em><b>Result Type Type</b></em>' literal with the specified literal value.
103:             * <!-- begin-user-doc -->
104:             * <!-- end-user-doc -->
105:             * @generated
106:             */
107:            public static ResultTypeType get(String literal) {
108:                for (int i = 0; i < VALUES_ARRAY.length; ++i) {
109:                    ResultTypeType result = VALUES_ARRAY[i];
110:                    if (result.toString().equals(literal)) {
111:                        return result;
112:                    }
113:                }
114:                return null;
115:            }
116:
117:            /**
118:             * Returns the '<em><b>Result Type Type</b></em>' literal with the specified name.
119:             * <!-- begin-user-doc -->
120:             * <!-- end-user-doc -->
121:             * @generated
122:             */
123:            public static ResultTypeType getByName(String name) {
124:                for (int i = 0; i < VALUES_ARRAY.length; ++i) {
125:                    ResultTypeType result = VALUES_ARRAY[i];
126:                    if (result.getName().equals(name)) {
127:                        return result;
128:                    }
129:                }
130:                return null;
131:            }
132:
133:            /**
134:             * Returns the '<em><b>Result Type Type</b></em>' literal with the specified integer value.
135:             * <!-- begin-user-doc -->
136:             * <!-- end-user-doc -->
137:             * @generated
138:             */
139:            public static ResultTypeType get(int value) {
140:                switch (value) {
141:                case RESULTS:
142:                    return RESULTS_LITERAL;
143:                case HITS:
144:                    return HITS_LITERAL;
145:                }
146:                return null;
147:            }
148:
149:            /**
150:             * Only this class can construct instances.
151:             * <!-- begin-user-doc -->
152:             * <!-- end-user-doc -->
153:             * @generated
154:             */
155:            private ResultTypeType(int value, String name, String literal) {
156:                super (value, name, literal);
157:            }
158:
159:        } //ResultTypeType
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.