agentland.drug
Class Drug

java.lang.Object
  |
  +--agentland.drug.Drug
Direct Known Subclasses:
ConnectionDrug

public class Drug
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  AgentID agent
           
protected  int id
           
 
Constructor Summary
Drug(int id)
           
 
Method Summary
 boolean equals(Object o)
           
 AgentID getAgentID()
           
 int getID()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected int id

agent

protected AgentID agent
Constructor Detail

Drug

public Drug(int id)
Method Detail

getAgentID

public AgentID getAgentID()

getID

public int getID()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object