org.owasp.webscarab.plugin.webservice
Class ServiceInfo

java.lang.Object
  extended by org.owasp.webscarab.plugin.webservice.ServiceInfo

public class ServiceInfo
extends java.lang.Object

Service Info an in memory representation of a service defined in WSDL

Author:
Jim Winfield

Constructor Summary
ServiceInfo()
          Constructor
 
Method Summary
 void addOperation(OperationInfo operation)
          Add an ooperation info object to this service definition
 java.lang.String getName()
          Gets the name of the service
 java.util.Iterator getOperations()
          Returs the operations defined by this service
 void setName(java.lang.String value)
          Sets the name of the service
 java.lang.String toString()
          Override toString to return the name of the service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceInfo

public ServiceInfo()
Constructor

Method Detail

setName

public void setName(java.lang.String value)
Sets the name of the service

Parameters:
value - The name of the service

getName

public java.lang.String getName()
Gets the name of the service

Returns:
The name of the service is returned

addOperation

public void addOperation(OperationInfo operation)
Add an ooperation info object to this service definition

Parameters:
operation - The operation to add to this service definition

getOperations

public java.util.Iterator getOperations()
Returs the operations defined by this service

Returns:
an Iterator that can be used to iterate the operations defined by this service

toString

public java.lang.String toString()
Override toString to return the name of the service

Overrides:
toString in class java.lang.Object
Returns:
The name of the service is returned