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


001:        /**
002:         * <copyright>
003:         * </copyright>
004:         *
005:         * $Id: DescribeVersionedFeatureTypeTypeImpl.java 7988 2007-12-12 20:29:15Z aaime $
006:         */package net.opengis.wfsv.impl;
007:
008:        import net.opengis.wfs.impl.DescribeFeatureTypeTypeImpl;
009:
010:        import net.opengis.wfsv.DescribeVersionedFeatureTypeType;
011:        import net.opengis.wfsv.WfsvPackage;
012:
013:        import org.eclipse.emf.common.notify.Notification;
014:
015:        import org.eclipse.emf.ecore.EClass;
016:
017:        import org.eclipse.emf.ecore.impl.ENotificationImpl;
018:
019:        /**
020:         * <!-- begin-user-doc -->
021:         * An implementation of the model object '<em><b>Describe Versioned Feature Type Type</b></em>'.
022:         * <!-- end-user-doc -->
023:         * <p>
024:         * The following features are implemented:
025:         * <ul>
026:         *   <li>{@link net.opengis.wfsv.impl.DescribeVersionedFeatureTypeTypeImpl#isVersioned <em>Versioned</em>}</li>
027:         * </ul>
028:         * </p>
029:         *
030:         * @generated
031:         */
032:        public class DescribeVersionedFeatureTypeTypeImpl extends
033:                DescribeFeatureTypeTypeImpl implements 
034:                DescribeVersionedFeatureTypeType {
035:            /**
036:             * The default value of the '{@link #isVersioned() <em>Versioned</em>}' attribute.
037:             * <!-- begin-user-doc -->
038:             * <!-- end-user-doc -->
039:             * @see #isVersioned()
040:             * @generated
041:             * @ordered
042:             */
043:            protected static final boolean VERSIONED_EDEFAULT = true;
044:
045:            /**
046:             * The cached value of the '{@link #isVersioned() <em>Versioned</em>}' attribute.
047:             * <!-- begin-user-doc -->
048:             * <!-- end-user-doc -->
049:             * @see #isVersioned()
050:             * @generated
051:             * @ordered
052:             */
053:            protected boolean versioned = VERSIONED_EDEFAULT;
054:
055:            /**
056:             * This is true if the Versioned attribute has been set.
057:             * <!-- begin-user-doc -->
058:             * <!-- end-user-doc -->
059:             * @generated
060:             * @ordered
061:             */
062:            protected boolean versionedESet;
063:
064:            /**
065:             * <!-- begin-user-doc -->
066:             * <!-- end-user-doc -->
067:             * @generated
068:             */
069:            protected DescribeVersionedFeatureTypeTypeImpl() {
070:                super ();
071:            }
072:
073:            /**
074:             * <!-- begin-user-doc -->
075:             * <!-- end-user-doc -->
076:             * @generated
077:             */
078:            protected EClass eStaticClass() {
079:                return WfsvPackage.Literals.DESCRIBE_VERSIONED_FEATURE_TYPE_TYPE;
080:            }
081:
082:            /**
083:             * <!-- begin-user-doc -->
084:             * <!-- end-user-doc -->
085:             * @generated
086:             */
087:            public boolean isVersioned() {
088:                return versioned;
089:            }
090:
091:            /**
092:             * <!-- begin-user-doc -->
093:             * <!-- end-user-doc -->
094:             * @generated
095:             */
096:            public void setVersioned(boolean newVersioned) {
097:                boolean oldVersioned = versioned;
098:                versioned = newVersioned;
099:                boolean oldVersionedESet = versionedESet;
100:                versionedESet = true;
101:                if (eNotificationRequired())
102:                    eNotify(new ENotificationImpl(
103:                            this ,
104:                            Notification.SET,
105:                            WfsvPackage.DESCRIBE_VERSIONED_FEATURE_TYPE_TYPE__VERSIONED,
106:                            oldVersioned, versioned, !oldVersionedESet));
107:            }
108:
109:            /**
110:             * <!-- begin-user-doc -->
111:             * <!-- end-user-doc -->
112:             * @generated
113:             */
114:            public void unsetVersioned() {
115:                boolean oldVersioned = versioned;
116:                boolean oldVersionedESet = versionedESet;
117:                versioned = VERSIONED_EDEFAULT;
118:                versionedESet = false;
119:                if (eNotificationRequired())
120:                    eNotify(new ENotificationImpl(
121:                            this ,
122:                            Notification.UNSET,
123:                            WfsvPackage.DESCRIBE_VERSIONED_FEATURE_TYPE_TYPE__VERSIONED,
124:                            oldVersioned, VERSIONED_EDEFAULT, oldVersionedESet));
125:            }
126:
127:            /**
128:             * <!-- begin-user-doc -->
129:             * <!-- end-user-doc -->
130:             * @generated
131:             */
132:            public boolean isSetVersioned() {
133:                return versionedESet;
134:            }
135:
136:            /**
137:             * <!-- begin-user-doc -->
138:             * <!-- end-user-doc -->
139:             * @generated
140:             */
141:            public Object eGet(int featureID, boolean resolve, boolean coreType) {
142:                switch (featureID) {
143:                case WfsvPackage.DESCRIBE_VERSIONED_FEATURE_TYPE_TYPE__VERSIONED:
144:                    return isVersioned() ? Boolean.TRUE : Boolean.FALSE;
145:                }
146:                return super .eGet(featureID, resolve, coreType);
147:            }
148:
149:            /**
150:             * <!-- begin-user-doc -->
151:             * <!-- end-user-doc -->
152:             * @generated
153:             */
154:            public void eSet(int featureID, Object newValue) {
155:                switch (featureID) {
156:                case WfsvPackage.DESCRIBE_VERSIONED_FEATURE_TYPE_TYPE__VERSIONED:
157:                    setVersioned(((Boolean) newValue).booleanValue());
158:                    return;
159:                }
160:                super .eSet(featureID, newValue);
161:            }
162:
163:            /**
164:             * <!-- begin-user-doc -->
165:             * <!-- end-user-doc -->
166:             * @generated
167:             */
168:            public void eUnset(int featureID) {
169:                switch (featureID) {
170:                case WfsvPackage.DESCRIBE_VERSIONED_FEATURE_TYPE_TYPE__VERSIONED:
171:                    unsetVersioned();
172:                    return;
173:                }
174:                super .eUnset(featureID);
175:            }
176:
177:            /**
178:             * <!-- begin-user-doc -->
179:             * <!-- end-user-doc -->
180:             * @generated
181:             */
182:            public boolean eIsSet(int featureID) {
183:                switch (featureID) {
184:                case WfsvPackage.DESCRIBE_VERSIONED_FEATURE_TYPE_TYPE__VERSIONED:
185:                    return isSetVersioned();
186:                }
187:                return super .eIsSet(featureID);
188:            }
189:
190:            /**
191:             * <!-- begin-user-doc -->
192:             * <!-- end-user-doc -->
193:             * @generated
194:             */
195:            public String toString() {
196:                if (eIsProxy())
197:                    return super .toString();
198:
199:                StringBuffer result = new StringBuffer(super .toString());
200:                result.append(" (versioned: ");
201:                if (versionedESet)
202:                    result.append(versioned);
203:                else
204:                    result.append("<unset>");
205:                result.append(')');
206:                return result.toString();
207:            }
208:
209:        } //DescribeVersionedFeatureTypeTypeImpl
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.