Jadex 0.96-beta1

jadex.adapter.fipa
Class AgentIdentifier

java.lang.Object
  extended by jadex.runtime.BasicAgentIdentifier
      extended by jadex.adapter.fipa.AgentIdentifierData
          extended by jadex.adapter.fipa.AgentIdentifier
All Implemented Interfaces:
BeanInfo, Serializable

public class AgentIdentifier
extends AgentIdentifierData

An agent identifier (AID), see FIPASC00023.

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
AgentIdentifier()
          Create a new agent identifier.
AgentIdentifier(String name)
          Create a new agent identifier.
AgentIdentifier(String name, boolean local)
          Create a new agent identifier.
AgentIdentifier(String name, boolean local, String[] addresses, AgentIdentifier[] resolvers)
          Create a new agent identifier.
AgentIdentifier(String name, String[] addresses)
          Create a new agent identifier.
 
Method Summary
 Object clone()
          Clone this agent identifier.
 String getLocalName()
           
 String getPlatformName()
          Get the platform name.
 boolean hasAddress(String address)
          Checks if this adress equals one or more addresses in the identifier
 
Methods inherited from class jadex.adapter.fipa.AgentIdentifierData
addAddress, addResolver, getAdditionalBeanInfo, getAddress, getAddresses, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, getResolver, getResolvers, loadImage, removeAddress, removeResolver, setAddress, setAddresses, setResolver, setResolvers, toString
 
Methods inherited from class jadex.runtime.BasicAgentIdentifier
equals, getName, hashCode, setName
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentIdentifier

public AgentIdentifier()
Create a new agent identifier.


AgentIdentifier

public AgentIdentifier(String name)
Create a new agent identifier.


AgentIdentifier

public AgentIdentifier(String name,
                       boolean local)
Create a new agent identifier.


AgentIdentifier

public AgentIdentifier(String name,
                       String[] addresses)
Create a new agent identifier.


AgentIdentifier

public AgentIdentifier(String name,
                       boolean local,
                       String[] addresses,
                       AgentIdentifier[] resolvers)
Create a new agent identifier.

Method Detail

clone

public Object clone()
Clone this agent identifier. Does a deep copy.

Overrides:
clone in class Object

hasAddress

public boolean hasAddress(String address)
Checks if this adress equals one or more addresses in the identifier

Parameters:
address -
Returns:
true

getLocalName

public String getLocalName()
Returns:
the local name of an agent

getPlatformName

public String getPlatformName()
Get the platform name.

Returns:
The platform name.

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.