org.apache.wsif.providers.jca.toolplugin
Class PortTypeSelection

java.lang.Object
  |
  +--org.apache.wsif.providers.jca.toolplugin.PortTypeSelection
All Implemented Interfaces:
java.io.Serializable

public class PortTypeSelection
extends java.lang.Object
implements java.io.Serializable

The PortTypeSelection class is the representation of a selected PortType that is passed to the getDefinition operation of the ImportService. Tool environments are responsible for constructing instances of this object and passing them to the Import service.

Author:
Hesham Fahmy , Piotr Przybylski
See Also:
Serialized Form

Constructor Summary
PortTypeSelection(javax.xml.namespace.QName portTypeQName, OperationSelection[] operationSelection)
          Constructs a PortTypeSelection for a given WSDL PortType and selected WSDL Operations
 
Method Summary
 OperationSelection[] getOperationSelection()
          Returns the selected WSDL Operations for the PortType.
 javax.xml.namespace.QName getPortTypeQName()
          Returns the QName of the selected WSDL PortType.
 void setOperationSelection(OperationSelection[] operationSelection)
          Sets the selected WSDL Operations for the PortType.
 void setPortTypeQName(javax.xml.namespace.QName portTypeQName)
          Sets the QName of the selected WSDL PortType.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortTypeSelection

public PortTypeSelection(javax.xml.namespace.QName portTypeQName,
                         OperationSelection[] operationSelection)
Constructs a PortTypeSelection for a given WSDL PortType and selected WSDL Operations
Parameters:
portTypeQName - The QName of the WSDL PortType selected
operationSelection - The set of WSDL operations that are selected for the given WSDL PortType.
Method Detail

getPortTypeQName

public javax.xml.namespace.QName getPortTypeQName()
Returns the QName of the selected WSDL PortType.
Returns:
QName

setPortTypeQName

public void setPortTypeQName(javax.xml.namespace.QName portTypeQName)
Sets the QName of the selected WSDL PortType.
Parameters:
portTypeQName - The QName to set

getOperationSelection

public OperationSelection[] getOperationSelection()
Returns the selected WSDL Operations for the PortType. The selected operations are represented by an array of OperationSelection objects.
Returns:
Returns a OperationSelection[]

setOperationSelection

public void setOperationSelection(OperationSelection[] operationSelection)
Sets the selected WSDL Operations for the PortType.
Parameters:
operationSelection - The operationSelection to set.


Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.