org.drools.reteoo
Class Rete.ClassObjectTypeConf
java.lang.Object
org.drools.reteoo.Rete.ClassObjectTypeConf
- All Implemented Interfaces:
- java.io.Serializable, Rete.ObjectTypeConf
- Enclosing class:
- Rete
public static class Rete.ClassObjectTypeConf
- extends java.lang.Object
- implements Rete.ObjectTypeConf, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shadowEnabled
protected boolean shadowEnabled
shadowClass
protected java.lang.Class shadowClass
instantiator
protected transient ObjectInstantiator instantiator
Rete.ClassObjectTypeConf
public Rete.ClassObjectTypeConf(java.lang.Class clazz,
InternalRuleBase ruleBase)
isAssignableFrom
public boolean isAssignableFrom(java.lang.Object object)
- Specified by:
isAssignableFrom
in interface Rete.ObjectTypeConf
getConcreteObjectTypeNode
public ObjectTypeNode getConcreteObjectTypeNode()
- Specified by:
getConcreteObjectTypeNode
in interface Rete.ObjectTypeConf
setConcreteObjectTypeNode
public void setConcreteObjectTypeNode(ObjectTypeNode node)
getPackageName
public static java.lang.String getPackageName(java.lang.Class clazz,
java.lang.Package pkg)
- This will return the package name - if the package is null, it will
work it out from the class name (this is in cases where funky classloading is used).
getShadow
public java.lang.Object getShadow(java.lang.Object fact)
throws RuntimeDroolsException
- Specified by:
getShadow
in interface Rete.ObjectTypeConf
- Throws:
RuntimeDroolsException
isShadowEnabled
public boolean isShadowEnabled()
- Specified by:
isShadowEnabled
in interface Rete.ObjectTypeConf
resetCache
public void resetCache()
- Specified by:
resetCache
in interface Rete.ObjectTypeConf
getObjectTypeNodes
public ObjectTypeNode[] getObjectTypeNodes()
- Specified by:
getObjectTypeNodes
in interface Rete.ObjectTypeConf
isActive
public boolean isActive()
- Specified by:
isActive
in interface Rete.ObjectTypeConf