Source Code Cross Referenced for ConcreteWorkOrderId.java in  » Workflow-Engines » wilos » wilos » model » misc » concreteworkbreakdownelement » 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 » wilos » wilos.model.misc.concreteworkbreakdownelement 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Wilos Is a cLever process Orchestration Software - http://www.wilos-project.org
003:         * Copyright (C) 2007 Sebastien BALARD <sbalard@wilos-project.org>
004:         * Copyright (C) 2007-2008 Paul Sabatier University, IUP ISI (Toulouse, France) <massie@irit.fr>
005:         *
006:         * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
007:         * General Public License as published by the Free Software Foundation; either version 2 of the License,
008:         * or (at your option) any later version.
009:         *
010:         * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
011:         * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012:         * GNU General Public License for more details.
013:         *
014:         * You should have received a copy of the GNU General Public License along with this program; if not,
015:         * write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
016:         */
017:
018:        package wilos.model.misc.concreteworkbreakdownelement;
019:
020:        import java.io.Serializable;
021:
022:        import org.apache.commons.lang.builder.EqualsBuilder;
023:
024:        /**
025:         * 
026:         * @author Sebastien BALARD
027:         * 
028:         */
029:        public class ConcreteWorkOrderId implements  Serializable, Cloneable {
030:
031:            private static final long serialVersionUID = 1L;
032:
033:            private String concretePredecessorId;
034:
035:            private String concreteSuccessorId;
036:
037:            private String concreteLinkTypeId;
038:
039:            /**
040:             * Class constructor
041:             * 
042:             */
043:            public ConcreteWorkOrderId() {
044:                this .concretePredecessorId = "";
045:                this .concreteSuccessorId = "";
046:                this .concreteLinkTypeId = "";
047:            }
048:
049:            /**
050:             * Defines if the specified Object is the same or has the same values as the
051:             * current instance of the class.
052:             * 
053:             * @param obj
054:             *            the Object to be compare to the ConcreteWorkOrderId
055:             * @return true if the specified Object is the same, false otherwise
056:             */
057:            public boolean equals(Object _obj) {
058:                if (_obj instanceof  ConcreteWorkOrderId == false) {
059:                    return false;
060:                }
061:                if (this  == _obj) {
062:                    return true;
063:                }
064:                ConcreteWorkOrderId concreteWorkOrderId = (ConcreteWorkOrderId) _obj;
065:                return new EqualsBuilder().append(this .concretePredecessorId,
066:                        concreteWorkOrderId.concretePredecessorId).append(
067:                        this .concreteSuccessorId,
068:                        concreteWorkOrderId.concreteSuccessorId).append(
069:                        this .concreteLinkTypeId,
070:                        concreteWorkOrderId.concreteLinkTypeId).isEquals();
071:            }
072:
073:            /**
074:             * Returns a copy of the current instance of ConcreteWorkOrderId
075:             * 
076:             * @return a copy of the ConcreteWorkOrderId
077:             * @throws CloneNotSupportedException
078:             */
079:            @Override
080:            public ConcreteWorkOrderId clone()
081:                    throws CloneNotSupportedException {
082:                ConcreteWorkOrderId concreteWorkOrderId = new ConcreteWorkOrderId();
083:                concreteWorkOrderId.copy(this );
084:                return concreteWorkOrderId;
085:            }
086:
087:            /**
088:             * Copy the values of the specified ConcreteWorkOrderId into the current
089:             * instance of the class.
090:             * 
091:             * @param _concreteWorkOrderId
092:             *            the ConcreteWorkOrderId to copy
093:             */
094:            protected void copy(final ConcreteWorkOrderId _concreteWorkOrderId) {
095:                this .concretePredecessorId = _concreteWorkOrderId
096:                        .getConcretePredecessorId();
097:                this .concreteSuccessorId = _concreteWorkOrderId
098:                        .getConcreteSuccessorId();
099:                this .concreteLinkTypeId = _concreteWorkOrderId.concreteLinkTypeId;
100:            }
101:
102:            /**
103:             * Returns the identifier of the concrete predecessor assigned to the
104:             * ConcreteWorkOrderId
105:             * 
106:             * @return the concretePredecessorId
107:             */
108:            public String getConcretePredecessorId() {
109:                return this .concretePredecessorId;
110:            }
111:
112:            /**
113:             * Sets the identifier of the concrete predecessor assigned to the
114:             * ConcreteWorkOrderId
115:             * 
116:             * @param _concretePredecessorId
117:             *                the concretePredecessorId to set
118:             */
119:            public void setConcretePredecessorId(String _concretePredecessorId) {
120:                this .concretePredecessorId = _concretePredecessorId;
121:            }
122:
123:            /**
124:             * Returns the identifier of the concrete successor assigned to the
125:             * ConcreteWorkOrderId
126:             * 
127:             * @return the concreteSuccessorId
128:             */
129:            public String getConcreteSuccessorId() {
130:                return this .concreteSuccessorId;
131:            }
132:
133:            /**
134:             * Sets the identifier of the concrete successor assigned to the
135:             * ConcreteWorkOrderId
136:             * 
137:             * @param _concreteSuccessorId
138:             *                the concreteSuccessorId to set
139:             */
140:            public void setConcreteSuccessorId(String _concreteSuccessorId) {
141:                this .concreteSuccessorId = _concreteSuccessorId;
142:            }
143:
144:            /**
145:             * Returns the identifier of the concrete link type assigned to the
146:             * ConcreteWorkOrderId
147:             * 
148:             * @return the linkType
149:             */
150:            public String getConcreteLinkTypeId() {
151:                return concreteLinkTypeId;
152:            }
153:
154:            /**
155:             * Sets the identifier of the concrete link type assigned to the
156:             * ConcreteWorkOrderId
157:             * 
158:             * @param _linkType the linkType to set
159:             */
160:            public void setConcreteLinkTypeId(String _linkType) {
161:                concreteLinkTypeId = _linkType;
162:            }
163:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.