|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.able.platform.agents.FipaDfAgentDescription
This class provides an implementation of a FIPA DF agent description.
This class also contain an ABLE extension, which is a Java reference to the agent that this description describes. Therefore, when one looks up an agent in the DF and obtains a description of the agent, addressability to the actual agent can be obtained by calling getReference() on the description. (The returned reference must be cast to the expected agent type before being used.)
Constructor Summary | |
FipaDfAgentDescription()
Create a new, empty FIPA DF agent description. |
|
FipaDfAgentDescription(java.lang.String theAgentName,
java.lang.String theAddress)
Create a new FIPA DF agent description, and initialize it with specified parameters. |
Method Summary | |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
java.lang.String |
getAddress()
Retrieve the address of the agent. |
java.lang.String |
getAgentName()
Retrieve the name of the agent. |
int |
getDfState()
Retrieve the DF state. |
java.lang.String |
getInteractionProtocols()
Retrieve the interaction protocols. |
java.lang.String |
getLanguage()
Retrieve the language. |
java.lang.String |
getOntology()
Retrieve the ontology. |
java.lang.String |
getOwnership()
Retrieve the ownership. |
java.lang.Object |
getReference()
Retrieve the reference. |
java.util.Vector |
getServices()
Retrieve the services of the agent. |
java.lang.String |
getType()
Retrieve the type. |
void |
setAddress(java.lang.String theAddress)
Set the address of the agent. |
void |
setAgentName(java.lang.String theAgentName)
Set the name of the agent. |
void |
setDfState(int theDfStateId)
Set the DF state. |
void |
setInteractionProtocols(java.lang.String theInteractionProtocols)
Set the interaction protocols. |
void |
setLanguage(java.lang.String theLanguage)
Set the language. |
void |
setOntology(java.lang.String theOntology)
Set the ontology. |
void |
setOwnership(java.lang.String theOwnership)
Set the ownership. |
void |
setReference(java.lang.Object theReference)
Set the reference. |
void |
setServices(java.util.Vector theServices)
Set the services of the agent. |
void |
setType(java.lang.String theType)
Set the type. |
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 |
public FipaDfAgentDescription()
public FipaDfAgentDescription(java.lang.String theAgentName, java.lang.String theAddress)
theAgentName
- The name of the agent.
theAddress
- The address of the agent.
Method Detail |
public java.lang.String getAgentName()
public void setAgentName(java.lang.String theAgentName)
theAgentName
- A name of an agent.
public java.lang.String getAddress()
public void setAddress(java.lang.String theAddress)
theAddress
- A address of an agent.
public java.util.Vector getServices()
public void setServices(java.util.Vector theServices)
theServices
- A list of FipaService objects.
public java.lang.String getType()
public void setType(java.lang.String theType)
theType
- A type.
public java.lang.String getInteractionProtocols()
public void setInteractionProtocols(java.lang.String theInteractionProtocols)
theInteractionProtocols
- The interaction protocols.
public java.lang.String getOntology()
public void setOntology(java.lang.String theOntology)
theOntology
- The ontology.
public java.lang.String getLanguage()
public void setLanguage(java.lang.String theLanguage)
theLanguage
- The language.
public java.lang.String getOwnership()
public void setOwnership(java.lang.String theOwnership)
theOwnership
- The ownership.
public int getDfState()
public void setDfState(int theDfStateId) throws java.lang.IllegalArgumentException
theDfStateId
- The DF state.
public java.lang.Object getReference()
public void setReference(java.lang.Object theReference)
the
- reference
The reference.
public java.lang.String toString()
public static java.lang.String Copyright()
|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |