Package org.drools.core.reteoo
Class FactTemplateTypeConf
- java.lang.Object
-
- org.drools.core.reteoo.FactTemplateTypeConf
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,ObjectTypeConf
public class FactTemplateTypeConf extends java.lang.Object implements ObjectTypeConf, java.io.Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FactTemplateTypeConf()
FactTemplateTypeConf(org.drools.base.rule.EntryPointId entryPoint, org.drools.base.facttemplates.FactTemplate factTemplate, InternalRuleBase ruleBase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalFactHandle
createFactHandle(FactHandleFactory factHandleFactory, long id, java.lang.Object object, long recency, ReteEvaluator reteEvaluator, WorkingMemoryEntryPoint entryPoint)
void
enableTMS()
Enable TMS for this object type.ObjectTypeNode
getConcreteObjectTypeNode()
org.drools.base.rule.EntryPointId
getEntryPoint()
ObjectTypeNode[]
getObjectTypeNodes()
org.drools.base.rule.TypeDeclaration
getTypeDeclaration()
java.lang.String
getTypeName()
boolean
isActive()
boolean
isAssignableFrom(java.lang.Object object)
boolean
isDynamic()
boolean
isEvent()
boolean
isPrototype()
boolean
isTMSEnabled()
Whether or not, TMS is active for this object type.boolean
isTrait()
void
readExternal(java.io.ObjectInput in)
void
resetCache()
void
writeExternal(java.io.ObjectOutput out)
-
-
-
Constructor Detail
-
FactTemplateTypeConf
public FactTemplateTypeConf()
-
FactTemplateTypeConf
public FactTemplateTypeConf(org.drools.base.rule.EntryPointId entryPoint, org.drools.base.facttemplates.FactTemplate factTemplate, InternalRuleBase ruleBase)
-
-
Method Detail
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Specified by:
writeExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
getConcreteObjectTypeNode
public ObjectTypeNode getConcreteObjectTypeNode()
- Specified by:
getConcreteObjectTypeNode
in interfaceObjectTypeConf
-
getObjectTypeNodes
public ObjectTypeNode[] getObjectTypeNodes()
- Specified by:
getObjectTypeNodes
in interfaceObjectTypeConf
-
isAssignableFrom
public boolean isAssignableFrom(java.lang.Object object)
- Specified by:
isAssignableFrom
in interfaceObjectTypeConf
-
resetCache
public void resetCache()
- Specified by:
resetCache
in interfaceObjectTypeConf
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceObjectTypeConf
-
isEvent
public boolean isEvent()
- Specified by:
isEvent
in interfaceObjectTypeConf
-
isTrait
public boolean isTrait()
-
getTypeDeclaration
public org.drools.base.rule.TypeDeclaration getTypeDeclaration()
- Specified by:
getTypeDeclaration
in interfaceObjectTypeConf
-
isDynamic
public boolean isDynamic()
- Specified by:
isDynamic
in interfaceObjectTypeConf
-
isPrototype
public boolean isPrototype()
- Specified by:
isPrototype
in interfaceObjectTypeConf
-
isTMSEnabled
public boolean isTMSEnabled()
Description copied from interface:ObjectTypeConf
Whether or not, TMS is active for this object type.- Specified by:
isTMSEnabled
in interfaceObjectTypeConf
-
enableTMS
public void enableTMS()
Description copied from interface:ObjectTypeConf
Enable TMS for this object type.- Specified by:
enableTMS
in interfaceObjectTypeConf
-
getEntryPoint
public org.drools.base.rule.EntryPointId getEntryPoint()
- Specified by:
getEntryPoint
in interfaceObjectTypeConf
-
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeName
in interfaceObjectTypeConf
-
createFactHandle
public InternalFactHandle createFactHandle(FactHandleFactory factHandleFactory, long id, java.lang.Object object, long recency, ReteEvaluator reteEvaluator, WorkingMemoryEntryPoint entryPoint)
- Specified by:
createFactHandle
in interfaceObjectTypeConf
-
-