01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2004 Danet GmbH (www.danet.de), GS-AN.
04: * All rights reserved.
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: *
20: * $Id: BlockActivity.java,v 1.3 2007/05/03 21:58:18 mlipp Exp $
21: *
22: * $Log: BlockActivity.java,v $
23: * Revision 1.3 2007/05/03 21:58:18 mlipp
24: * Internal refactoring for making better use of local EJBs.
25: *
26: * Revision 1.2 2006/09/29 12:32:08 drmlipp
27: * Consistently using WfMOpen as projct name now.
28: *
29: * Revision 1.1.1.2 2004/08/18 15:17:38 drmlipp
30: * Update to 1.2
31: *
32: * Revision 1.12 2004/05/09 18:42:59 lipp
33: * Finished process instantiation restructuring.
34: *
35: * Revision 1.11 2004/05/06 19:39:18 lipp
36: * Restructured block activity handling.
37: *
38: */
39: package de.danet.an.workflow.domain;
40:
41: import java.io.Serializable;
42: import java.rmi.RemoteException;
43:
44: /**
45: * The base class for all temporary representations of blocak
46: * activities.
47: *
48: * @author <a href="mailto:mnl@mnl.de">Michael N. Lipp</a>
49: * @version $Revision: 1.3 $
50: */
51: public abstract class BlockActivity extends ActivityBase implements
52: Serializable {
53:
54: private static final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory
55: .getLog(BlockActivity.class);
56:
57: /**
58: * Creates an instance of <code>BlockActivity</code>
59: * with all attributes initialized to given values.
60: * @param key activity key
61: */
62: public BlockActivity(String key) {
63: super (key);
64: }
65:
66: /* Comment copied from interface. */
67: public String blockActivity() {
68: // block activities do not belong to block activities
69: return null;
70: }
71:
72: /**
73: * Return string representation for debugging purposes.
74: * @return a string representation.
75: */
76: public String toString() {
77: return "BlockActivity[" + key() + "]";
78: }
79: }
|