Package org.drools.core.reteoo
Class FactTemplateTypeConf
- java.lang.Object
-
- org.drools.core.reteoo.FactTemplateTypeConf
-
- All Implemented Interfaces:
Externalizable,Serializable,ObjectTypeConf
public class FactTemplateTypeConf extends Object implements ObjectTypeConf, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FactTemplateTypeConf()FactTemplateTypeConf(EntryPointId entryPoint, FactTemplate factTemplate, RuleBase ruleBase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalFactHandlecreateFactHandle(FactHandleFactory factHandleFactory, long id, Object object, long recency, ReteEvaluator reteEvaluator, WorkingMemoryEntryPoint entryPoint)voidenableTMS()Enable TMS for this object type.ObjectTypeNodegetConcreteObjectTypeNode()EntryPointIdgetEntryPoint()ObjectTypeNode[]getObjectTypeNodes()TypeDeclarationgetTypeDeclaration()StringgetTypeName()booleanisActive()booleanisAssignableFrom(Object object)booleanisDynamic()booleanisEvent()booleanisPrototype()booleanisTMSEnabled()Whether or not, TMS is active for this object type.booleanisTrait()voidreadExternal(ObjectInput in)voidresetCache()voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
FactTemplateTypeConf
public FactTemplateTypeConf()
-
FactTemplateTypeConf
public FactTemplateTypeConf(EntryPointId entryPoint, FactTemplate factTemplate, RuleBase ruleBase)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getConcreteObjectTypeNode
public ObjectTypeNode getConcreteObjectTypeNode()
- Specified by:
getConcreteObjectTypeNodein interfaceObjectTypeConf
-
getObjectTypeNodes
public ObjectTypeNode[] getObjectTypeNodes()
- Specified by:
getObjectTypeNodesin interfaceObjectTypeConf
-
isAssignableFrom
public boolean isAssignableFrom(Object object)
- Specified by:
isAssignableFromin interfaceObjectTypeConf
-
resetCache
public void resetCache()
- Specified by:
resetCachein interfaceObjectTypeConf
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceObjectTypeConf
-
isEvent
public boolean isEvent()
- Specified by:
isEventin interfaceObjectTypeConf
-
isTrait
public boolean isTrait()
-
getTypeDeclaration
public TypeDeclaration getTypeDeclaration()
- Specified by:
getTypeDeclarationin interfaceObjectTypeConf
-
isDynamic
public boolean isDynamic()
- Specified by:
isDynamicin interfaceObjectTypeConf
-
isPrototype
public boolean isPrototype()
- Specified by:
isPrototypein interfaceObjectTypeConf
-
isTMSEnabled
public boolean isTMSEnabled()
Description copied from interface:ObjectTypeConfWhether or not, TMS is active for this object type.- Specified by:
isTMSEnabledin interfaceObjectTypeConf
-
enableTMS
public void enableTMS()
Description copied from interface:ObjectTypeConfEnable TMS for this object type.- Specified by:
enableTMSin interfaceObjectTypeConf
-
getEntryPoint
public EntryPointId getEntryPoint()
- Specified by:
getEntryPointin interfaceObjectTypeConf
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceObjectTypeConf
-
createFactHandle
public InternalFactHandle createFactHandle(FactHandleFactory factHandleFactory, long id, Object object, long recency, ReteEvaluator reteEvaluator, WorkingMemoryEntryPoint entryPoint)
- Specified by:
createFactHandlein interfaceObjectTypeConf
-
-