Source Code Cross Referenced for componentflowFactoryImpl.java in  » ESB » cbesb-1.2 » com » bostechcorp » cbesb » ui » componentflow » componentFlowEditor » 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 » ESB » cbesb 1.2 » com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /**
0002:         * <copyright>
0003:         * </copyright>
0004:         *
0005:         * $Id: componentflowFactoryImpl.java 657 2006-09-05 07:48:33Z mjin $
0006:         */package com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl;
0007:
0008:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.*;
0009:
0010:        import org.eclipse.emf.ecore.EClass;
0011:        import org.eclipse.emf.ecore.EDataType;
0012:        import org.eclipse.emf.ecore.EObject;
0013:        import org.eclipse.emf.ecore.EPackage;
0014:        import org.eclipse.emf.ecore.impl.EFactoryImpl;
0015:        import org.eclipse.emf.ecore.plugin.EcorePlugin;
0016:
0017:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.BaseElement;
0018:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.BindingComponent;
0019:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.CBR;
0020:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.CBRType;
0021:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Comment;
0022:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ComponentFlowEditorDocument;
0023:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ComponentFlowEditorElement;
0024:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ConnectModeType;
0025:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ConnectionModeType;
0026:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ConnectionSetting;
0027:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Consumer;
0028:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ConsumerCCSL;
0029:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.DecorativeModelElement;
0030:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.DefaultMepType;
0031:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.DestinationStyleType;
0032:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.EndPoint;
0033:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ExternalSystem;
0034:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FTP;
0035:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FTPAuthentication;
0036:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FTPBase;
0037:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FTPConsumer;
0038:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FTPProvider;
0039:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FTPScriptModeType;
0040:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.File;
0041:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FileActionType;
0042:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FileCompletion;
0043:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FileConsumer;
0044:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FileProvider;
0045:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.FileReply;
0046:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.HTTP;
0047:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.HttpConnection;
0048:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.HttpConsumer;
0049:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.HttpProvider;
0050:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.JDBC;
0051:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.JMS;
0052:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.JMSConsumer;
0053:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.JMSProvider;
0054:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.MessageExchange;
0055:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Parser;
0056:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ParserType;
0057:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.PatternModel;
0058:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Provider;
0059:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ProviderCCSL;
0060:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ReadStyleType;
0061:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.RecordTypeType;
0062:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.RegularType;
0063:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.RoleType;
0064:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.SSL;
0065:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.SSLMode;
0066:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Script;
0067:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ScriptRoleType;
0068:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ScriptType;
0069:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Sequencer;
0070:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ServiceEngine;
0071:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.TCPIP;
0072:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.TCPIPClient;
0073:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.TCPIPServer;
0074:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.TransferModeType;
0075:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Transformer;
0076:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Upoc;
0077:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.UpocBase;
0078:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.UpocContext;
0079:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.UpocPostaccept;
0080:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.UpocPostsend;
0081:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.UpocPresend;
0082:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.XSLT;
0083:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowFactory;
0084:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage;
0085:
0086:        /**
0087:         * <!-- begin-user-doc -->
0088:         * An implementation of the model <b>Factory</b>.
0089:         * <!-- end-user-doc -->
0090:         * @generated
0091:         */
0092:        public class componentflowFactoryImpl extends EFactoryImpl implements 
0093:                componentflowFactory {
0094:            /**
0095:             * <!-- begin-user-doc -->
0096:             * <!-- end-user-doc -->
0097:             * @generated
0098:             */
0099:            public static final String copyright = "Copyright, Bostech Corp.";
0100:
0101:            /**
0102:             * Creates the default factory implementation.
0103:             * <!-- begin-user-doc -->
0104:             * <!-- end-user-doc -->
0105:             * @generated
0106:             */
0107:            public static componentflowFactory init() {
0108:                try {
0109:                    componentflowFactory thecomponentflowFactory = (componentflowFactory) EPackage.Registry.INSTANCE
0110:                            .getEFactory("http://www.bostech.com/componentFlowEditor/1.1");
0111:                    if (thecomponentflowFactory != null) {
0112:                        return thecomponentflowFactory;
0113:                    }
0114:                } catch (Exception exception) {
0115:                    EcorePlugin.INSTANCE.log(exception);
0116:                }
0117:                return new componentflowFactoryImpl();
0118:            }
0119:
0120:            /**
0121:             * Creates an instance of the factory.
0122:             * <!-- begin-user-doc -->
0123:             * <!-- end-user-doc -->
0124:             * @generated
0125:             */
0126:            public componentflowFactoryImpl() {
0127:                super ();
0128:            }
0129:
0130:            /**
0131:             * <!-- begin-user-doc -->
0132:             * <!-- end-user-doc -->
0133:             * @generated
0134:             */
0135:            public EObject create(EClass eClass) {
0136:                switch (eClass.getClassifierID()) {
0137:                case componentflowPackage.COMPONENT_FLOW_EDITOR_ELEMENT:
0138:                    return createComponentFlowEditorElement();
0139:                case componentflowPackage.SERVICE_ENGINE:
0140:                    return createServiceEngine();
0141:                case componentflowPackage.HTTP:
0142:                    return createHTTP();
0143:                case componentflowPackage.FILE:
0144:                    return createFile();
0145:                case componentflowPackage.FTP:
0146:                    return createFTP();
0147:                case componentflowPackage.TRANSFORMER:
0148:                    return createTransformer();
0149:                case componentflowPackage.PARSER:
0150:                    return createParser();
0151:                case componentflowPackage.XSLT:
0152:                    return createXSLT();
0153:                case componentflowPackage.SEQUENCER:
0154:                    return createSequencer();
0155:                case componentflowPackage.COMPONENT_FLOW_EDITOR_DOCUMENT:
0156:                    return createComponentFlowEditorDocument();
0157:                case componentflowPackage.MESSAGE_EXCHANGE:
0158:                    return createMessageExchange();
0159:                case componentflowPackage.EXTERNAL_SYSTEM:
0160:                    return createExternalSystem();
0161:                case componentflowPackage.DECORATIVE_MODEL_ELEMENT:
0162:                    return createDecorativeModelElement();
0163:                case componentflowPackage.HTTP_PROVIDER:
0164:                    return createHttpProvider();
0165:                case componentflowPackage.FILE_CONSUMER:
0166:                    return createFileConsumer();
0167:                case componentflowPackage.FILE_PROVIDER:
0168:                    return createFileProvider();
0169:                case componentflowPackage.FILE_COMPLETION:
0170:                    return createFileCompletion();
0171:                case componentflowPackage.JMS:
0172:                    return createJMS();
0173:                case componentflowPackage.HTTP_CONSUMER:
0174:                    return createHttpConsumer();
0175:                case componentflowPackage.FILE_REPLY:
0176:                    return createFileReply();
0177:                case componentflowPackage.BASE_ELEMENT:
0178:                    return createBaseElement();
0179:                case componentflowPackage.UPOC_BASE:
0180:                    return createUpocBase();
0181:                case componentflowPackage.UPOC_PRESEND:
0182:                    return createUpocPresend();
0183:                case componentflowPackage.UPOC_POSTSEND:
0184:                    return createUpocPostsend();
0185:                case componentflowPackage.UPOC_POSTACCEPT:
0186:                    return createUpocPostaccept();
0187:                case componentflowPackage.UPOC:
0188:                    return createUpoc();
0189:                case componentflowPackage.CONSUMER_CCSL:
0190:                    return createConsumerCCSL();
0191:                case componentflowPackage.PROVIDER_CCSL:
0192:                    return createProviderCCSL();
0193:                case componentflowPackage.FTP_CONSUMER:
0194:                    return createFTPConsumer();
0195:                case componentflowPackage.FTP_PROVIDER:
0196:                    return createFTPProvider();
0197:                case componentflowPackage.FTP_AUTHENTICATION:
0198:                    return createFTPAuthentication();
0199:                case componentflowPackage.CBR:
0200:                    return createCBR();
0201:                case componentflowPackage.JDBC:
0202:                    return createJDBC();
0203:                case componentflowPackage.SCRIPT:
0204:                    return createScript();
0205:                case componentflowPackage.COMMENT:
0206:                    return createComment();
0207:                case componentflowPackage.TCPIP:
0208:                    return createTCPIP();
0209:                case componentflowPackage.CONNECTION_SETTING:
0210:                    return createConnectionSetting();
0211:                case componentflowPackage.TCPIP_CLIENT:
0212:                    return createTCPIPClient();
0213:                case componentflowPackage.TCPIP_SERVER:
0214:                    return createTCPIPServer();
0215:                case componentflowPackage.SSL:
0216:                    return createSSL();
0217:                case componentflowPackage.PROVIDER:
0218:                    return createProvider();
0219:                case componentflowPackage.CONSUMER:
0220:                    return createConsumer();
0221:                case componentflowPackage.END_POINT:
0222:                    return createEndPoint();
0223:                case componentflowPackage.HTTP_CONNECTION:
0224:                    return createHttpConnection();
0225:                case componentflowPackage.JMS_CONSUMER:
0226:                    return createJMSConsumer();
0227:                case componentflowPackage.JMS_PROVIDER:
0228:                    return createJMSProvider();
0229:                case componentflowPackage.FTP_BASE:
0230:                    return createFTPBase();
0231:                case componentflowPackage.FTP_REPLY:
0232:                    return createFtpReply();
0233:                case componentflowPackage.BASE_READ:
0234:                    return createBaseRead();
0235:                case componentflowPackage.SCHEDULER:
0236:                    return createScheduler();
0237:                case componentflowPackage.CUSTOM:
0238:                    return createCustom();
0239:                case componentflowPackage.PROPERTY_OBJECT:
0240:                    return createPropertyObject();
0241:                case componentflowPackage.AR_SCHEDULE:
0242:                    return createARSchedule();
0243:                case componentflowPackage.COMMON_SCHEDULE:
0244:                    return createCommonSchedule();
0245:                case componentflowPackage.STANDARD_SCHEDULE:
0246:                    return createStandardSchedule();
0247:                case componentflowPackage.EMAIL:
0248:                    return createEmail();
0249:                case componentflowPackage.EMAIL_CONSUMER:
0250:                    return createEmailConsumer();
0251:                case componentflowPackage.CONNECTION:
0252:                    return createConnection();
0253:                case componentflowPackage.EMAIL_CONSUMER_REPLY:
0254:                    return createEmailConsumerReply();
0255:                case componentflowPackage.EMAIL_PROVIDER:
0256:                    return createEmailProvider();
0257:                case componentflowPackage.CUSTOM_CONSUMER:
0258:                    return createCustomConsumer();
0259:                default:
0260:                    throw new IllegalArgumentException("The class '"
0261:                            + eClass.getName() + "' is not a valid classifier");
0262:                }
0263:            }
0264:
0265:            /**
0266:             * <!-- begin-user-doc -->
0267:             * <!-- end-user-doc -->
0268:             * @generated
0269:             */
0270:            public Object createFromString(EDataType eDataType,
0271:                    String initialValue) {
0272:                switch (eDataType.getClassifierID()) {
0273:                case componentflowPackage.DEFAULT_MEP_TYPE:
0274:                    return createDefaultMepTypeFromString(eDataType,
0275:                            initialValue);
0276:                case componentflowPackage.DESTINATION_STYLE_TYPE:
0277:                    return createDestinationStyleTypeFromString(eDataType,
0278:                            initialValue);
0279:                case componentflowPackage.READ_STYLE_TYPE:
0280:                    return createReadStyleTypeFromString(eDataType,
0281:                            initialValue);
0282:                case componentflowPackage.RECORD_TYPE_TYPE:
0283:                    return createRecordTypeTypeFromString(eDataType,
0284:                            initialValue);
0285:                case componentflowPackage.FILE_ACTION_TYPE:
0286:                    return createFileActionTypeFromString(eDataType,
0287:                            initialValue);
0288:                case componentflowPackage.PARSER_TYPE:
0289:                    return createParserTypeFromString(eDataType, initialValue);
0290:                case componentflowPackage.UPOC_CONTEXT:
0291:                    return createUpocContextFromString(eDataType, initialValue);
0292:                case componentflowPackage.CONNECT_MODE_TYPE:
0293:                    return createConnectModeTypeFromString(eDataType,
0294:                            initialValue);
0295:                case componentflowPackage.TRANSFER_MODE_TYPE:
0296:                    return createTransferModeTypeFromString(eDataType,
0297:                            initialValue);
0298:                case componentflowPackage.REGULAR_TYPE:
0299:                    return createRegularTypeFromString(eDataType, initialValue);
0300:                case componentflowPackage.CBR_TYPE:
0301:                    return createCBRTypeFromString(eDataType, initialValue);
0302:                case componentflowPackage.SCRIPT_TYPE:
0303:                    return createScriptTypeFromString(eDataType, initialValue);
0304:                case componentflowPackage.SCRIPT_ROLE_TYPE:
0305:                    return createScriptRoleTypeFromString(eDataType,
0306:                            initialValue);
0307:                case componentflowPackage.FTP_SCRIPT_MODE_TYPE:
0308:                    return createFTPScriptModeTypeFromString(eDataType,
0309:                            initialValue);
0310:                case componentflowPackage.ROLE_TYPE:
0311:                    return createRoleTypeFromString(eDataType, initialValue);
0312:                case componentflowPackage.CONNECTION_MODE_TYPE:
0313:                    return createConnectionModeTypeFromString(eDataType,
0314:                            initialValue);
0315:                case componentflowPackage.SSL_MODE:
0316:                    return createSSLModeFromString(eDataType, initialValue);
0317:                case componentflowPackage.PATTERN_MODEL:
0318:                    return createPatternModelFromString(eDataType, initialValue);
0319:                case componentflowPackage.FOLDER_BROWSE_STYLE:
0320:                    return createFolderBrowseStyleFromString(eDataType,
0321:                            initialValue);
0322:                case componentflowPackage.RECEIVE_PROTOCOL:
0323:                    return createReceiveProtocolFromString(eDataType,
0324:                            initialValue);
0325:                case componentflowPackage.ATTACHMENT_MODE_TYPE:
0326:                    return createAttachmentModeTypeFromString(eDataType,
0327:                            initialValue);
0328:                case componentflowPackage.WSDL_SOURCE:
0329:                    return createWSDLSourceFromString(eDataType, initialValue);
0330:                default:
0331:                    throw new IllegalArgumentException("The datatype '"
0332:                            + eDataType.getName()
0333:                            + "' is not a valid classifier");
0334:                }
0335:            }
0336:
0337:            /**
0338:             * <!-- begin-user-doc -->
0339:             * <!-- end-user-doc -->
0340:             * @generated
0341:             */
0342:            public String convertToString(EDataType eDataType,
0343:                    Object instanceValue) {
0344:                switch (eDataType.getClassifierID()) {
0345:                case componentflowPackage.DEFAULT_MEP_TYPE:
0346:                    return convertDefaultMepTypeToString(eDataType,
0347:                            instanceValue);
0348:                case componentflowPackage.DESTINATION_STYLE_TYPE:
0349:                    return convertDestinationStyleTypeToString(eDataType,
0350:                            instanceValue);
0351:                case componentflowPackage.READ_STYLE_TYPE:
0352:                    return convertReadStyleTypeToString(eDataType,
0353:                            instanceValue);
0354:                case componentflowPackage.RECORD_TYPE_TYPE:
0355:                    return convertRecordTypeTypeToString(eDataType,
0356:                            instanceValue);
0357:                case componentflowPackage.FILE_ACTION_TYPE:
0358:                    return convertFileActionTypeToString(eDataType,
0359:                            instanceValue);
0360:                case componentflowPackage.PARSER_TYPE:
0361:                    return convertParserTypeToString(eDataType, instanceValue);
0362:                case componentflowPackage.UPOC_CONTEXT:
0363:                    return convertUpocContextToString(eDataType, instanceValue);
0364:                case componentflowPackage.CONNECT_MODE_TYPE:
0365:                    return convertConnectModeTypeToString(eDataType,
0366:                            instanceValue);
0367:                case componentflowPackage.TRANSFER_MODE_TYPE:
0368:                    return convertTransferModeTypeToString(eDataType,
0369:                            instanceValue);
0370:                case componentflowPackage.REGULAR_TYPE:
0371:                    return convertRegularTypeToString(eDataType, instanceValue);
0372:                case componentflowPackage.CBR_TYPE:
0373:                    return convertCBRTypeToString(eDataType, instanceValue);
0374:                case componentflowPackage.SCRIPT_TYPE:
0375:                    return convertScriptTypeToString(eDataType, instanceValue);
0376:                case componentflowPackage.SCRIPT_ROLE_TYPE:
0377:                    return convertScriptRoleTypeToString(eDataType,
0378:                            instanceValue);
0379:                case componentflowPackage.FTP_SCRIPT_MODE_TYPE:
0380:                    return convertFTPScriptModeTypeToString(eDataType,
0381:                            instanceValue);
0382:                case componentflowPackage.ROLE_TYPE:
0383:                    return convertRoleTypeToString(eDataType, instanceValue);
0384:                case componentflowPackage.CONNECTION_MODE_TYPE:
0385:                    return convertConnectionModeTypeToString(eDataType,
0386:                            instanceValue);
0387:                case componentflowPackage.SSL_MODE:
0388:                    return convertSSLModeToString(eDataType, instanceValue);
0389:                case componentflowPackage.PATTERN_MODEL:
0390:                    return convertPatternModelToString(eDataType, instanceValue);
0391:                case componentflowPackage.FOLDER_BROWSE_STYLE:
0392:                    return convertFolderBrowseStyleToString(eDataType,
0393:                            instanceValue);
0394:                case componentflowPackage.RECEIVE_PROTOCOL:
0395:                    return convertReceiveProtocolToString(eDataType,
0396:                            instanceValue);
0397:                case componentflowPackage.ATTACHMENT_MODE_TYPE:
0398:                    return convertAttachmentModeTypeToString(eDataType,
0399:                            instanceValue);
0400:                case componentflowPackage.WSDL_SOURCE:
0401:                    return convertWSDLSourceToString(eDataType, instanceValue);
0402:                default:
0403:                    throw new IllegalArgumentException("The datatype '"
0404:                            + eDataType.getName()
0405:                            + "' is not a valid classifier");
0406:                }
0407:            }
0408:
0409:            /**
0410:             * <!-- begin-user-doc -->
0411:             * <!-- end-user-doc -->
0412:             * @generated
0413:             */
0414:            public ComponentFlowEditorElement createComponentFlowEditorElement() {
0415:                ComponentFlowEditorElementImpl componentFlowEditorElement = new ComponentFlowEditorElementImpl();
0416:                return componentFlowEditorElement;
0417:            }
0418:
0419:            /**
0420:             * <!-- begin-user-doc -->
0421:             * <!-- end-user-doc -->
0422:             * @generated
0423:             */
0424:            public ServiceEngine createServiceEngine() {
0425:                ServiceEngineImpl serviceEngine = new ServiceEngineImpl();
0426:                return serviceEngine;
0427:            }
0428:
0429:            /**
0430:             * <!-- begin-user-doc -->
0431:             * <!-- end-user-doc -->
0432:             * @generated
0433:             */
0434:            public HTTP createHTTP() {
0435:                HTTPImpl http = new HTTPImpl();
0436:                return http;
0437:            }
0438:
0439:            /**
0440:             * <!-- begin-user-doc -->
0441:             * <!-- end-user-doc -->
0442:             * @generated
0443:             */
0444:            public File createFile() {
0445:                FileImpl file = new FileImpl();
0446:                return file;
0447:            }
0448:
0449:            /**
0450:             * <!-- begin-user-doc -->
0451:             * <!-- end-user-doc -->
0452:             * @generated
0453:             */
0454:            public FTP createFTP() {
0455:                FTPImpl ftp = new FTPImpl();
0456:                return ftp;
0457:            }
0458:
0459:            /**
0460:             * <!-- begin-user-doc -->
0461:             * <!-- end-user-doc -->
0462:             * @generated
0463:             */
0464:            public Transformer createTransformer() {
0465:                TransformerImpl transformer = new TransformerImpl();
0466:                return transformer;
0467:            }
0468:
0469:            /**
0470:             * <!-- begin-user-doc -->
0471:             * <!-- end-user-doc -->
0472:             * @generated
0473:             */
0474:            public Upoc createUpoc() {
0475:                UpocImpl upoc = new UpocImpl();
0476:                return upoc;
0477:            }
0478:
0479:            /**
0480:             * <!-- begin-user-doc -->
0481:             * <!-- end-user-doc -->
0482:             * @generated
0483:             */
0484:            public Parser createParser() {
0485:                ParserImpl parser = new ParserImpl();
0486:                return parser;
0487:            }
0488:
0489:            /**
0490:             * <!-- begin-user-doc -->
0491:             * <!-- end-user-doc -->
0492:             * @generated
0493:             */
0494:            public XSLT createXSLT() {
0495:                XSLTImpl xslt = new XSLTImpl();
0496:                return xslt;
0497:            }
0498:
0499:            /**
0500:             * <!-- begin-user-doc -->
0501:             * <!-- end-user-doc -->
0502:             * @generated
0503:             */
0504:            public Sequencer createSequencer() {
0505:                SequencerImpl sequencer = new SequencerImpl();
0506:                return sequencer;
0507:            }
0508:
0509:            /**
0510:             * <!-- begin-user-doc -->
0511:             * <!-- end-user-doc -->
0512:             * @generated
0513:             */
0514:            public ComponentFlowEditorDocument createComponentFlowEditorDocument() {
0515:                ComponentFlowEditorDocumentImpl componentFlowEditorDocument = new ComponentFlowEditorDocumentImpl();
0516:                return componentFlowEditorDocument;
0517:            }
0518:
0519:            /**
0520:             * <!-- begin-user-doc -->
0521:             * <!-- end-user-doc -->
0522:             * @generated
0523:             */
0524:            public MessageExchange createMessageExchange() {
0525:                MessageExchangeImpl messageExchange = new MessageExchangeImpl();
0526:                return messageExchange;
0527:            }
0528:
0529:            /**
0530:             * <!-- begin-user-doc -->
0531:             * <!-- end-user-doc -->
0532:             * @generated
0533:             */
0534:            public ExternalSystem createExternalSystem() {
0535:                ExternalSystemImpl externalSystem = new ExternalSystemImpl();
0536:                return externalSystem;
0537:            }
0538:
0539:            /**
0540:             * <!-- begin-user-doc -->
0541:             * <!-- end-user-doc -->
0542:             * @generated
0543:             */
0544:            public DecorativeModelElement createDecorativeModelElement() {
0545:                DecorativeModelElementImpl decorativeModelElement = new DecorativeModelElementImpl();
0546:                return decorativeModelElement;
0547:            }
0548:
0549:            /**
0550:             * <!-- begin-user-doc -->
0551:             * <!-- end-user-doc -->
0552:             * @generated
0553:             */
0554:            public HttpProvider createHttpProvider() {
0555:                HttpProviderImpl httpProvider = new HttpProviderImpl();
0556:                return httpProvider;
0557:            }
0558:
0559:            /**
0560:             * <!-- begin-user-doc -->
0561:             * <!-- end-user-doc -->
0562:             * @generated
0563:             */
0564:            public FileConsumer createFileConsumer() {
0565:                FileConsumerImpl fileConsumer = new FileConsumerImpl();
0566:                return fileConsumer;
0567:            }
0568:
0569:            /**
0570:             * <!-- begin-user-doc -->
0571:             * <!-- end-user-doc -->
0572:             * @generated
0573:             */
0574:            public FileProvider createFileProvider() {
0575:                FileProviderImpl fileProvider = new FileProviderImpl();
0576:                return fileProvider;
0577:            }
0578:
0579:            /**
0580:             * <!-- begin-user-doc -->
0581:             * <!-- end-user-doc -->
0582:             * @generated
0583:             */
0584:            public FileCompletion createFileCompletion() {
0585:                FileCompletionImpl fileCompletion = new FileCompletionImpl();
0586:                return fileCompletion;
0587:            }
0588:
0589:            /**
0590:             * <!-- begin-user-doc -->
0591:             * <!-- end-user-doc -->
0592:             * @generated
0593:             */
0594:            public JMS createJMS() {
0595:                JMSImpl jms = new JMSImpl();
0596:                return jms;
0597:            }
0598:
0599:            /**
0600:             * <!-- begin-user-doc -->
0601:             * <!-- end-user-doc -->
0602:             * @generated
0603:             */
0604:            public HttpConsumer createHttpConsumer() {
0605:                HttpConsumerImpl httpConsumer = new HttpConsumerImpl();
0606:                return httpConsumer;
0607:            }
0608:
0609:            /**
0610:             * <!-- begin-user-doc -->
0611:             * <!-- end-user-doc -->
0612:             * @generated
0613:             */
0614:            public FileReply createFileReply() {
0615:                FileReplyImpl fileReply = new FileReplyImpl();
0616:                return fileReply;
0617:            }
0618:
0619:            /**
0620:             * <!-- begin-user-doc -->
0621:             * <!-- end-user-doc -->
0622:             * @generated
0623:             */
0624:            public JMSConsumer createJMSConsumer() {
0625:                JMSConsumerImpl jmsConsumer = new JMSConsumerImpl();
0626:                return jmsConsumer;
0627:            }
0628:
0629:            /**
0630:             * <!-- begin-user-doc -->
0631:             * <!-- end-user-doc -->
0632:             * @generated
0633:             */
0634:            public JMSProvider createJMSProvider() {
0635:                JMSProviderImpl jmsProvider = new JMSProviderImpl();
0636:                return jmsProvider;
0637:            }
0638:
0639:            /**
0640:             * <!-- begin-user-doc -->
0641:             * <!-- end-user-doc -->
0642:             * @generated
0643:             */
0644:            public FTPBase createFTPBase() {
0645:                FTPBaseImpl ftpBase = new FTPBaseImpl();
0646:                return ftpBase;
0647:            }
0648:
0649:            /**
0650:             * <!-- begin-user-doc -->
0651:             * <!-- end-user-doc -->
0652:             * @generated
0653:             */
0654:            public FtpReply createFtpReply() {
0655:                FtpReplyImpl ftpReply = new FtpReplyImpl();
0656:                return ftpReply;
0657:            }
0658:
0659:            /**
0660:             * <!-- begin-user-doc -->
0661:             * <!-- end-user-doc -->
0662:             * @generated
0663:             */
0664:            public BaseRead createBaseRead() {
0665:                BaseReadImpl baseRead = new BaseReadImpl();
0666:                return baseRead;
0667:            }
0668:
0669:            /**
0670:             * <!-- begin-user-doc -->
0671:             * <!-- end-user-doc -->
0672:             * @generated
0673:             */
0674:            public Scheduler createScheduler() {
0675:                SchedulerImpl scheduler = new SchedulerImpl();
0676:                return scheduler;
0677:            }
0678:
0679:            /**
0680:             * <!-- begin-user-doc -->
0681:             * <!-- end-user-doc -->
0682:             * @generated
0683:             */
0684:            public Custom createCustom() {
0685:                CustomImpl custom = new CustomImpl();
0686:                return custom;
0687:            }
0688:
0689:            /**
0690:             * <!-- begin-user-doc -->
0691:             * <!-- end-user-doc -->
0692:             * @generated
0693:             */
0694:            public PropertyObject createPropertyObject() {
0695:                PropertyObjectImpl propertyObject = new PropertyObjectImpl();
0696:                return propertyObject;
0697:            }
0698:
0699:            /**
0700:             * <!-- begin-user-doc -->
0701:             * <!-- end-user-doc -->
0702:             * @generated
0703:             */
0704:            public ARSchedule createARSchedule() {
0705:                ARScheduleImpl arSchedule = new ARScheduleImpl();
0706:                return arSchedule;
0707:            }
0708:
0709:            /**
0710:             * <!-- begin-user-doc -->
0711:             * <!-- end-user-doc -->
0712:             * @generated
0713:             */
0714:            public CommonSchedule createCommonSchedule() {
0715:                CommonScheduleImpl commonSchedule = new CommonScheduleImpl();
0716:                return commonSchedule;
0717:            }
0718:
0719:            /**
0720:             * <!-- begin-user-doc -->
0721:             * <!-- end-user-doc -->
0722:             * @generated
0723:             */
0724:            public StandardSchedule createStandardSchedule() {
0725:                StandardScheduleImpl standardSchedule = new StandardScheduleImpl();
0726:                return standardSchedule;
0727:            }
0728:
0729:            /**
0730:             * <!-- begin-user-doc -->
0731:             * <!-- end-user-doc -->
0732:             * @generated
0733:             */
0734:            public Email createEmail() {
0735:                EmailImpl email = new EmailImpl();
0736:                return email;
0737:            }
0738:
0739:            /**
0740:             * <!-- begin-user-doc -->
0741:             * <!-- end-user-doc -->
0742:             * @generated
0743:             */
0744:            public EmailConsumer createEmailConsumer() {
0745:                EmailConsumerImpl emailConsumer = new EmailConsumerImpl();
0746:                return emailConsumer;
0747:            }
0748:
0749:            /**
0750:             * <!-- begin-user-doc -->
0751:             * <!-- end-user-doc -->
0752:             * @generated
0753:             */
0754:            public Connection createConnection() {
0755:                ConnectionImpl connection = new ConnectionImpl();
0756:                return connection;
0757:            }
0758:
0759:            /**
0760:             * <!-- begin-user-doc -->
0761:             * <!-- end-user-doc -->
0762:             * @generated
0763:             */
0764:            public EmailConsumerReply createEmailConsumerReply() {
0765:                EmailConsumerReplyImpl emailConsumerReply = new EmailConsumerReplyImpl();
0766:                return emailConsumerReply;
0767:            }
0768:
0769:            /**
0770:             * <!-- begin-user-doc -->
0771:             * <!-- end-user-doc -->
0772:             * @generated
0773:             */
0774:            public EmailProvider createEmailProvider() {
0775:                EmailProviderImpl emailProvider = new EmailProviderImpl();
0776:                return emailProvider;
0777:            }
0778:
0779:            /**
0780:             * <!-- begin-user-doc -->
0781:             * <!-- end-user-doc -->
0782:             * @generated
0783:             */
0784:            public CustomConsumer createCustomConsumer() {
0785:                CustomConsumerImpl customConsumer = new CustomConsumerImpl();
0786:                return customConsumer;
0787:            }
0788:
0789:            /**
0790:             * <!-- begin-user-doc -->
0791:             * <!-- end-user-doc -->
0792:             * @generated
0793:             */
0794:            public BaseElement createBaseElement() {
0795:                BaseElementImpl baseElement = new BaseElementImpl();
0796:                return baseElement;
0797:            }
0798:
0799:            /**
0800:             * <!-- begin-user-doc -->
0801:             * <!-- end-user-doc -->
0802:             * @generated
0803:             */
0804:            public UpocBase createUpocBase() {
0805:                UpocBaseImpl upocBase = new UpocBaseImpl();
0806:                return upocBase;
0807:            }
0808:
0809:            /**
0810:             * <!-- begin-user-doc -->
0811:             * <!-- end-user-doc -->
0812:             * @generated
0813:             */
0814:            public UpocPresend createUpocPresend() {
0815:                UpocPresendImpl upocPresend = new UpocPresendImpl();
0816:                return upocPresend;
0817:            }
0818:
0819:            /**
0820:             * <!-- begin-user-doc -->
0821:             * <!-- end-user-doc -->
0822:             * @generated
0823:             */
0824:            public UpocPostsend createUpocPostsend() {
0825:                UpocPostsendImpl upocPostsend = new UpocPostsendImpl();
0826:                return upocPostsend;
0827:            }
0828:
0829:            /**
0830:             * <!-- begin-user-doc -->
0831:             * <!-- end-user-doc -->
0832:             * @generated
0833:             */
0834:            public UpocPostaccept createUpocPostaccept() {
0835:                UpocPostacceptImpl upocPostaccept = new UpocPostacceptImpl();
0836:                return upocPostaccept;
0837:            }
0838:
0839:            /**
0840:             * <!-- begin-user-doc -->
0841:             * <!-- end-user-doc -->
0842:             * @generated
0843:             */
0844:            public ConsumerCCSL createConsumerCCSL() {
0845:                ConsumerCCSLImpl consumerCCSL = new ConsumerCCSLImpl();
0846:                return consumerCCSL;
0847:            }
0848:
0849:            /**
0850:             * <!-- begin-user-doc -->
0851:             * <!-- end-user-doc -->
0852:             * @generated
0853:             */
0854:            public ProviderCCSL createProviderCCSL() {
0855:                ProviderCCSLImpl providerCCSL = new ProviderCCSLImpl();
0856:                return providerCCSL;
0857:            }
0858:
0859:            /**
0860:             * <!-- begin-user-doc -->
0861:             * <!-- end-user-doc -->
0862:             * @generated
0863:             */
0864:            public FTPConsumer createFTPConsumer() {
0865:                FTPConsumerImpl ftpConsumer = new FTPConsumerImpl();
0866:                return ftpConsumer;
0867:            }
0868:
0869:            /**
0870:             * <!-- begin-user-doc -->
0871:             * <!-- end-user-doc -->
0872:             * @generated
0873:             */
0874:            public FTPProvider createFTPProvider() {
0875:                FTPProviderImpl ftpProvider = new FTPProviderImpl();
0876:                return ftpProvider;
0877:            }
0878:
0879:            /**
0880:             * <!-- begin-user-doc -->
0881:             * <!-- end-user-doc -->
0882:             * @generated
0883:             */
0884:            public FTPAuthentication createFTPAuthentication() {
0885:                FTPAuthenticationImpl ftpAuthentication = new FTPAuthenticationImpl();
0886:                return ftpAuthentication;
0887:            }
0888:
0889:            /**
0890:             * <!-- begin-user-doc -->
0891:             * <!-- end-user-doc -->
0892:             * @generated
0893:             */
0894:            public CBR createCBR() {
0895:                CBRImpl cbr = new CBRImpl();
0896:                return cbr;
0897:            }
0898:
0899:            /**
0900:             * <!-- begin-user-doc -->
0901:             * <!-- end-user-doc -->
0902:             * @generated
0903:             */
0904:            public JDBC createJDBC() {
0905:                JDBCImpl jdbc = new JDBCImpl();
0906:                return jdbc;
0907:            }
0908:
0909:            /**
0910:             * <!-- begin-user-doc -->
0911:             * <!-- end-user-doc -->
0912:             * @generated
0913:             */
0914:            public Script createScript() {
0915:                ScriptImpl script = new ScriptImpl();
0916:                return script;
0917:            }
0918:
0919:            /**
0920:             * <!-- begin-user-doc -->
0921:             * <!-- end-user-doc -->
0922:             * @generated
0923:             */
0924:            public Comment createComment() {
0925:                CommentImpl comment = new CommentImpl();
0926:                return comment;
0927:            }
0928:
0929:            /**
0930:             * <!-- begin-user-doc -->
0931:             * <!-- end-user-doc -->
0932:             * @generated
0933:             */
0934:            public TCPIP createTCPIP() {
0935:                TCPIPImpl tcpip = new TCPIPImpl();
0936:                return tcpip;
0937:            }
0938:
0939:            /**
0940:             * <!-- begin-user-doc -->
0941:             * <!-- end-user-doc -->
0942:             * @generated
0943:             */
0944:            public ConnectionSetting createConnectionSetting() {
0945:                ConnectionSettingImpl connectionSetting = new ConnectionSettingImpl();
0946:                return connectionSetting;
0947:            }
0948:
0949:            /**
0950:             * <!-- begin-user-doc -->
0951:             * <!-- end-user-doc -->
0952:             * @generated
0953:             */
0954:            public TCPIPClient createTCPIPClient() {
0955:                TCPIPClientImpl tcpipClient = new TCPIPClientImpl();
0956:                return tcpipClient;
0957:            }
0958:
0959:            /**
0960:             * <!-- begin-user-doc -->
0961:             * <!-- end-user-doc -->
0962:             * @generated
0963:             */
0964:            public TCPIPServer createTCPIPServer() {
0965:                TCPIPServerImpl tcpipServer = new TCPIPServerImpl();
0966:                return tcpipServer;
0967:            }
0968:
0969:            /**
0970:             * <!-- begin-user-doc -->
0971:             * <!-- end-user-doc -->
0972:             * @generated
0973:             */
0974:            public SSL createSSL() {
0975:                SSLImpl ssl = new SSLImpl();
0976:                return ssl;
0977:            }
0978:
0979:            /**
0980:             * <!-- begin-user-doc -->
0981:             * <!-- end-user-doc -->
0982:             * @generated
0983:             */
0984:            public Provider createProvider() {
0985:                ProviderImpl provider = new ProviderImpl();
0986:                return provider;
0987:            }
0988:
0989:            /**
0990:             * <!-- begin-user-doc -->
0991:             * <!-- end-user-doc -->
0992:             * @generated
0993:             */
0994:            public Consumer createConsumer() {
0995:                ConsumerImpl consumer = new ConsumerImpl();
0996:                return consumer;
0997:            }
0998:
0999:            /**
1000:             * <!-- begin-user-doc -->
1001:             * <!-- end-user-doc -->
1002:             * @generated
1003:             */
1004:            public EndPoint createEndPoint() {
1005:                EndPointImpl endPoint = new EndPointImpl();
1006:                return endPoint;
1007:            }
1008:
1009:            /**
1010:             * <!-- begin-user-doc -->
1011:             * <!-- end-user-doc -->
1012:             * @generated
1013:             */
1014:            public HttpConnection createHttpConnection() {
1015:                HttpConnectionImpl httpConnection = new HttpConnectionImpl();
1016:                return httpConnection;
1017:            }
1018:
1019:            /**
1020:             * <!-- begin-user-doc -->
1021:             * <!-- end-user-doc -->
1022:             * @generated
1023:             */
1024:            public DefaultMepType createDefaultMepTypeFromString(
1025:                    EDataType eDataType, String initialValue) {
1026:                DefaultMepType result = DefaultMepType.get(initialValue);
1027:                if (result == null)
1028:                    throw new IllegalArgumentException("The value '"
1029:                            + initialValue + "' is not a valid enumerator of '"
1030:                            + eDataType.getName() + "'");
1031:                return result;
1032:            }
1033:
1034:            /**
1035:             * <!-- begin-user-doc -->
1036:             * <!-- end-user-doc -->
1037:             * @generated
1038:             */
1039:            public String convertDefaultMepTypeToString(EDataType eDataType,
1040:                    Object instanceValue) {
1041:                return instanceValue == null ? null : instanceValue.toString();
1042:            }
1043:
1044:            /**
1045:             * <!-- begin-user-doc -->
1046:             * <!-- end-user-doc -->
1047:             * @generated
1048:             */
1049:            public DestinationStyleType createDestinationStyleTypeFromString(
1050:                    EDataType eDataType, String initialValue) {
1051:                DestinationStyleType result = DestinationStyleType
1052:                        .get(initialValue);
1053:                if (result == null)
1054:                    throw new IllegalArgumentException("The value '"
1055:                            + initialValue + "' is not a valid enumerator of '"
1056:                            + eDataType.getName() + "'");
1057:                return result;
1058:            }
1059:
1060:            /**
1061:             * <!-- begin-user-doc -->
1062:             * <!-- end-user-doc -->
1063:             * @generated
1064:             */
1065:            public String convertDestinationStyleTypeToString(
1066:                    EDataType eDataType, Object instanceValue) {
1067:                return instanceValue == null ? null : instanceValue.toString();
1068:            }
1069:
1070:            /**
1071:             * <!-- begin-user-doc -->
1072:             * <!-- end-user-doc -->
1073:             * @generated
1074:             */
1075:            public ReadStyleType createReadStyleTypeFromString(
1076:                    EDataType eDataType, String initialValue) {
1077:                ReadStyleType result = ReadStyleType.get(initialValue);
1078:                if (result == null)
1079:                    throw new IllegalArgumentException("The value '"
1080:                            + initialValue + "' is not a valid enumerator of '"
1081:                            + eDataType.getName() + "'");
1082:                return result;
1083:            }
1084:
1085:            /**
1086:             * <!-- begin-user-doc -->
1087:             * <!-- end-user-doc -->
1088:             * @generated
1089:             */
1090:            public String convertReadStyleTypeToString(EDataType eDataType,
1091:                    Object instanceValue) {
1092:                return instanceValue == null ? null : instanceValue.toString();
1093:            }
1094:
1095:            /**
1096:             * <!-- begin-user-doc -->
1097:             * <!-- end-user-doc -->
1098:             * @generated
1099:             */
1100:            public RecordTypeType createRecordTypeTypeFromString(
1101:                    EDataType eDataType, String initialValue) {
1102:                RecordTypeType result = RecordTypeType.get(initialValue);
1103:                if (result == null)
1104:                    throw new IllegalArgumentException("The value '"
1105:                            + initialValue + "' is not a valid enumerator of '"
1106:                            + eDataType.getName() + "'");
1107:                return result;
1108:            }
1109:
1110:            /**
1111:             * <!-- begin-user-doc -->
1112:             * <!-- end-user-doc -->
1113:             * @generated
1114:             */
1115:            public String convertRecordTypeTypeToString(EDataType eDataType,
1116:                    Object instanceValue) {
1117:                return instanceValue == null ? null : instanceValue.toString();
1118:            }
1119:
1120:            /**
1121:             * <!-- begin-user-doc -->
1122:             * <!-- end-user-doc -->
1123:             * @generated
1124:             */
1125:            public FileActionType createFileActionTypeFromString(
1126:                    EDataType eDataType, String initialValue) {
1127:                FileActionType result = FileActionType.get(initialValue);
1128:                if (result == null)
1129:                    throw new IllegalArgumentException("The value '"
1130:                            + initialValue + "' is not a valid enumerator of '"
1131:                            + eDataType.getName() + "'");
1132:                return result;
1133:            }
1134:
1135:            /**
1136:             * <!-- begin-user-doc -->
1137:             * <!-- end-user-doc -->
1138:             * @generated
1139:             */
1140:            public String convertFileActionTypeToString(EDataType eDataType,
1141:                    Object instanceValue) {
1142:                return instanceValue == null ? null : instanceValue.toString();
1143:            }
1144:
1145:            /**
1146:             * <!-- begin-user-doc -->
1147:             * <!-- end-user-doc -->
1148:             * @generated
1149:             */
1150:            public ParserType createParserTypeFromString(EDataType eDataType,
1151:                    String initialValue) {
1152:                ParserType result = ParserType.get(initialValue);
1153:                if (result == null)
1154:                    throw new IllegalArgumentException("The value '"
1155:                            + initialValue + "' is not a valid enumerator of '"
1156:                            + eDataType.getName() + "'");
1157:                return result;
1158:            }
1159:
1160:            /**
1161:             * <!-- begin-user-doc -->
1162:             * <!-- end-user-doc -->
1163:             * @generated
1164:             */
1165:            public String convertParserTypeToString(EDataType eDataType,
1166:                    Object instanceValue) {
1167:                return instanceValue == null ? null : instanceValue.toString();
1168:            }
1169:
1170:            /**
1171:             * <!-- begin-user-doc -->
1172:             * <!-- end-user-doc -->
1173:             * @generated
1174:             */
1175:            public UpocContext createUpocContextFromString(EDataType eDataType,
1176:                    String initialValue) {
1177:                UpocContext result = UpocContext.get(initialValue);
1178:                if (result == null)
1179:                    throw new IllegalArgumentException("The value '"
1180:                            + initialValue + "' is not a valid enumerator of '"
1181:                            + eDataType.getName() + "'");
1182:                return result;
1183:            }
1184:
1185:            /**
1186:             * <!-- begin-user-doc -->
1187:             * <!-- end-user-doc -->
1188:             * @generated
1189:             */
1190:            public String convertUpocContextToString(EDataType eDataType,
1191:                    Object instanceValue) {
1192:                return instanceValue == null ? null : instanceValue.toString();
1193:            }
1194:
1195:            /**
1196:             * <!-- begin-user-doc -->
1197:             * <!-- end-user-doc -->
1198:             * @generated
1199:             */
1200:            public ConnectModeType createConnectModeTypeFromString(
1201:                    EDataType eDataType, String initialValue) {
1202:                ConnectModeType result = ConnectModeType.get(initialValue);
1203:                if (result == null)
1204:                    throw new IllegalArgumentException("The value '"
1205:                            + initialValue + "' is not a valid enumerator of '"
1206:                            + eDataType.getName() + "'");
1207:                return result;
1208:            }
1209:
1210:            /**
1211:             * <!-- begin-user-doc -->
1212:             * <!-- end-user-doc -->
1213:             * @generated
1214:             */
1215:            public String convertConnectModeTypeToString(EDataType eDataType,
1216:                    Object instanceValue) {
1217:                return instanceValue == null ? null : instanceValue.toString();
1218:            }
1219:
1220:            /**
1221:             * <!-- begin-user-doc -->
1222:             * <!-- end-user-doc -->
1223:             * @generated
1224:             */
1225:            public TransferModeType createTransferModeTypeFromString(
1226:                    EDataType eDataType, String initialValue) {
1227:                TransferModeType result = TransferModeType.get(initialValue);
1228:                if (result == null)
1229:                    throw new IllegalArgumentException("The value '"
1230:                            + initialValue + "' is not a valid enumerator of '"
1231:                            + eDataType.getName() + "'");
1232:                return result;
1233:            }
1234:
1235:            /**
1236:             * <!-- begin-user-doc -->
1237:             * <!-- end-user-doc -->
1238:             * @generated
1239:             */
1240:            public String convertTransferModeTypeToString(EDataType eDataType,
1241:                    Object instanceValue) {
1242:                return instanceValue == null ? null : instanceValue.toString();
1243:            }
1244:
1245:            /**
1246:             * <!-- begin-user-doc -->
1247:             * <!-- end-user-doc -->
1248:             * @generated
1249:             */
1250:            public RegularType createRegularTypeFromString(EDataType eDataType,
1251:                    String initialValue) {
1252:                RegularType result = RegularType.get(initialValue);
1253:                if (result == null)
1254:                    throw new IllegalArgumentException("The value '"
1255:                            + initialValue + "' is not a valid enumerator of '"
1256:                            + eDataType.getName() + "'");
1257:                return result;
1258:            }
1259:
1260:            /**
1261:             * <!-- begin-user-doc -->
1262:             * <!-- end-user-doc -->
1263:             * @generated
1264:             */
1265:            public String convertRegularTypeToString(EDataType eDataType,
1266:                    Object instanceValue) {
1267:                return instanceValue == null ? null : instanceValue.toString();
1268:            }
1269:
1270:            /**
1271:             * <!-- begin-user-doc -->
1272:             * <!-- end-user-doc -->
1273:             * @generated
1274:             */
1275:            public CBRType createCBRTypeFromString(EDataType eDataType,
1276:                    String initialValue) {
1277:                CBRType result = CBRType.get(initialValue);
1278:                if (result == null)
1279:                    throw new IllegalArgumentException("The value '"
1280:                            + initialValue + "' is not a valid enumerator of '"
1281:                            + eDataType.getName() + "'");
1282:                return result;
1283:            }
1284:
1285:            /**
1286:             * <!-- begin-user-doc -->
1287:             * <!-- end-user-doc -->
1288:             * @generated
1289:             */
1290:            public String convertCBRTypeToString(EDataType eDataType,
1291:                    Object instanceValue) {
1292:                return instanceValue == null ? null : instanceValue.toString();
1293:            }
1294:
1295:            /**
1296:             * <!-- begin-user-doc -->
1297:             * <!-- end-user-doc -->
1298:             * @generated
1299:             */
1300:            public ScriptType createScriptTypeFromString(EDataType eDataType,
1301:                    String initialValue) {
1302:                ScriptType result = ScriptType.get(initialValue);
1303:                if (result == null)
1304:                    throw new IllegalArgumentException("The value '"
1305:                            + initialValue + "' is not a valid enumerator of '"
1306:                            + eDataType.getName() + "'");
1307:                return result;
1308:            }
1309:
1310:            /**
1311:             * <!-- begin-user-doc -->
1312:             * <!-- end-user-doc -->
1313:             * @generated
1314:             */
1315:            public String convertScriptTypeToString(EDataType eDataType,
1316:                    Object instanceValue) {
1317:                return instanceValue == null ? null : instanceValue.toString();
1318:            }
1319:
1320:            /**
1321:             * <!-- begin-user-doc -->
1322:             * <!-- end-user-doc -->
1323:             * @generated
1324:             */
1325:            public ScriptRoleType createScriptRoleTypeFromString(
1326:                    EDataType eDataType, String initialValue) {
1327:                ScriptRoleType result = ScriptRoleType.get(initialValue);
1328:                if (result == null)
1329:                    throw new IllegalArgumentException("The value '"
1330:                            + initialValue + "' is not a valid enumerator of '"
1331:                            + eDataType.getName() + "'");
1332:                return result;
1333:            }
1334:
1335:            /**
1336:             * <!-- begin-user-doc -->
1337:             * <!-- end-user-doc -->
1338:             * @generated
1339:             */
1340:            public String convertScriptRoleTypeToString(EDataType eDataType,
1341:                    Object instanceValue) {
1342:                return instanceValue == null ? null : instanceValue.toString();
1343:            }
1344:
1345:            /**
1346:             * <!-- begin-user-doc -->
1347:             * <!-- end-user-doc -->
1348:             * @generated
1349:             */
1350:            public FTPScriptModeType createFTPScriptModeTypeFromString(
1351:                    EDataType eDataType, String initialValue) {
1352:                FTPScriptModeType result = FTPScriptModeType.get(initialValue);
1353:                if (result == null)
1354:                    throw new IllegalArgumentException("The value '"
1355:                            + initialValue + "' is not a valid enumerator of '"
1356:                            + eDataType.getName() + "'");
1357:                return result;
1358:            }
1359:
1360:            /**
1361:             * <!-- begin-user-doc -->
1362:             * <!-- end-user-doc -->
1363:             * @generated
1364:             */
1365:            public String convertFTPScriptModeTypeToString(EDataType eDataType,
1366:                    Object instanceValue) {
1367:                return instanceValue == null ? null : instanceValue.toString();
1368:            }
1369:
1370:            /**
1371:             * <!-- begin-user-doc -->
1372:             * <!-- end-user-doc -->
1373:             * @generated
1374:             */
1375:            public RoleType createRoleTypeFromString(EDataType eDataType,
1376:                    String initialValue) {
1377:                RoleType result = RoleType.get(initialValue);
1378:                if (result == null)
1379:                    throw new IllegalArgumentException("The value '"
1380:                            + initialValue + "' is not a valid enumerator of '"
1381:                            + eDataType.getName() + "'");
1382:                return result;
1383:            }
1384:
1385:            /**
1386:             * <!-- begin-user-doc -->
1387:             * <!-- end-user-doc -->
1388:             * @generated
1389:             */
1390:            public String convertRoleTypeToString(EDataType eDataType,
1391:                    Object instanceValue) {
1392:                return instanceValue == null ? null : instanceValue.toString();
1393:            }
1394:
1395:            /**
1396:             * <!-- begin-user-doc -->
1397:             * <!-- end-user-doc -->
1398:             * @generated
1399:             */
1400:            public ConnectionModeType createConnectionModeTypeFromString(
1401:                    EDataType eDataType, String initialValue) {
1402:                ConnectionModeType result = ConnectionModeType
1403:                        .get(initialValue);
1404:                if (result == null)
1405:                    throw new IllegalArgumentException("The value '"
1406:                            + initialValue + "' is not a valid enumerator of '"
1407:                            + eDataType.getName() + "'");
1408:                return result;
1409:            }
1410:
1411:            /**
1412:             * <!-- begin-user-doc -->
1413:             * <!-- end-user-doc -->
1414:             * @generated
1415:             */
1416:            public String convertConnectionModeTypeToString(
1417:                    EDataType eDataType, Object instanceValue) {
1418:                return instanceValue == null ? null : instanceValue.toString();
1419:            }
1420:
1421:            /**
1422:             * <!-- begin-user-doc -->
1423:             * <!-- end-user-doc -->
1424:             * @generated
1425:             */
1426:            public SSLMode createSSLModeFromString(EDataType eDataType,
1427:                    String initialValue) {
1428:                SSLMode result = SSLMode.get(initialValue);
1429:                if (result == null)
1430:                    throw new IllegalArgumentException("The value '"
1431:                            + initialValue + "' is not a valid enumerator of '"
1432:                            + eDataType.getName() + "'");
1433:                return result;
1434:            }
1435:
1436:            /**
1437:             * <!-- begin-user-doc -->
1438:             * <!-- end-user-doc -->
1439:             * @generated
1440:             */
1441:            public String convertSSLModeToString(EDataType eDataType,
1442:                    Object instanceValue) {
1443:                return instanceValue == null ? null : instanceValue.toString();
1444:            }
1445:
1446:            /**
1447:             * <!-- begin-user-doc -->
1448:             * <!-- end-user-doc -->
1449:             * @generated
1450:             */
1451:            public PatternModel createPatternModelFromString(
1452:                    EDataType eDataType, String initialValue) {
1453:                PatternModel result = PatternModel.get(initialValue);
1454:                if (result == null)
1455:                    throw new IllegalArgumentException("The value '"
1456:                            + initialValue + "' is not a valid enumerator of '"
1457:                            + eDataType.getName() + "'");
1458:                return result;
1459:            }
1460:
1461:            /**
1462:             * <!-- begin-user-doc -->
1463:             * <!-- end-user-doc -->
1464:             * @generated
1465:             */
1466:            public String convertPatternModelToString(EDataType eDataType,
1467:                    Object instanceValue) {
1468:                return instanceValue == null ? null : instanceValue.toString();
1469:            }
1470:
1471:            /**
1472:             * <!-- begin-user-doc -->
1473:             * <!-- end-user-doc -->
1474:             * @generated
1475:             */
1476:            public FolderBrowseStyle createFolderBrowseStyleFromString(
1477:                    EDataType eDataType, String initialValue) {
1478:                FolderBrowseStyle result = FolderBrowseStyle.get(initialValue);
1479:                if (result == null)
1480:                    throw new IllegalArgumentException("The value '"
1481:                            + initialValue + "' is not a valid enumerator of '"
1482:                            + eDataType.getName() + "'");
1483:                return result;
1484:            }
1485:
1486:            /**
1487:             * <!-- begin-user-doc -->
1488:             * <!-- end-user-doc -->
1489:             * @generated
1490:             */
1491:            public String convertFolderBrowseStyleToString(EDataType eDataType,
1492:                    Object instanceValue) {
1493:                return instanceValue == null ? null : instanceValue.toString();
1494:            }
1495:
1496:            /**
1497:             * <!-- begin-user-doc -->
1498:             * <!-- end-user-doc -->
1499:             * @generated
1500:             */
1501:            public ReceiveProtocol createReceiveProtocolFromString(
1502:                    EDataType eDataType, String initialValue) {
1503:                ReceiveProtocol result = ReceiveProtocol.get(initialValue);
1504:                if (result == null)
1505:                    throw new IllegalArgumentException("The value '"
1506:                            + initialValue + "' is not a valid enumerator of '"
1507:                            + eDataType.getName() + "'");
1508:                return result;
1509:            }
1510:
1511:            /**
1512:             * <!-- begin-user-doc -->
1513:             * <!-- end-user-doc -->
1514:             * @generated
1515:             */
1516:            public String convertReceiveProtocolToString(EDataType eDataType,
1517:                    Object instanceValue) {
1518:                return instanceValue == null ? null : instanceValue.toString();
1519:            }
1520:
1521:            /**
1522:             * <!-- begin-user-doc -->
1523:             * <!-- end-user-doc -->
1524:             * @generated
1525:             */
1526:            public AttachmentModeType createAttachmentModeTypeFromString(
1527:                    EDataType eDataType, String initialValue) {
1528:                AttachmentModeType result = AttachmentModeType
1529:                        .get(initialValue);
1530:                if (result == null)
1531:                    throw new IllegalArgumentException("The value '"
1532:                            + initialValue + "' is not a valid enumerator of '"
1533:                            + eDataType.getName() + "'");
1534:                return result;
1535:            }
1536:
1537:            /**
1538:             * <!-- begin-user-doc -->
1539:             * <!-- end-user-doc -->
1540:             * @generated
1541:             */
1542:            public String convertAttachmentModeTypeToString(
1543:                    EDataType eDataType, Object instanceValue) {
1544:                return instanceValue == null ? null : instanceValue.toString();
1545:            }
1546:
1547:            /**
1548:             * <!-- begin-user-doc -->
1549:             * <!-- end-user-doc -->
1550:             * @generated
1551:             */
1552:            public WSDLSource createWSDLSourceFromString(EDataType eDataType,
1553:                    String initialValue) {
1554:                WSDLSource result = WSDLSource.get(initialValue);
1555:                if (result == null)
1556:                    throw new IllegalArgumentException("The value '"
1557:                            + initialValue + "' is not a valid enumerator of '"
1558:                            + eDataType.getName() + "'");
1559:                return result;
1560:            }
1561:
1562:            /**
1563:             * <!-- begin-user-doc -->
1564:             * <!-- end-user-doc -->
1565:             * @generated
1566:             */
1567:            public String convertWSDLSourceToString(EDataType eDataType,
1568:                    Object instanceValue) {
1569:                return instanceValue == null ? null : instanceValue.toString();
1570:            }
1571:
1572:            /**
1573:             * <!-- begin-user-doc -->
1574:             * <!-- end-user-doc -->
1575:             * @generated
1576:             */
1577:            public componentflowPackage getcomponentflowPackage() {
1578:                return (componentflowPackage) getEPackage();
1579:            }
1580:
1581:            /**
1582:             * <!-- begin-user-doc -->
1583:             * <!-- end-user-doc -->
1584:             * @deprecated
1585:             * @generated
1586:             */
1587:            public static componentflowPackage getPackage() {
1588:                return componentflowPackage.eINSTANCE;
1589:            }
1590:
1591:        } //componentflowFactoryImpl
ww_w___.___j__av_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.