edu.uga.cs.lsdis.sawsdl.impl
Class PortTypeImpl

java.lang.Object
  extended by com.ibm.wsdl.AbstractWSDLElement
      extended by com.ibm.wsdl.PortTypeImpl
          extended by edu.uga.cs.lsdis.sawsdl.impl.PortTypeImpl
All Implemented Interfaces:
ModelReferenceExtensible, java.io.Serializable, javax.wsdl.extensions.AttributeExtensible, javax.wsdl.extensions.ElementExtensible, javax.wsdl.PortType, javax.wsdl.WSDLElement

public class PortTypeImpl
extends com.ibm.wsdl.PortTypeImpl
implements PortType

This class represents a port type. It contains information about operations associated with this port type.

Author:
: Ajith Ranabahu, : Zixin Wu, : Karthik Gomadam, : Doug Brewer
See Also:
Serialized Form

Field Summary
protected  java.util.Set<ModelReference> modelReferences
           
 
Fields inherited from class com.ibm.wsdl.PortTypeImpl
isUndefined, name, nativeAttributeNames, operations, serialVersionUID
 
Fields inherited from class com.ibm.wsdl.AbstractWSDLElement
docEl, extElements, extensionAttributes
 
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
 
Constructor Summary
PortTypeImpl()
           
 
Method Summary
 void addModelReference(ModelReference modelReference)
          Set the modelReference specification located by the given path.
 void addOperation(Operation operation)
          Overloaded method to add a semantic operation directly
 ModelReference getModelReference()
          Get the first ModelReference in the list of ModelReferences.
 java.util.Set<ModelReference> getModelReferences()
          Get all the ModelReferences of the Element.
 Operation getSemanticOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName)
          gets the semantic operation
 Operation removeSemanticOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName)
          removes a semantic operation.
 void setModelReferences(java.util.Set<ModelReference> refs)
          Set the ModelReferences of this Element.
 
Methods inherited from class com.ibm.wsdl.PortTypeImpl
addOperation, getNativeAttributeNames, getOperation, getOperations, getQName, isUndefined, removeOperation, setQName, setUndefined, toString
 
Methods inherited from class com.ibm.wsdl.AbstractWSDLElement
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.wsdl.PortType
addOperation, getOperation, getOperations, getQName, isUndefined, removeOperation, setQName, setUndefined
 
Methods inherited from interface javax.wsdl.WSDLElement
getDocumentationElement, setDocumentationElement
 
Methods inherited from interface javax.wsdl.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
 
Methods inherited from interface javax.wsdl.extensions.ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
 

Field Detail

modelReferences

protected java.util.Set<ModelReference> modelReferences
Constructor Detail

PortTypeImpl

public PortTypeImpl()
Method Detail

addModelReference

public void addModelReference(ModelReference modelReference)
Set the modelReference specification located by the given path.

Specified by:
addModelReference in interface ModelReferenceExtensible
Parameters:
modelReference - The new modelReference value

getModelReferences

public java.util.Set<ModelReference> getModelReferences()
Description copied from interface: ModelReferenceExtensible
Get all the ModelReferences of the Element.

Specified by:
getModelReferences in interface ModelReferenceExtensible
Returns:
A list of ModelReferences. If there are no model references returns an empty list

setModelReferences

public void setModelReferences(java.util.Set<ModelReference> refs)
Description copied from interface: ModelReferenceExtensible
Set the ModelReferences of this Element.

Specified by:
setModelReferences in interface ModelReferenceExtensible
Parameters:
refs - The ModelReferences for this Element.

getModelReference

public ModelReference getModelReference()
Description copied from interface: ModelReferenceExtensible
Get the first ModelReference in the list of ModelReferences.

Specified by:
getModelReference in interface ModelReferenceExtensible
Returns:
The first ModelReference. Null if there are model references

addOperation

public void addOperation(Operation operation)
Overloaded method to add a semantic operation directly

Parameters:
operation -
See Also:
PortType.addOperation(javax.wsdl.Operation)

getSemanticOperation

public Operation getSemanticOperation(java.lang.String name,
                                      java.lang.String inputName,
                                      java.lang.String outputName)
gets the semantic operation

Parameters:
name -
inputName -
outputName -
Returns:
the semantically annotated operation object
See Also:
PortType.getOperation(String, String, String)

removeSemanticOperation

public Operation removeSemanticOperation(java.lang.String name,
                                         java.lang.String inputName,
                                         java.lang.String outputName)
removes a semantic operation.

Parameters:
name -
inputName -
outputName -
Returns:
the semantically annotated operation object
See Also:
PortType.removeOperation(String, String, String)


Copyright © 2007. All Rights Reserved.