org.drools.common
Class DisconnectedWorkingMemoryEntryPoint

java.lang.Object
  extended by org.drools.common.DisconnectedWorkingMemoryEntryPoint
All Implemented Interfaces:
Serializable, org.drools.runtime.rule.WorkingMemoryEntryPoint

public class DisconnectedWorkingMemoryEntryPoint
extends Object
implements org.drools.runtime.rule.WorkingMemoryEntryPoint, Serializable

See Also:
Serialized Form

Constructor Summary
DisconnectedWorkingMemoryEntryPoint(String id)
           
 
Method Summary
 String getEntryPointId()
           
 long getFactCount()
           
 org.drools.runtime.rule.FactHandle getFactHandle(Object object)
           
<T extends org.drools.runtime.rule.FactHandle>
Collection<T>
getFactHandles()
           
<T extends org.drools.runtime.rule.FactHandle>
Collection<T>
getFactHandles(org.drools.runtime.ObjectFilter filter)
           
 Object getObject(org.drools.runtime.rule.FactHandle factHandle)
           
 Collection<Object> getObjects()
           
 Collection<Object> getObjects(org.drools.runtime.ObjectFilter filter)
           
 org.drools.runtime.rule.FactHandle insert(Object object)
           
 void retract(org.drools.runtime.rule.FactHandle handle)
           
 void update(org.drools.runtime.rule.FactHandle handle, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisconnectedWorkingMemoryEntryPoint

public DisconnectedWorkingMemoryEntryPoint(String id)
Method Detail

getEntryPointId

public String getEntryPointId()
Specified by:
getEntryPointId in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

getFactCount

public long getFactCount()
Specified by:
getFactCount in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

getFactHandle

public org.drools.runtime.rule.FactHandle getFactHandle(Object object)
Specified by:
getFactHandle in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

getFactHandles

public <T extends org.drools.runtime.rule.FactHandle> Collection<T> getFactHandles()
Specified by:
getFactHandles in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

getFactHandles

public <T extends org.drools.runtime.rule.FactHandle> Collection<T> getFactHandles(org.drools.runtime.ObjectFilter filter)
Specified by:
getFactHandles in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

getObject

public Object getObject(org.drools.runtime.rule.FactHandle factHandle)
Specified by:
getObject in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

getObjects

public Collection<Object> getObjects()
Specified by:
getObjects in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

getObjects

public Collection<Object> getObjects(org.drools.runtime.ObjectFilter filter)
Specified by:
getObjects in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

insert

public org.drools.runtime.rule.FactHandle insert(Object object)
Specified by:
insert in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

retract

public void retract(org.drools.runtime.rule.FactHandle handle)
Specified by:
retract in interface org.drools.runtime.rule.WorkingMemoryEntryPoint

update

public void update(org.drools.runtime.rule.FactHandle handle,
                   Object object)
Specified by:
update in interface org.drools.runtime.rule.WorkingMemoryEntryPoint


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