|
|||||||||||||||||||
| 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 | |||||||||||||||
| RoleImpl.java | - | 50% | 50% | 50% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* $Id: RoleImpl.java,v 1.1 2004/12/15 14:18:18 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.wsdl.extensions.partnerlinktype.impl;
|
|
| 10 |
|
|
| 11 |
import javax.wsdl.PortType;
|
|
| 12 |
|
|
| 13 |
import bexee.wsdl.extensions.partnerlinktype.Role;
|
|
| 14 |
|
|
| 15 |
/**
|
|
| 16 |
* A default implementation of the <code>Role</code> BPEL extension to WSDL.
|
|
| 17 |
*
|
|
| 18 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:18 $
|
|
| 19 |
* @author Patric Fornasier
|
|
| 20 |
* @author Pawel Kowalski
|
|
| 21 |
*/
|
|
| 22 |
public class RoleImpl implements Role { |
|
| 23 |
|
|
| 24 |
private String name;
|
|
| 25 |
|
|
| 26 |
private PortType portType;
|
|
| 27 |
|
|
| 28 |
/**
|
|
| 29 |
* @return Returns the name.
|
|
| 30 |
*/
|
|
| 31 | 0 |
public String getName() {
|
| 32 | 0 |
return name;
|
| 33 |
} |
|
| 34 |
|
|
| 35 |
/**
|
|
| 36 |
* @param name
|
|
| 37 |
* The name to set.
|
|
| 38 |
*/
|
|
| 39 | 16 |
public void setName(String name) { |
| 40 | 16 |
this.name = name;
|
| 41 |
} |
|
| 42 |
|
|
| 43 |
/**
|
|
| 44 |
* @return Returns the portType.
|
|
| 45 |
*/
|
|
| 46 | 0 |
public PortType getPortType() {
|
| 47 | 0 |
return portType;
|
| 48 |
} |
|
| 49 |
|
|
| 50 |
/**
|
|
| 51 |
* @param portType
|
|
| 52 |
* The portType to set.
|
|
| 53 |
*/
|
|
| 54 | 16 |
public void setPortType(PortType portType) { |
| 55 | 16 |
this.portType = portType;
|
| 56 |
} |
|
| 57 |
} |
|
||||||||||