Drools examples 6.1.0-SNAPSHOT

org.drools.games.adventures.model
Class GiveCommand

java.lang.Object
  extended by org.drools.games.adventures.model.Command
      extended by org.drools.games.adventures.model.GiveCommand

public class GiveCommand
extends Command


Constructor Summary
GiveCommand(Character giver, Thing thing, Character receiver)
           
 
Method Summary
 boolean equals(Object o)
           
 Character getGiver()
           
 Character getReceiver()
           
 Thing getThing()
           
 int hashCode()
           
 void setGiver(Character giver)
           
 void setReceiver(Character receiver)
           
 void setThing(Thing thing)
           
 String toString()
           
 
Methods inherited from class org.drools.games.adventures.model.Command
getSession, setSession
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GiveCommand

public GiveCommand(Character giver,
                   Thing thing,
                   Character receiver)
Method Detail

getGiver

public Character getGiver()

setGiver

public void setGiver(Character giver)

getThing

public Thing getThing()

setThing

public void setThing(Thing thing)

getReceiver

public Character getReceiver()

setReceiver

public void setReceiver(Character receiver)

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.