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, InternalKnowledgeBase kBase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enableTMS()
Enable TMS for this object type.ObjectTypeNode
getConcreteObjectTypeNode()
EntryPointId
getEntryPoint()
ObjectTypeNode[]
getObjectTypeNodes()
TypeDeclaration
getTypeDeclaration()
String
getTypeName()
boolean
isActive()
boolean
isAssignableFrom(Object object)
boolean
isDynamic()
boolean
isEvent()
boolean
isTMSEnabled()
Whether or not, TMS is active for this object type.boolean
isTrait()
boolean
isTraitTMSEnabled()
void
readExternal(ObjectInput in)
void
resetCache()
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
FactTemplateTypeConf
public FactTemplateTypeConf()
-
FactTemplateTypeConf
public FactTemplateTypeConf(EntryPointId entryPoint, FactTemplate factTemplate, InternalKnowledgeBase kBase)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getConcreteObjectTypeNode
public ObjectTypeNode getConcreteObjectTypeNode()
- Specified by:
getConcreteObjectTypeNode
in interfaceObjectTypeConf
-
getObjectTypeNodes
public ObjectTypeNode[] getObjectTypeNodes()
- Specified by:
getObjectTypeNodes
in interfaceObjectTypeConf
-
isAssignableFrom
public boolean isAssignableFrom(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()
- Specified by:
isTrait
in interfaceObjectTypeConf
-
getTypeDeclaration
public TypeDeclaration getTypeDeclaration()
- Specified by:
getTypeDeclaration
in interfaceObjectTypeConf
-
isDynamic
public boolean isDynamic()
- Specified by:
isDynamic
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
-
isTraitTMSEnabled
public boolean isTraitTMSEnabled()
- Specified by:
isTraitTMSEnabled
in interfaceObjectTypeConf
-
enableTMS
public void enableTMS()
Description copied from interface:ObjectTypeConf
Enable TMS for this object type.- Specified by:
enableTMS
in interfaceObjectTypeConf
-
getEntryPoint
public EntryPointId getEntryPoint()
- Specified by:
getEntryPoint
in interfaceObjectTypeConf
-
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in interfaceObjectTypeConf
-
-