Source Code Cross Referenced for SubProcessElement.java in  » Workflow-Engines » OpenWFE » org » openwfe » gpe » model » 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 » Workflow Engines » OpenWFE » org.openwfe.gpe.model 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Created on 3 mai 2005
003:         *
004:         */
005:        package org.openwfe.gpe.model;
006:
007:        import org.eclipse.ui.views.properties.IPropertyDescriptor;
008:        import org.eclipse.ui.views.properties.TextPropertyDescriptor;
009:
010:        /**
011:         * @author Christelle
012:         *
013:         */
014:        public class SubProcessElement extends NoChild {
015:            public static String name = "Subprocess";
016:            private String ref = "";
017:            private String forget = "";
018:            private String fields = "";
019:            private String variableRef = "";
020:            private String fieldRef = "";
021:
022:            protected static IPropertyDescriptor[] descriptors;
023:
024:            public static final String REF = "ref";
025:            public static final String FORGET = "forget";
026:            public static final String FIELDS = "fields";
027:            public static final String VARIABLEREF = "variable-ref";
028:            public static final String FIELDREF = "field-ref";
029:            static {
030:                descriptors = new IPropertyDescriptor[] {
031:                        new TextPropertyDescriptor(REF, "ref"),
032:                        new TextPropertyDescriptor(FORGET, "forget"),
033:                        new TextPropertyDescriptor(FIELDS, "fields"),
034:                        new TextPropertyDescriptor(VARIABLEREF, "variable-ref"),
035:                        new TextPropertyDescriptor(FIELDREF, "field-ref"), };
036:            }
037:
038:            public String getName() {
039:                if (!(ref.equalsIgnoreCase("")))
040:                    return name + ": " + ref;
041:                return name;
042:            }
043:
044:            public void setName(String s) {
045:                name = s;
046:            }
047:
048:            public String getRef() {
049:                return ref;
050:            }
051:
052:            public void setRef(String s) {
053:                ref = s;
054:                firePropertyChange(REF, null, s);
055:            }
056:
057:            public String getForget() {
058:                return forget;
059:            }
060:
061:            public void setForget(String s) {
062:                forget = s;
063:                firePropertyChange(FORGET, null, s);
064:            }
065:
066:            public String getFields() {
067:                return fields;
068:            }
069:
070:            public void setFields(String s) {
071:                fields = s;
072:                firePropertyChange(FIELDS, null, s);
073:            }
074:
075:            public String getVariableRef() {
076:                return variableRef;
077:            }
078:
079:            public void setVariableRef(String s) {
080:                variableRef = s;
081:                firePropertyChange(VARIABLEREF, null, s);
082:            }
083:
084:            public String getFieldRef() {
085:                return fieldRef;
086:            }
087:
088:            public void setFieldRef(String s) {
089:                fieldRef = s;
090:                firePropertyChange(FIELDREF, null, s);
091:            }
092:
093:            public IPropertyDescriptor[] getPropertyDescriptors() {
094:                return descriptors;
095:            }
096:
097:            public Object getPropertyValue(Object propName) {
098:                if (REF.equals(propName))
099:                    return getRef();
100:                if (FORGET.equals(propName))
101:                    return getForget();
102:                if (VARIABLEREF.equals(propName))
103:                    return getVariableRef();
104:                if (FIELDS.equals(propName))
105:                    return getFields();
106:                if (FIELDREF.equals(propName))
107:                    return getFieldRef();
108:                return super .getPropertyValue(propName);
109:            }
110:
111:            public void setPropertyValue(Object id, Object value) {
112:                if (id == REF)
113:                    setRef((String) value);
114:                if (id == FORGET)
115:                    setForget((String) value);
116:                if (id == VARIABLEREF)
117:                    setVariableRef((String) value);
118:                if (id == FIELDS)
119:                    setFields((String) value);
120:                if (id == FIELDREF)
121:                    setFieldRef((String) value);
122:            }
123:
124:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.