ABLE, Version 1.1b

com.ibm.able.platform.agents
Class FipaServiceDescription

java.lang.Object
  |
  +--com.ibm.able.platform.agents.FipaServiceDescription

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

This class provides an implementation of a FIPA Service description.

Version:
$Revision: 1.2 $, $Date: 2000/02/08 15:13:58 $
See Also:
Serialized Form

Constructor Summary
FipaServiceDescription()
          Create a new, empty FIPA Service description.
FipaServiceDescription(java.lang.String theServiceName, java.lang.String theServiceType)
          Create a new FIPA Service description, and initialize it with specified parameters.
 
Method Summary
static java.lang.String Copyright()
          Determine the copyright of this class.
 java.lang.String getFixedProperties()
          Retrieve the fixed properties.
 java.lang.String getNegotiableProperties()
          Retrieve the negotiable properties.
 java.lang.String getServiceName()
          Retrieve the name of the service.
 java.lang.String getServiceOntology()
          Retrieve the ontology of the service.
 java.lang.String getServiceType()
          Retrieve the type of the service.
 void setFixedProperties(java.lang.String theFixedProperties)
          Set the fixed properties.
 void setNegotiableProperties(java.lang.String theNegotiableProperties)
          Set the negotiable properties.
 void setServiceName(java.lang.String theServiceName)
          Set the name of the service.
 void setServiceOntology(java.lang.String theServiceOntology)
          Set the service of the service.
 void setServiceType(java.lang.String theServiceType)
          Set the type of the service.
 java.lang.String toString()
          Retrieve a string describing (the contents of) the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FipaServiceDescription

public FipaServiceDescription()
Create a new, empty FIPA Service description. The content must be filled in before the object can be used.

FipaServiceDescription

public FipaServiceDescription(java.lang.String theServiceName,
                              java.lang.String theServiceType)
Create a new FIPA Service description, and initialize it with specified parameters.
Parameters:
theServiceName - The name of the service.

theServiceType - The type of the service.

Method Detail

getServiceName

public java.lang.String getServiceName()
Retrieve the name of the service.
Returns:
A service name.

setServiceName

public void setServiceName(java.lang.String theServiceName)
Set the name of the service.
Parameters:
theServiceName - A name of a service.


getServiceType

public java.lang.String getServiceType()
Retrieve the type of the service.
Returns:
A service type.

setServiceType

public void setServiceType(java.lang.String theServiceType)
Set the type of the service.
Parameters:
theServiceType - A type of a service.


getServiceOntology

public java.lang.String getServiceOntology()
Retrieve the ontology of the service.
Returns:
A service ontology.

setServiceOntology

public void setServiceOntology(java.lang.String theServiceOntology)
Set the service of the service.
Parameters:
theServiceOntology - An ontology of a service.


getFixedProperties

public java.lang.String getFixedProperties()
Retrieve the fixed properties.
Returns:
The fixed properties.

setFixedProperties

public void setFixedProperties(java.lang.String theFixedProperties)
Set the fixed properties.
Parameters:
theFixedProperties - The fixed properties.


getNegotiableProperties

public java.lang.String getNegotiableProperties()
Retrieve the negotiable properties.
Returns:
The negotiable properties.

setNegotiableProperties

public void setNegotiableProperties(java.lang.String theNegotiableProperties)
Set the negotiable properties.
Parameters:
theNegotiableProperties - The negotiable properties.


toString

public java.lang.String toString()
Retrieve a string describing (the contents of) the object.
Returns:
A String containing the current contents of the object.
Overrides:
toString in class java.lang.Object

Copyright

public static java.lang.String Copyright()
Determine the copyright of this class.
Returns:
A String containing this class's copyright statement.

ABLE, Version 1.1b

ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'