Source Code Cross Referenced for EntityTypeNameVisitor.java in  » IDE-Netbeans » bpel » org » netbeans » modules » bpel » model » api » support » 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 » IDE Netbeans » bpel » org.netbeans.modules.bpel.model.api.support 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * The contents of this file are subject to the terms of the Common Development
003:         * and Distribution License (the License). You may not use this file except in
004:         * compliance with the License.
005:         *
006:         * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
007:         * or http://www.netbeans.org/cddl.txt.
008:         *
009:         * When distributing Covered Code, include this CDDL Header Notice in each file
010:         * and include the License file at http://www.netbeans.org/cddl.txt.
011:         * If applicable, add the following below the CDDL Header, with the fields
012:         * enclosed by brackets [] replaced by your own identifying information:
013:         * "Portions Copyrighted [year] [name of copyright owner]"
014:         *
015:         * The Original Software is NetBeans. The Initial Developer of the Original
016:         * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
017:         * Microsystems, Inc. All Rights Reserved.
018:         */
019:        package org.netbeans.modules.bpel.model.api.support;
020:
021:        import org.netbeans.modules.bpel.model.api.Assign;
022:        import org.netbeans.modules.bpel.model.api.BooleanExpr;
023:        import org.netbeans.modules.bpel.model.api.BpelEntity;
024:        import org.netbeans.modules.bpel.model.api.Branches;
025:        import org.netbeans.modules.bpel.model.api.Catch;
026:        import org.netbeans.modules.bpel.model.api.CatchAll;
027:        import org.netbeans.modules.bpel.model.api.Compensate;
028:        import org.netbeans.modules.bpel.model.api.CompensateScope;
029:        import org.netbeans.modules.bpel.model.api.CompensationHandler;
030:        import org.netbeans.modules.bpel.model.api.CompletionCondition;
031:        import org.netbeans.modules.bpel.model.api.Condition;
032:        import org.netbeans.modules.bpel.model.api.Copy;
033:        import org.netbeans.modules.bpel.model.api.Correlation;
034:        import org.netbeans.modules.bpel.model.api.CorrelationContainer;
035:        import org.netbeans.modules.bpel.model.api.CorrelationSet;
036:        import org.netbeans.modules.bpel.model.api.CorrelationSetContainer;
037:        import org.netbeans.modules.bpel.model.api.DeadlineExpression;
038:        import org.netbeans.modules.bpel.model.api.Documentation;
039:        import org.netbeans.modules.bpel.model.api.Else;
040:        import org.netbeans.modules.bpel.model.api.ElseIf;
041:        import org.netbeans.modules.bpel.model.api.Empty;
042:        import org.netbeans.modules.bpel.model.api.EventHandlers;
043:        import org.netbeans.modules.bpel.model.api.Exit;
044:        import org.netbeans.modules.bpel.model.api.ExtensibleAssign;
045:        import org.netbeans.modules.bpel.model.api.Extension;
046:        import org.netbeans.modules.bpel.model.api.ExtensionActivity;
047:        import org.netbeans.modules.bpel.model.api.ExtensionContainer;
048:        import org.netbeans.modules.bpel.model.api.ExtensionEntity;
049:        import org.netbeans.modules.bpel.model.api.FaultHandlers;
050:        import org.netbeans.modules.bpel.model.api.FinalCounterValue;
051:        import org.netbeans.modules.bpel.model.api.Flow;
052:        import org.netbeans.modules.bpel.model.api.For;
053:        import org.netbeans.modules.bpel.model.api.ForEach;
054:        import org.netbeans.modules.bpel.model.api.From;
055:        import org.netbeans.modules.bpel.model.api.FromPart;
056:        import org.netbeans.modules.bpel.model.api.FromPartContainer;
057:        import org.netbeans.modules.bpel.model.api.If;
058:        import org.netbeans.modules.bpel.model.api.Import;
059:        import org.netbeans.modules.bpel.model.api.Invoke;
060:        import org.netbeans.modules.bpel.model.api.Link;
061:        import org.netbeans.modules.bpel.model.api.LinkContainer;
062:        import org.netbeans.modules.bpel.model.api.Literal;
063:        import org.netbeans.modules.bpel.model.api.MessageExchange;
064:        import org.netbeans.modules.bpel.model.api.MessageExchangeContainer;
065:        import org.netbeans.modules.bpel.model.api.OnAlarmEvent;
066:        import org.netbeans.modules.bpel.model.api.OnAlarmPick;
067:        import org.netbeans.modules.bpel.model.api.OnEvent;
068:        import org.netbeans.modules.bpel.model.api.OnMessage;
069:        import org.netbeans.modules.bpel.model.api.PartnerLink;
070:        import org.netbeans.modules.bpel.model.api.PartnerLinkContainer;
071:        import org.netbeans.modules.bpel.model.api.PatternedCorrelation;
072:        import org.netbeans.modules.bpel.model.api.PatternedCorrelationContainer;
073:        import org.netbeans.modules.bpel.model.api.Pick;
074:        import org.netbeans.modules.bpel.model.api.Process;
075:        import org.netbeans.modules.bpel.model.api.Query;
076:        import org.netbeans.modules.bpel.model.api.ReThrow;
077:        import org.netbeans.modules.bpel.model.api.Receive;
078:        import org.netbeans.modules.bpel.model.api.RepeatEvery;
079:        import org.netbeans.modules.bpel.model.api.RepeatUntil;
080:        import org.netbeans.modules.bpel.model.api.Reply;
081:        import org.netbeans.modules.bpel.model.api.Scope;
082:        import org.netbeans.modules.bpel.model.api.Sequence;
083:        import org.netbeans.modules.bpel.model.api.ServiceRef;
084:        import org.netbeans.modules.bpel.model.api.Source;
085:        import org.netbeans.modules.bpel.model.api.SourceContainer;
086:        import org.netbeans.modules.bpel.model.api.StartCounterValue;
087:        import org.netbeans.modules.bpel.model.api.Target;
088:        import org.netbeans.modules.bpel.model.api.TargetContainer;
089:        import org.netbeans.modules.bpel.model.api.TerminationHandler;
090:        import org.netbeans.modules.bpel.model.api.Throw;
091:        import org.netbeans.modules.bpel.model.api.To;
092:        import org.netbeans.modules.bpel.model.api.ToPart;
093:        import org.netbeans.modules.bpel.model.api.ToPartContainer;
094:        import org.netbeans.modules.bpel.model.api.Validate;
095:        import org.netbeans.modules.bpel.model.api.Variable;
096:        import org.netbeans.modules.bpel.model.api.VariableContainer;
097:        import org.netbeans.modules.bpel.model.api.Wait;
098:        import org.netbeans.modules.bpel.model.api.While;
099:        import org.netbeans.modules.bpel.model.api.support.SimpleBpelModelVisitor;
100:
101:        /**
102:         * Specifies a name of each BpelEntity type.
103:         * 
104:         * @author nk160297
105:         */
106:        public class EntityTypeNameVisitor implements  SimpleBpelModelVisitor {
107:
108:            private String myTypeName;
109:
110:            public EntityTypeNameVisitor() {
111:            }
112:
113:            public synchronized String getTypeName(BpelEntity bpelEntity) {
114:                bpelEntity.accept(this );
115:                return getTypeName();
116:            }
117:
118:            private String getTypeName() {
119:                return myTypeName;
120:            }
121:
122:            public void visit(Process process) {
123:                myTypeName = "Process"; // NOI18N
124:            }
125:
126:            public void visit(Empty empty) {
127:                myTypeName = "Empty"; // NOI18N
128:            }
129:
130:            public void visit(Invoke invoke) {
131:                myTypeName = "Invoke"; // NOI18N
132:            }
133:
134:            public void visit(Receive receive) {
135:                myTypeName = "Receive"; // NOI18N
136:            }
137:
138:            public void visit(Reply reply) {
139:                myTypeName = "Reply"; // NOI18N
140:
141:            }
142:
143:            public void visit(Assign assign) {
144:                myTypeName = "Assign"; // NOI18N
145:            }
146:
147:            public void visit(Wait wait) {
148:                myTypeName = "Wait"; // NOI18N
149:            }
150:
151:            public void visit(Throw throv) {
152:                myTypeName = "Throw"; // NOI18N
153:            }
154:
155:            public void visit(Exit terminate) {
156:                myTypeName = "Exit"; // NOI18N
157:            }
158:
159:            public void visit(Flow flow) {
160:                myTypeName = "Flow"; // NOI18N
161:            }
162:
163:            public void visit(While whil) {
164:                myTypeName = "While"; // NOI18N
165:            }
166:
167:            public void visit(Sequence sequence) {
168:                myTypeName = "Sequence"; // NOI18N
169:            }
170:
171:            public void visit(Pick pick) {
172:                myTypeName = "Pick"; // NOI18N
173:            }
174:
175:            public void visit(Scope scope) {
176:                myTypeName = "Scope"; // NOI18N
177:            }
178:
179:            public void visit(PartnerLinkContainer container) {
180:                myTypeName = "PartnerLinkContainer"; // NOI18N
181:            }
182:
183:            public void visit(PartnerLink link) {
184:                myTypeName = "PartnerLink"; // NOI18N
185:            }
186:
187:            public void visit(FaultHandlers handlers) {
188:                myTypeName = "FaultHandlers"; // NOI18N
189:            }
190:
191:            public void visit(Catch catc) {
192:                myTypeName = "Catch"; // NOI18N
193:            }
194:
195:            public void visit(EventHandlers handlers) {
196:                myTypeName = "EventHandlers"; // NOI18N
197:            }
198:
199:            public void visit(OnMessage message) {
200:                myTypeName = "OnMessage"; // NOI18N
201:            }
202:
203:            public void visit(CompensationHandler handler) {
204:                myTypeName = "CompensationHandler"; // NOI18N
205:            }
206:
207:            public void visit(VariableContainer container) {
208:                myTypeName = "VariableContainer"; // NOI18N
209:            }
210:
211:            public void visit(Variable variable) {
212:                myTypeName = "Variable"; // NOI18N
213:            }
214:
215:            public void visit(CorrelationSetContainer container) {
216:                myTypeName = "CorrelationSetContainer"; // NOI18N
217:            }
218:
219:            public void visit(CorrelationSet set) {
220:                myTypeName = "CorrelationSet"; // NOI18N
221:            }
222:
223:            public void visit(Source source) {
224:                myTypeName = "Source"; // NOI18N
225:            }
226:
227:            public void visit(Target target) {
228:                myTypeName = "Target"; // NOI18N
229:            }
230:
231:            public void visit(CorrelationContainer container) {
232:                myTypeName = "CorrelationContainer"; // NOI18N
233:            }
234:
235:            public void visit(Correlation correlation) {
236:                myTypeName = "Correlation"; // NOI18N
237:            }
238:
239:            public void visit(PatternedCorrelation correlation) {
240:                myTypeName = "PatternedCorrelation"; // NOI18N
241:            }
242:
243:            public void visit(PatternedCorrelationContainer container) {
244:                myTypeName = "PatternedCorrelationContainer"; // NOI18N
245:            }
246:
247:            public void visit(To to) {
248:                myTypeName = "To"; // NOI18N
249:            }
250:
251:            public void visit(From from) {
252:                myTypeName = "From"; // NOI18N
253:            }
254:
255:            public void visit(Compensate compensate) {
256:                myTypeName = "Compensate"; // NOI18N
257:            }
258:
259:            public void visit(LinkContainer container) {
260:                myTypeName = "LinkContainer"; // NOI18N
261:            }
262:
263:            public void visit(Link link) {
264:                myTypeName = "Link"; // NOI18N
265:            }
266:
267:            public void visit(Copy copy) {
268:                myTypeName = "Copy"; // NOI18N
269:            }
270:
271:            public void visit(CatchAll holder) {
272:                myTypeName = "CatchAll"; // NOI18N
273:            }
274:
275:            public void visit(BooleanExpr expr) {
276:                myTypeName = "BooleanExpr"; // NOI18N
277:            }
278:
279:            public void visit(Branches branches) {
280:                myTypeName = "Branches"; // NOI18N
281:            }
282:
283:            public void visit(CompletionCondition condition) {
284:                myTypeName = "CompletionCondition"; // NOI18N
285:            }
286:
287:            public void visit(Condition condition) {
288:                myTypeName = "Condition"; // NOI18N
289:            }
290:
291:            public void visit(DeadlineExpression expression) {
292:                myTypeName = "DeadlineExpression"; // NOI18N
293:            }
294:
295:            public void visit(Documentation documentation) {
296:                myTypeName = "Documentation"; // NOI18N
297:            }
298:
299:            public void visit(Else els) {
300:                myTypeName = "Else"; // NOI18N
301:            }
302:
303:            public void visit(ElseIf elseIf) {
304:                myTypeName = "ElseIf"; // NOI18N
305:            }
306:
307:            public void visit(ExtensibleAssign assign) {
308:                myTypeName = "ExtensibleAssign"; // NOI18N
309:            }
310:
311:            public void visit(ExtensionActivity activity) {
312:                myTypeName = "ExtensionActivity"; // NOI18N
313:            }
314:
315:            public void visit(Validate validate) {
316:                myTypeName = "Validate"; // NOI18N
317:            }
318:
319:            public void visit(ToPart toPart) {
320:                myTypeName = "ToPart"; // NOI18N
321:            }
322:
323:            public void visit(ToPartContainer toPartContainer) {
324:                myTypeName = "ToPartContainer"; // NOI18N
325:            }
326:
327:            public void visit(TerminationHandler handler) {
328:                myTypeName = "TerminationHandler"; // NOI18N
329:            }
330:
331:            public void visit(TargetContainer container) {
332:                myTypeName = "TargetContainer"; // NOI18N
333:            }
334:
335:            public void visit(StartCounterValue value) {
336:                myTypeName = "StartCounterValue"; // NOI18N
337:            }
338:
339:            public void visit(SourceContainer container) {
340:                myTypeName = "SourceContainer"; // NOI18N
341:            }
342:
343:            public void visit(ReThrow rethrow) {
344:                myTypeName = "ReThrow"; // NOI18N
345:            }
346:
347:            public void visit(RepeatUntil repeatUntil) {
348:                myTypeName = "RepeatUntil"; // NOI18N
349:            }
350:
351:            public void visit(RepeatEvery repeatEvery) {
352:                myTypeName = "RepeatEvery"; // NOI18N
353:            }
354:
355:            public void visit(OnEvent event) {
356:                myTypeName = "OnEvent"; // NOI18N
357:            }
358:
359:            public void visit(OnAlarmPick alarmPick) {
360:                myTypeName = "OnAlarmPick"; // NOI18N
361:            }
362:
363:            public void visit(OnAlarmEvent alarmEvent) {
364:                myTypeName = "OnAlarmEvent"; // NOI18N
365:            }
366:
367:            public void visit(ExtensionContainer container) {
368:                myTypeName = "ExtensionContainer"; // NOI18N
369:            }
370:
371:            public void visit(Extension extension) {
372:                myTypeName = "Extension"; // NOI18N
373:            }
374:
375:            public void visit(FinalCounterValue value) {
376:                myTypeName = "FinalCounterValue"; // NOI18N
377:            }
378:
379:            public void visit(ForEach forEach) {
380:                myTypeName = "ForEach"; // NOI18N
381:            }
382:
383:            public void visit(Literal literal) {
384:                myTypeName = "Literal"; // NOI18N
385:            }
386:
387:            public void visit(Import imp) {
388:                myTypeName = "Import"; // NOI18N
389:            }
390:
391:            public void visit(If iff) {
392:                myTypeName = "If"; // NOI18N
393:            }
394:
395:            public void visit(FromPart fromPart) {
396:                myTypeName = "FromPart"; // NOI18N
397:            }
398:
399:            public void visit(FromPartContainer fromPartContainer) {
400:                myTypeName = "FromPartContainer"; // NOI18N
401:            }
402:
403:            public void visit(For fo) {
404:                myTypeName = "For"; // NOI18N
405:            }
406:
407:            public void visit(MessageExchangeContainer container) {
408:                myTypeName = "MessageExchangeContainer"; // NOI18N
409:            }
410:
411:            public void visit(MessageExchange exchange) {
412:                myTypeName = "MessageExchange"; // NOI18N
413:            }
414:
415:            public void visit(ServiceRef ref) {
416:                myTypeName = "ServiceRef"; // NOI18N
417:            }
418:
419:            public void visit(ExtensionEntity entity) {
420:                myTypeName = "ExtensionEntity"; // NOI18N
421:            }
422:
423:            public void visit(CompensateScope compensateScope) {
424:                myTypeName = "CompensateScope"; // NOI18N
425:            }
426:
427:            public void visit(Query query) {
428:                myTypeName = "Query"; // NOI18N
429:            }
430:
431:        }
w_w_w_._j__a__va__2__s___._c__om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.