001: /*--
002:
003: Copyright (C) 2002 Anthony Eden.
004: All rights reserved.
005:
006: Redistribution and use in source and binary forms, with or without
007: modification, are permitted provided that the following conditions
008: are met:
009:
010: 1. Redistributions of source code must retain the above copyright
011: notice, this list of conditions, and the following disclaimer.
012:
013: 2. Redistributions in binary form must reproduce the above copyright
014: notice, this list of conditions, and the disclaimer that follows
015: these conditions in the documentation and/or other materials
016: provided with the distribution.
017:
018: 3. The names "OBE" and "Open Business Engine" must not be used to
019: endorse or promote products derived from this software without prior
020: written permission. For written permission, please contact
021: me@anthonyeden.com.
022:
023: 4. Products derived from this software may not be called "OBE" or
024: "Open Business Engine", nor may "OBE" or "Open Business Engine"
025: appear in their name, without prior written permission from
026: Anthony Eden (me@anthonyeden.com).
027:
028: In addition, I request (but do not require) that you include in the
029: end-user documentation provided with the redistribution and/or in the
030: software itself an acknowledgement equivalent to the following:
031: "This product includes software developed by
032: Anthony Eden (http://www.anthonyeden.com/)."
033:
034: THIS SOFTWARE IS PROVIdED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
035: WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
036: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
037: DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT,
038: INDIRECT, INCIdENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
039: (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
040: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
041: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
042: STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
043: IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
044: POSSIBILITY OF SUCH DAMAGE.
045:
046: For more information on OBE, please see <http://obe.sourceforge.net/>.
047:
048: */
049:
050: package org.wfmc.audit;
051:
052: import java.util.Date;
053:
054: /** Section 8.6.3 of the Interface 5 WFMC standards
055:
056: @author Antony Lodge
057: */
058:
059: /**
060: * @author Antony Lodge
061: */
062: public class WMAGetAttributesSourceWorkflowResponse extends
063: WMASourceWorkflowResponse {
064:
065: private static final long serialVersionUID = 8684940144526336634L;
066:
067: public WMAGetAttributesSourceWorkflowResponse() {
068: }
069:
070: /**
071: * @param cwadPrefix
072: * @param messageId
073: * @param extensionNumber
074: * @param extensionType
075: * @param sourceConversationId
076: * @param targetConversationId
077: * @param sourceInitialProcessInstanceId
078: * @param sourceCurrentProcessInstanceId
079: * @param sourceActivityInstanceId
080: * @param sourceTimestamp
081: * @param sourceNodeId
082: * @param sourceUserId
083: * @param sourceRoleId
084: * @param sourceProcessDefinitionId
085: * @param sourceProcessDefinitionBusinessName
086: *
087: * @param sourceActivityDefinitionBusinessName
088: *
089: * @param attributeName
090: * @param attributeType
091: * @param attributeLength
092: * @param attributeValue
093: */
094: public WMAGetAttributesSourceWorkflowResponse(
095: CWADPrefix cwadPrefix, String messageId,
096: short extensionNumber, String extensionType,
097: String sourceConversationId, String targetConversationId,
098: String sourceInitialProcessInstanceId,
099: String sourceCurrentProcessInstanceId,
100: String sourceActivityInstanceId, Date sourceTimestamp,
101: String sourceNodeId, String sourceUserId,
102: String sourceRoleId, String sourceProcessDefinitionId,
103: String sourceProcessDefinitionBusinessName,
104: String sourceActivityDefinitionBusinessName,
105: String attributeName, int attributeType,
106: int attributeLength, String attributeValue) {
107:
108: super (cwadPrefix, messageId, extensionNumber, extensionType,
109: sourceConversationId, targetConversationId,
110: sourceInitialProcessInstanceId,
111: sourceCurrentProcessInstanceId,
112: sourceActivityInstanceId, sourceTimestamp,
113: sourceNodeId, sourceUserId, sourceRoleId,
114: sourceProcessDefinitionId,
115: sourceProcessDefinitionBusinessName,
116: sourceActivityDefinitionBusinessName, attributeName,
117: attributeType, attributeLength, attributeValue);
118: }
119:
120: public String toString() {
121: return "WMAGetAttributesSourceWorkflowResponse@"
122: + System.identityHashCode(this ) + '[' + " cwadPrefix="
123: + formatCwadPrefix() + ", messageId=" + getMessageId()
124: + ", sourceInitialProcessInstanceId="
125: + getSourceInitialProcessInstanceId()
126: + ", sourceCurrentProcessInstanceId="
127: + getSourceCurrentProcessInstanceId()
128: + ", sourceActivityInstanceId="
129: + getSourceActivityInstanceId() + ", sourceTimestamp="
130: + getSourceTimestamp() + ", sourceNodeId="
131: + getSourceNodeId() + ", sourceUserId="
132: + getSourceUserId() + ", sourceRoleId="
133: + getSourceRoleId() + ", sourceProcessDefinitionId="
134: + getSourceProcessDefinitionId()
135: + ", sourceProcessDefinitionBusinessName='"
136: + getSourceProcessDefinitionBusinessName() + '\''
137: + ", sourceActivityDefinitionBusinessName='"
138: + getSourceActivityDefinitionBusinessName() + '\''
139: + ", attributeName='" + getAttributeName() + '\''
140: + ", attributeType=" + getAttributeType()
141: + ", attributeLength=" + getAttributeLength()
142: + ", attributeValue='" + getAttributeValue() + '\''
143: + ", extensionNumber=" + getExtensionNumber()
144: + ", extensionType='" + getExtensionType() + '\''
145: + ", sourceConversationId='"
146: + getSourceConversationId() + '\''
147: + ", targetConversationId='"
148: + getTargetConversationId() + '\'' + ']';
149: }
150: }
|