Drools examples 6.1.0-SNAPSHOT

org.drools.games.adventures.model
Class Location

java.lang.Object
  extended by org.drools.games.adventures.model.Location

public class Location
extends Object


Constructor Summary
Location(Thing thing, Thing target)
           
 
Method Summary
 boolean equals(Object o)
           
 Thing getTarget()
           
 Thing getThing()
           
 int hashCode()
           
 void setTarget(Thing target)
           
 void setThing(Thing thing)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(Thing thing,
                Thing target)
Method Detail

getThing

public Thing getThing()

setThing

public void setThing(Thing thing)

getTarget

public Thing getTarget()

setTarget

public void setTarget(Thing target)

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

Drools examples 6.1.0-SNAPSHOT

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.