|
|||||||||||||||||||
| 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 | |||||||||||||||
| AssignImpl.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* $Id: AssignImpl.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.Assign;
|
|
| 16 |
import bexee.model.elements.Copy;
|
|
| 17 |
|
|
| 18 |
/**
|
|
| 19 |
* This is a default implementation of the <code>Assign</code> activity.
|
|
| 20 |
*
|
|
| 21 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:13 $
|
|
| 22 |
* @author Patric Fornasier
|
|
| 23 |
* @author Pawel Kowalski
|
|
| 24 |
*/
|
|
| 25 |
public class AssignImpl extends AbstractActivity implements Assign { |
|
| 26 |
|
|
| 27 |
private Copy copy = null; |
|
| 28 |
|
|
| 29 |
//**************************************************/
|
|
| 30 |
// c'tors
|
|
| 31 |
//**************************************************/
|
|
| 32 |
|
|
| 33 | 4 |
public AssignImpl() {
|
| 34 | 4 |
this(null); |
| 35 |
} |
|
| 36 |
|
|
| 37 |
/**
|
|
| 38 |
* @param standardAttributes
|
|
| 39 |
*/
|
|
| 40 | 44 |
public AssignImpl(StandardAttributes standardAttributes) {
|
| 41 | 44 |
super(standardAttributes);
|
| 42 |
} |
|
| 43 |
|
|
| 44 |
//**************************************************/
|
|
| 45 |
// bexee.model.activity.Assign
|
|
| 46 |
//**************************************************/
|
|
| 47 |
|
|
| 48 |
// TODO there may exist multiple copies within one assign copy multiplicity
|
|
| 49 |
//
|
|
| 50 | 40 |
public void setCopy(Copy copy) { |
| 51 | 40 |
this.copy = copy;
|
| 52 |
} |
|
| 53 |
|
|
| 54 | 6 |
public Copy getCopy() {
|
| 55 | 6 |
return copy;
|
| 56 |
} |
|
| 57 |
|
|
| 58 |
//**************************************************/
|
|
| 59 |
// bexee.core.BPELElement
|
|
| 60 |
//**************************************************/
|
|
| 61 |
|
|
| 62 | 8 |
public void accept(ProcessController controller, ProcessInstance instance) |
| 63 |
throws Exception {
|
|
| 64 | 8 |
controller.process(this, instance);
|
| 65 |
} |
|
| 66 |
|
|
| 67 | 32 |
public void accept(BPELElementVisitor elementVisitor) { |
| 68 | 32 |
elementVisitor.visit(this);
|
| 69 |
} |
|
| 70 |
|
|
| 71 |
} |
|
||||||||||