org.drools.reteoo
Class ClassObjectTypeConf

java.lang.Object
  extended by org.drools.reteoo.ClassObjectTypeConf
All Implemented Interfaces:
Externalizable, Serializable, ObjectTypeConf

public class ClassObjectTypeConf
extends Object
implements ObjectTypeConf, Externalizable

See Also:
Serialized Form

Field Summary
protected static Class<?>[] ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES
           
protected  boolean shadowEnabled
           
 
Constructor Summary
ClassObjectTypeConf()
           
ClassObjectTypeConf(EntryPoint entryPoint, Class<?> clazz, InternalRuleBase ruleBase)
           
 
Method Summary
 void enableTMS()
          Enable TMS for this object type.
 ObjectTypeNode getConcreteObjectTypeNode()
           
 EntryPoint getEntryPoint()
           
 ObjectTypeNode[] getObjectTypeNodes()
           
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).
 TypeDeclaration getTypeDeclaration()
           
 boolean isActive()
           
 boolean isAssignableFrom(Object object)
           
 boolean isDynamic()
           
 boolean isEvent()
           
 boolean isShadowEnabled()
           
 boolean isSupportsPropertyChangeListeners()
           
 boolean isTMSEnabled()
          Whether or not, TMS is active for this object type.
 void readExternal(ObjectInput stream)
           
 void resetCache()
           
 void writeExternal(ObjectOutput stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES

protected static final Class<?>[] ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES

shadowEnabled

protected boolean shadowEnabled
Constructor Detail

ClassObjectTypeConf

public ClassObjectTypeConf()

ClassObjectTypeConf

public ClassObjectTypeConf(EntryPoint entryPoint,
                           Class<?> clazz,
                           InternalRuleBase ruleBase)
Method Detail

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

getEntryPoint

public EntryPoint getEntryPoint()
Specified by:
getEntryPoint in interface ObjectTypeConf

isSupportsPropertyChangeListeners

public boolean isSupportsPropertyChangeListeners()
Specified by:
isSupportsPropertyChangeListeners in interface ObjectTypeConf


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.