agentland.resource.connect
Class Connection

java.lang.Object
  |
  +--agentland.resource.connect.Connection
All Implemented Interfaces:
Serializable

public class Connection
extends Object
implements Serializable

Holds two objects. Represents a connection between from and to.

See Also:
Serialized Form

Constructor Summary
Connection(Object owner, Object from, Object to)
           
 
Method Summary
 boolean equals(Object o)
           
 Object from()
           
 int hashCode()
           
 Object owner()
           
 Object to()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Connection

public Connection(Object owner,
                  Object from,
                  Object to)
Method Detail

from

public Object from()

to

public Object to()

owner

public Object owner()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object