at.ac.univie.iss.registry
Class ServiceDescription

java.lang.Object
  extended byat.ac.univie.iss.registry.ServiceDescription
All Implemented Interfaces:
java.io.Serializable

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

This class comprises basic information about an Application Service including a mandatory WSDL endpoint URI and an optional set of attributes. Basic access methods (get/set) are provided in order to manipulate ServiceDescription objects. All attributes are stored in an array of Attribute objects.

See Also:
Serialized Form

Constructor Summary
ServiceDescription()
          Constructs an empty service object.
ServiceDescription(Attribute[] attributes, java.lang.String wsdlEndpoint)
          Constructs a service object with appropriate endpoint URI and attributes.
 
Method Summary
 Attribute[] getAttributes()
          Returns an array of Attribute (arbitrary name/value pairs) for this ServiceDescription.
 java.lang.String getWsdlEndpoint()
          Returns the WSDL endpoint URI of this ServiceDescription.
 void setAttributes(Attribute[] attributes)
          Sets all attributes (arbitrary name/value pairs) for this ServiceDescription with the given array Attribute.
 void setWsdlEndpoint(java.lang.String wsdlEndpoint)
          Sets the WSDL endpoint URI of the ServiceDescription.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDescription

public ServiceDescription()
Constructs an empty service object.


ServiceDescription

public ServiceDescription(Attribute[] attributes,
                          java.lang.String wsdlEndpoint)
Constructs a service object with appropriate endpoint URI and attributes.

Method Detail

getAttributes

public Attribute[] getAttributes()
Returns an array of Attribute (arbitrary name/value pairs) for this ServiceDescription.


setAttributes

public void setAttributes(Attribute[] attributes)
Sets all attributes (arbitrary name/value pairs) for this ServiceDescription with the given array Attribute.


getWsdlEndpoint

public java.lang.String getWsdlEndpoint()
Returns the WSDL endpoint URI of this ServiceDescription.


setWsdlEndpoint

public void setWsdlEndpoint(java.lang.String wsdlEndpoint)
Sets the WSDL endpoint URI of the ServiceDescription.



Copyright 2004 Institute for Software Science.