Drools examples 6.1.0-SNAPSHOT

org.drools.games.adventures.model
Class Item

java.lang.Object
  extended by org.drools.games.adventures.model.Thing
      extended by org.drools.games.adventures.model.Item

public class Item
extends Thing


Constructor Summary
Item(long id, String name, boolean fixed)
           
Item(String name)
           
Item(String name, boolean fixed)
           
 
Method Summary
 boolean isFixed()
           
 void setFixed(boolean fixed)
           
 String toString()
           
 
Methods inherited from class org.drools.games.adventures.model.Thing
equals, getId, getName, hashCode, setId, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Item

public Item(String name)

Item

public Item(String name,
            boolean fixed)

Item

public Item(long id,
            String name,
            boolean fixed)
Method Detail

isFixed

public boolean isFixed()

setFixed

public void setFixed(boolean fixed)

toString

public String toString()
Overrides:
toString in class Thing

Drools examples 6.1.0-SNAPSHOT

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