org.drools.rule
Class DynamicFact

java.lang.Object
  extended by org.drools.rule.DynamicFact
All Implemented Interfaces:
Map<String,Object>

public class DynamicFact
extends Object
implements Map<String,Object>

DO NOT USE THIS YET. Use FactType instead.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
DynamicFact(Object bean, org.drools.definition.type.FactType typeDef)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object arg0)
           
 Set entrySet()
           
 Object get(Object fieldName)
           
 Object getFactObject()
          Return the underlying fact itself.
 boolean isEmpty()
           
 Set<String> keySet()
           
 Object put(String key, Object value)
           
 void putAll(Map arg0)
           
 Object remove(Object arg0)
           
 int size()
           
 Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

DynamicFact

public DynamicFact(Object bean,
                   org.drools.definition.type.FactType typeDef)
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<String,Object>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<String,Object>

containsValue

public boolean containsValue(Object arg0)
Specified by:
containsValue in interface Map<String,Object>

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map<String,Object>

get

public Object get(Object fieldName)
Specified by:
get in interface Map<String,Object>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,Object>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,Object>

put

public Object put(String key,
                  Object value)
Specified by:
put in interface Map<String,Object>

putAll

public void putAll(Map arg0)
Specified by:
putAll in interface Map<String,Object>

remove

public Object remove(Object arg0)
Specified by:
remove in interface Map<String,Object>

size

public int size()
Specified by:
size in interface Map<String,Object>

values

public Collection values()
Specified by:
values in interface Map<String,Object>

getFactObject

public Object getFactObject()
Return the underlying fact itself. This is what you asset into the session/engine.



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