org.drools.reteoo
Class ClassObjectTypeConf
java.lang.Object
org.drools.reteoo.ClassObjectTypeConf
- All Implemented Interfaces:
- Externalizable, Serializable, ObjectTypeConf
public class ClassObjectTypeConf
- extends Object
- implements ObjectTypeConf, Externalizable
- 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
ClassObjectTypeConf
public ClassObjectTypeConf()
ClassObjectTypeConf
public ClassObjectTypeConf(EntryPoint entryPoint,
Class<?> clazz,
InternalRuleBase ruleBase)
readExternal
public void readExternal(ObjectInput stream)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput stream)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
isAssignableFrom
public boolean isAssignableFrom(Object object)
- Specified by:
isAssignableFrom
in interface ObjectTypeConf
getConcreteObjectTypeNode
public ObjectTypeNode getConcreteObjectTypeNode()
- Specified by:
getConcreteObjectTypeNode
in interface ObjectTypeConf
getPackageName
public static String getPackageName(Class<?> clazz,
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).
isShadowEnabled
public boolean isShadowEnabled()
- Specified by:
isShadowEnabled
in interface ObjectTypeConf
resetCache
public void resetCache()
- Specified by:
resetCache
in interface ObjectTypeConf
getObjectTypeNodes
public ObjectTypeNode[] getObjectTypeNodes()
- Specified by:
getObjectTypeNodes
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.