Jadex 0.96-beta1

jadex.adapter.fipa
Class AgentDescription

java.lang.Object
  extended by jadex.adapter.fipa.AgentDescriptionData
      extended by jadex.adapter.fipa.AgentDescription
All Implemented Interfaces:
BeanInfo, Serializable, Cloneable

public class AgentDescription
extends AgentDescriptionData
implements Cloneable

An agent description.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
AgentDescription()
          Create a new agent description.
AgentDescription(AgentIdentifier name)
          Create a new agent description.
AgentDescription(AgentIdentifier name, ServiceDescription[] services, String[] protocols, String[] ontologies, String[] languages, Date leasetime)
          Create a new agent description.
 
Method Summary
 Object clone()
          Clone an agent description.
 boolean equals(Object obj)
           
 String toString()
          Get a string representation of this AgentDescription.
 
Methods inherited from class jadex.adapter.fipa.AgentDescriptionData
addLanguage, addOntology, addProtocol, addService, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getLanguage, getLanguages, getLeaseTime, getMethodDescriptors, getName, getOntologies, getOntology, getPropertyDescriptors, getProtocol, getProtocols, getService, getServices, loadImage, removeLanguage, removeOntology, removeProtocol, removeService, setLanguage, setLanguages, setLeaseTime, setName, setOntologies, setOntology, setProtocol, setProtocols, setService, setServices
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentDescription

public AgentDescription()
Create a new agent description.


AgentDescription

public AgentDescription(AgentIdentifier name)
Create a new agent description.

Parameters:
name - The name.

AgentDescription

public AgentDescription(AgentIdentifier name,
                        ServiceDescription[] services,
                        String[] protocols,
                        String[] ontologies,
                        String[] languages,
                        Date leasetime)
Create a new agent description.

Parameters:
name - The name.
services - The services.
protocols - The protocols.
ontologies - The ontologies.
languages - The languages.
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
Parameters:
obj -
Returns:
true if obj is an AgentDescription and both are equal
See Also:
Object.equals(java.lang.Object)

clone

public Object clone()
Clone an agent description.

Overrides:
clone in class Object

toString

public String toString()
Get a string representation of this AgentDescription.

Overrides:
toString in class AgentDescriptionData
Returns:
The string representation.

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.