Source Code Cross Referenced for WMEntity.java in  » Workflow-Engines » shark » org » enhydra » shark » api » client » wfservice » 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 » shark » org.enhydra.shark.api.client.wfservice 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright (c) 2002 Adrian Price. All rights reserved.
003:         */
004:
005:        package org.enhydra.shark.api.client.wfservice;
006:
007:        import java.io.Serializable;
008:
009:        /**
010:         * A WAPI2 process definition component. NOTE: This class was originally written by Adrian
011:         * Price, but was adjusted by Shark team afterwards.
012:         * 
013:         * @author Adrian Price
014:         */
015:        public class WMEntity implements  Serializable {
016:
017:            private String id;
018:
019:            private String type;
020:
021:            private String name;
022:
023:            private String value;
024:
025:            private String pkgId;
026:
027:            private String pkgVer;
028:
029:            private String wpId;
030:
031:            private String actId;
032:
033:            private String parentId;
034:
035:            private String parentType;
036:
037:            private int parentOrdNo = -1;
038:
039:            private int ordNo = -1;
040:
041:            // public WMEntity(String pkgId,
042:            // String pkgVer,
043:            // String wpId,
044:            // String parentId,
045:            // String parentType,
046:            // String id,
047:            // String type,
048:            // String name,
049:            // String value) {
050:            //
051:            // }
052:
053:            public WMEntity() {
054:            }
055:
056:            public String getId() {
057:                return id;
058:            }
059:
060:            public void setId(String id) {
061:                this .id = id;
062:            }
063:
064:            public String getName() {
065:                return name;
066:            }
067:
068:            public void setName(String name) {
069:                this .name = name;
070:            }
071:
072:            public String getParentId() {
073:                return parentId;
074:            }
075:
076:            public void setParentId(String parentId) {
077:                this .parentId = parentId;
078:            }
079:
080:            public String getParentType() {
081:                return parentType;
082:            }
083:
084:            public void setParentType(String parentType) {
085:                this .parentType = parentType;
086:            }
087:
088:            public int getParentOrdNo() {
089:                return parentOrdNo;
090:            }
091:
092:            public void setParentOrdNo(int parentOrdNo) {
093:                this .parentOrdNo = parentOrdNo;
094:            }
095:
096:            public int getOrdNo() {
097:                return ordNo;
098:            }
099:
100:            public void setOrdNo(int ordNo) {
101:                this .ordNo = ordNo;
102:            }
103:
104:            public String getPkgId() {
105:                return pkgId;
106:            }
107:
108:            public void setPkgId(String pkgId) {
109:                this .pkgId = pkgId;
110:            }
111:
112:            public String getPkgVer() {
113:                return pkgVer;
114:            }
115:
116:            public void setPkgVer(String pkgVer) {
117:                this .pkgVer = pkgVer;
118:            }
119:
120:            public String getType() {
121:                return type;
122:            }
123:
124:            public void setType(String type) {
125:                this .type = type;
126:            }
127:
128:            public String getValue() {
129:                return value;
130:            }
131:
132:            public void setValue(String value) {
133:                this .value = value;
134:            }
135:
136:            public String getWpId() {
137:                return wpId;
138:            }
139:
140:            public void setWpId(String wpId) {
141:                this .wpId = wpId;
142:            }
143:
144:            public String getActId() {
145:                return actId;
146:            }
147:
148:            public void setActId(String actId) {
149:                this .actId = actId;
150:            }
151:
152:            public boolean equals(Object o) {
153:                if (o instanceof  WMEntity) {
154:                    WMEntity ent = (WMEntity) o;
155:
156:                    return ((ent.getId() != null) ? ent.getId().equals(
157:                            this .getId()) : this .getId() == null)
158:                            && ((ent.getType() != null) ? ent.getType().equals(
159:                                    this .getType()) : this .getType() == null)
160:                            && ((ent.getName() != null) ? ent.getName().equals(
161:                                    this .getName()) : this .getName() == null)
162:                            && ((ent.getValue() != null) ? ent.getValue()
163:                                    .equals(this .getValue())
164:                                    : this .getValue() == null)
165:                            && ((ent.getPkgId() != null) ? ent.getPkgId()
166:                                    .equals(this .getPkgId())
167:                                    : this .getPkgId() == null)
168:                            && ((ent.getPkgVer() != null) ? ent.getPkgVer()
169:                                    .equals(this .getPkgVer()) : this 
170:                                    .getPkgVer() == null)
171:                            && ((ent.getWpId() != null) ? ent.getWpId().equals(
172:                                    this .getWpId()) : this .getWpId() == null)
173:                            && ((ent.getActId() != null) ? ent.getActId()
174:                                    .equals(this .getActId())
175:                                    : this .getActId() == null)
176:                            && ((ent.getParentId() != null) ? ent.getParentId()
177:                                    .equals(this .getParentId()) : this 
178:                                    .getParentId() == null)
179:                            && ((ent.getParentType() != null) ? ent
180:                                    .getParentType().equals(
181:                                            this .getParentType()) : this 
182:                                    .getParentType() == null)
183:                            && (ent.getParentOrdNo() == this .getParentOrdNo())
184:                            && (ent.getOrdNo() == this .getOrdNo());
185:                }
186:                return false;
187:            }
188:
189:            public int hashCode() {
190:                return type.hashCode();
191:            }
192:
193:            public String toString() {
194:                return "WMEntity[pkgId=" + pkgId + ",pkgVer=" + pkgVer
195:                        + ",wpId=" + wpId + ", actId=" + actId + ", parentId="
196:                        + parentId + ", parentType=" + parentType
197:                        + ", parentOrdNo=" + parentOrdNo + ", ordNo=" + ordNo
198:                        + ", Id=" + id + ", type=" + type + ", name=" + name
199:                        + ", value=" + value + "]";
200:            }
201:
202:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.