Jadex 0.96-beta1

jadex.adapter.fipa
Class AgentDescriptionData

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

public abstract class AgentDescriptionData
extends Object
implements BeanInfo, Serializable

Java class for concept AgentDescription of beanynizer_beans_fipa_default ontology.

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
AgentDescriptionData()
          Default Constructor.
 
Method Summary
 void addLanguage(String language)
          Add a language to this AgentDescription.
 void addOntology(String ontology)
          Add a ontology to this AgentDescription.
 void addProtocol(String protocol)
          Add a protocol to this AgentDescription.
 void addService(ServiceDescription service)
          Add a service to this AgentDescription.
 BeanInfo[] getAdditionalBeanInfo()
          Get additional bean info.
 BeanDescriptor getBeanDescriptor()
          Get the bean descriptor.
 int getDefaultEventIndex()
          Get the default event index.
 int getDefaultPropertyIndex()
          Get the default property index.
 EventSetDescriptor[] getEventSetDescriptors()
          Get the event set descriptors.
 Image getIcon(int iconKind)
          Get the icon.
 String getLanguage(int idx)
          Get an languages of this AgentDescription.
 String[] getLanguages()
          Get the languages of this AgentDescription.
 Date getLeaseTime()
          Get the lease-time of this AgentDescription.
 MethodDescriptor[] getMethodDescriptors()
          Get the method descriptors.
 AgentIdentifier getName()
          Get the agentidentifier of this AgentDescription.
 String[] getOntologies()
          Get the ontologies of this AgentDescription.
 String getOntology(int idx)
          Get an ontologies of this AgentDescription.
 PropertyDescriptor[] getPropertyDescriptors()
          Get the property descriptors.
 String getProtocol(int idx)
          Get an protocols of this AgentDescription.
 String[] getProtocols()
          Get the protocols of this AgentDescription.
 ServiceDescription getService(int idx)
          Get an services of this AgentDescription.
 ServiceDescription[] getServices()
          Get the services of this AgentDescription.
 Image loadImage(String resourceName)
          Load the image.
 boolean removeLanguage(String language)
          Remove a language from this AgentDescription.
 boolean removeOntology(String ontology)
          Remove a ontology from this AgentDescription.
 boolean removeProtocol(String protocol)
          Remove a protocol from this AgentDescription.
 boolean removeService(ServiceDescription service)
          Remove a service from this AgentDescription.
 void setLanguage(int idx, String language)
          Set a language to this AgentDescription.
 void setLanguages(String[] languages)
          Set the languages of this AgentDescription.
 void setLeaseTime(Date leasetime)
          Set the lease-time of this AgentDescription.
 void setName(AgentIdentifier name)
          Set the agentidentifier of this AgentDescription.
 void setOntologies(String[] ontologies)
          Set the ontologies of this AgentDescription.
 void setOntology(int idx, String ontology)
          Set a ontology to this AgentDescription.
 void setProtocol(int idx, String protocol)
          Set a protocol to this AgentDescription.
 void setProtocols(String[] protocols)
          Set the protocols of this AgentDescription.
 void setService(int idx, ServiceDescription service)
          Set a service to this AgentDescription.
 void setServices(ServiceDescription[] services)
          Set the services of this AgentDescription.
 String toString()
          Get a string representation of this AgentDescription.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentDescriptionData

public AgentDescriptionData()
Default Constructor.
Create a new AgentDescription.

Method Detail

getServices

public ServiceDescription[] getServices()
Get the services of this AgentDescription.

Returns:
services

setServices

public void setServices(ServiceDescription[] services)
Set the services of this AgentDescription.

Parameters:
services - the value to be set

getService

public ServiceDescription getService(int idx)
Get an services of this AgentDescription.

Parameters:
idx - The index.
Returns:
services

setService

public void setService(int idx,
                       ServiceDescription service)
Set a service to this AgentDescription.

Parameters:
idx - The index.
service - a value to be added

addService

public void addService(ServiceDescription service)
Add a service to this AgentDescription.

Parameters:
service - a value to be removed

removeService

public boolean removeService(ServiceDescription service)
Remove a service from this AgentDescription.

Parameters:
service - a value to be removed
Returns:
True when the services have changed.

getProtocols

public String[] getProtocols()
Get the protocols of this AgentDescription.

Returns:
protocols

setProtocols

public void setProtocols(String[] protocols)
Set the protocols of this AgentDescription.

Parameters:
protocols - the value to be set

getProtocol

public String getProtocol(int idx)
Get an protocols of this AgentDescription.

Parameters:
idx - The index.
Returns:
protocols

setProtocol

public void setProtocol(int idx,
                        String protocol)
Set a protocol to this AgentDescription.

Parameters:
idx - The index.
protocol - a value to be added

addProtocol

public void addProtocol(String protocol)
Add a protocol to this AgentDescription.

Parameters:
protocol - a value to be removed

removeProtocol

public boolean removeProtocol(String protocol)
Remove a protocol from this AgentDescription.

Parameters:
protocol - a value to be removed
Returns:
True when the protocols have changed.

getOntologies

public String[] getOntologies()
Get the ontologies of this AgentDescription.

Returns:
ontologies

setOntologies

public void setOntologies(String[] ontologies)
Set the ontologies of this AgentDescription.

Parameters:
ontologies - the value to be set

getOntology

public String getOntology(int idx)
Get an ontologies of this AgentDescription.

Parameters:
idx - The index.
Returns:
ontologies

setOntology

public void setOntology(int idx,
                        String ontology)
Set a ontology to this AgentDescription.

Parameters:
idx - The index.
ontology - a value to be added

addOntology

public void addOntology(String ontology)
Add a ontology to this AgentDescription.

Parameters:
ontology - a value to be removed

removeOntology

public boolean removeOntology(String ontology)
Remove a ontology from this AgentDescription.

Parameters:
ontology - a value to be removed
Returns:
True when the ontologies have changed.

getLanguages

public String[] getLanguages()
Get the languages of this AgentDescription.

Returns:
languages

setLanguages

public void setLanguages(String[] languages)
Set the languages of this AgentDescription.

Parameters:
languages - the value to be set

getLanguage

public String getLanguage(int idx)
Get an languages of this AgentDescription.

Parameters:
idx - The index.
Returns:
languages

setLanguage

public void setLanguage(int idx,
                        String language)
Set a language to this AgentDescription.

Parameters:
idx - The index.
language - a value to be added

addLanguage

public void addLanguage(String language)
Add a language to this AgentDescription.

Parameters:
language - a value to be removed

removeLanguage

public boolean removeLanguage(String language)
Remove a language from this AgentDescription.

Parameters:
language - a value to be removed
Returns:
True when the languages have changed.

getLeaseTime

public Date getLeaseTime()
Get the lease-time of this AgentDescription.

Returns:
lease-time

setLeaseTime

public void setLeaseTime(Date leasetime)
Set the lease-time of this AgentDescription.

Parameters:
leasetime - the value to be set

getName

public AgentIdentifier getName()
Get the agentidentifier of this AgentDescription.

Returns:
agentidentifier

setName

public void setName(AgentIdentifier name)
Set the agentidentifier of this AgentDescription.

Parameters:
name - the value to be set

getBeanDescriptor

public BeanDescriptor getBeanDescriptor()
Get the bean descriptor.

Specified by:
getBeanDescriptor in interface BeanInfo
Returns:
The bean descriptor.

getPropertyDescriptors

public PropertyDescriptor[] getPropertyDescriptors()
Get the property descriptors.

Specified by:
getPropertyDescriptors in interface BeanInfo
Returns:
The property descriptors.

getDefaultPropertyIndex

public int getDefaultPropertyIndex()
Get the default property index.

Specified by:
getDefaultPropertyIndex in interface BeanInfo
Returns:
The property index.

getEventSetDescriptors

public EventSetDescriptor[] getEventSetDescriptors()
Get the event set descriptors.

Specified by:
getEventSetDescriptors in interface BeanInfo
Returns:
The event set descriptors.

getDefaultEventIndex

public int getDefaultEventIndex()
Get the default event index.

Specified by:
getDefaultEventIndex in interface BeanInfo
Returns:
The default event index.

getMethodDescriptors

public MethodDescriptor[] getMethodDescriptors()
Get the method descriptors.

Specified by:
getMethodDescriptors in interface BeanInfo
Returns:
The method descriptors.

getAdditionalBeanInfo

public BeanInfo[] getAdditionalBeanInfo()
Get additional bean info.

Specified by:
getAdditionalBeanInfo in interface BeanInfo
Returns:
Get additional bean info.

getIcon

public Image getIcon(int iconKind)
Get the icon.

Specified by:
getIcon in interface BeanInfo
Returns:
The icon.

loadImage

public Image loadImage(String resourceName)
Load the image.

Returns:
The image.

toString

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

Overrides:
toString in class Object
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.