Drools examples 6.1.0-SNAPSHOT

org.drools.games.adventures.model
Class DropCommand

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

public class DropCommand
extends Command


Constructor Summary
DropCommand(Character character, Thing thing)
           
 
Method Summary
 boolean equals(Object o)
           
 Character getCharacter()
           
 Thing getThing()
           
 int hashCode()
           
 void setCharacter(Character character)
           
 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

DropCommand

public DropCommand(Character character,
                   Thing thing)
Method Detail

getCharacter

public Character getCharacter()

setCharacter

public void setCharacter(Character character)

getThing

public Thing getThing()

setThing

public void setThing(Thing thing)

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.