org.drools.reteoo
Class FactTemplateTypeConf

java.lang.Object
  extended by org.drools.reteoo.FactTemplateTypeConf
All Implemented Interfaces:
Externalizable, Serializable, ObjectTypeConf

public class FactTemplateTypeConf
extends Object
implements ObjectTypeConf, Externalizable

See Also:
Serialized Form

Constructor Summary
FactTemplateTypeConf()
           
FactTemplateTypeConf(EntryPoint entryPoint, FactTemplate factTemplate, InternalRuleBase ruleBase)
           
 
Method Summary
 void enableTMS()
          Enable TMS for this object type.
 ObjectTypeNode getConcreteObjectTypeNode()
           
 ObjectTypeNode[] getObjectTypeNodes()
           
 Object getShadow(Object fact)
           
 TypeDeclaration getTypeDeclaration()
           
 boolean isActive()
           
 boolean isAssignableFrom(Object object)
           
 boolean isDynamic()
           
 boolean isEvent()
           
 boolean isShadowEnabled()
           
 boolean isTMSEnabled()
          Whether or not, TMS is active for this object type.
 void readExternal(ObjectInput in)
           
 void resetCache()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactTemplateTypeConf

public FactTemplateTypeConf()

FactTemplateTypeConf

public FactTemplateTypeConf(EntryPoint entryPoint,
                            FactTemplate factTemplate,
                            InternalRuleBase ruleBase)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

getConcreteObjectTypeNode

public ObjectTypeNode getConcreteObjectTypeNode()
Specified by:
getConcreteObjectTypeNode in interface ObjectTypeConf

getObjectTypeNodes

public ObjectTypeNode[] getObjectTypeNodes()
Specified by:
getObjectTypeNodes in interface ObjectTypeConf

getShadow

public Object getShadow(Object fact)
                 throws RuntimeDroolsException
Throws:
RuntimeDroolsException

isShadowEnabled

public boolean isShadowEnabled()
Specified by:
isShadowEnabled in interface ObjectTypeConf

isAssignableFrom

public boolean isAssignableFrom(Object object)
Specified by:
isAssignableFrom in interface ObjectTypeConf

resetCache

public void resetCache()
Specified by:
resetCache in interface ObjectTypeConf

isActive

public boolean isActive()
Specified by:
isActive in interface ObjectTypeConf

isEvent

public boolean isEvent()
Specified by:
isEvent in interface ObjectTypeConf

getTypeDeclaration

public TypeDeclaration getTypeDeclaration()
Specified by:
getTypeDeclaration in interface ObjectTypeConf

isDynamic

public boolean isDynamic()
Specified by:
isDynamic in interface ObjectTypeConf

isTMSEnabled

public boolean isTMSEnabled()
Description copied from interface: ObjectTypeConf
Whether or not, TMS is active for this object type.

Specified by:
isTMSEnabled in interface ObjectTypeConf

enableTMS

public void enableTMS()
Description copied from interface: ObjectTypeConf
Enable TMS for this object type.

Specified by:
enableTMS in interface ObjectTypeConf


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.