|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| EmptyImpl.java | - | 75% | 75% | 75% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* $Id: EmptyImpl.java,v 1.1 2004/12/15 14:18:13 patforna Exp $
|
|
| 3 |
*
|
|
| 4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
| 5 |
* Berne University of Applied Sciences
|
|
| 6 |
* School of Engineering and Information Technology
|
|
| 7 |
* All rights reserved.
|
|
| 8 |
*/
|
|
| 9 |
package bexee.model.activity.impl;
|
|
| 10 |
|
|
| 11 |
import bexee.core.ProcessController;
|
|
| 12 |
import bexee.core.ProcessInstance;
|
|
| 13 |
import bexee.model.BPELElementVisitor;
|
|
| 14 |
import bexee.model.StandardAttributes;
|
|
| 15 |
import bexee.model.activity.Empty;
|
|
| 16 |
|
|
| 17 |
/**
|
|
| 18 |
* Default implementation of the <code>Empty</code> activity.
|
|
| 19 |
*
|
|
| 20 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:13 $
|
|
| 21 |
* @author Patric Fornasier
|
|
| 22 |
* @author Pawel Kowalski
|
|
| 23 |
*/
|
|
| 24 |
public class EmptyImpl extends AbstractActivity implements Empty { |
|
| 25 |
|
|
| 26 |
//**************************************************/
|
|
| 27 |
// c'tors
|
|
| 28 |
//**************************************************/
|
|
| 29 |
|
|
| 30 | 4 |
public EmptyImpl() {
|
| 31 | 4 |
this(null); |
| 32 |
} |
|
| 33 |
|
|
| 34 | 4 |
public EmptyImpl(StandardAttributes standardAttributes) {
|
| 35 | 4 |
super(standardAttributes);
|
| 36 |
} |
|
| 37 |
|
|
| 38 |
//**************************************************/
|
|
| 39 |
// bexee.core.BPELElement
|
|
| 40 |
//**************************************************/
|
|
| 41 |
|
|
| 42 |
/*
|
|
| 43 |
* (non-Javadoc)
|
|
| 44 |
*
|
|
| 45 |
* @see bexee.core.BPELElement#accept(bexee.core.ProcessControllerImpl,
|
|
| 46 |
* bexee.core.ProcessInstance)
|
|
| 47 |
*/
|
|
| 48 | 2 |
public void accept(ProcessController controller, ProcessInstance instance) |
| 49 |
throws Exception {
|
|
| 50 | 2 |
controller.process(this, instance);
|
| 51 |
} |
|
| 52 |
|
|
| 53 |
/*
|
|
| 54 |
* (non-Javadoc)
|
|
| 55 |
*
|
|
| 56 |
* @see bexee.model.BPELElement#accept(bexee.model.BPELElementVisitor)
|
|
| 57 |
*/
|
|
| 58 | 0 |
public void accept(BPELElementVisitor elementVisitor) { |
| 59 | 0 |
elementVisitor.visit(this);
|
| 60 |
} |
|
| 61 |
} |
|
||||||||||