Jadex 0.96-beta1

jadex.runtime
Class BasicAgentIdentifier

java.lang.Object
  extended by jadex.runtime.BasicAgentIdentifier
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AgentIdentifierData

public class BasicAgentIdentifier
extends Object
implements Serializable

Basic agent identifier to address agents by name only

See Also:
Serialized Form

Constructor Summary
BasicAgentIdentifier()
          Create a new BasicAgentIdentifier.
BasicAgentIdentifier(String name)
          Create a new BasicAgentIdentifier.
 
Method Summary
 boolean equals(Object o)
           
 String getName()
          Get the agent name.
 int hashCode()
          The hashcode of the AID.
 void setName(String name)
          Set the agent name.
 String toString()
          Get a string representation.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicAgentIdentifier

public BasicAgentIdentifier()
Create a new BasicAgentIdentifier.


BasicAgentIdentifier

public BasicAgentIdentifier(String name)
Create a new BasicAgentIdentifier.

Parameters:
name - The agent name.
Method Detail

getName

public String getName()
Get the agent name.


setName

public void setName(String name)
Set the agent name.

Parameters:
name - The agent name.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
The hashcode of the AID.

Overrides:
hashCode in class Object

toString

public String toString()
Get a string representation.

Overrides:
toString in class Object

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.