public class ClassObjectTypeConf extends Object implements ObjectTypeConf, Externalizable
Modifier and Type | Field and Description |
---|---|
protected static Class<?>[] |
ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES |
Constructor and Description |
---|
ClassObjectTypeConf() |
ClassObjectTypeConf(EntryPointId entryPoint,
Class<?> clazz,
InternalKnowledgeBase kBase) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
determineTraitStatus() |
void |
enableTMS()
Enable TMS for this object type.
|
String |
getClassName() |
ObjectTypeNode |
getConcreteObjectTypeNode() |
EntryPointId |
getEntryPoint() |
long |
getExpirationOffset() |
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() |
String |
getTypeName() |
boolean |
isActive() |
boolean |
isAssignableFrom(Object object) |
boolean |
isDynamic() |
boolean |
isEvent() |
boolean |
isSupportsPropertyChangeListeners() |
boolean |
isTMSEnabled()
Whether or not, TMS is active for this object type.
|
boolean |
isTrait() |
boolean |
isTraitTMSEnabled() |
void |
readExternal(ObjectInput stream) |
void |
resetCache() |
void |
setExpirationOffset(long expirationOffset) |
String |
toString() |
void |
writeExternal(ObjectOutput stream) |
protected static final Class<?>[] ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES
public ClassObjectTypeConf()
public ClassObjectTypeConf(EntryPointId entryPoint, Class<?> clazz, InternalKnowledgeBase kBase)
public void readExternal(ObjectInput stream) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput stream) throws IOException
writeExternal
in interface Externalizable
IOException
public long getExpirationOffset()
public void setExpirationOffset(long expirationOffset)
public boolean isAssignableFrom(Object object)
isAssignableFrom
in interface ObjectTypeConf
public ObjectTypeNode getConcreteObjectTypeNode()
getConcreteObjectTypeNode
in interface ObjectTypeConf
public static String getPackageName(Class<?> clazz, Package pkg)
public boolean isTraitTMSEnabled()
isTraitTMSEnabled
in interface ObjectTypeConf
public void resetCache()
resetCache
in interface ObjectTypeConf
public ObjectTypeNode[] getObjectTypeNodes()
getObjectTypeNodes
in interface ObjectTypeConf
public boolean isActive()
isActive
in interface ObjectTypeConf
public boolean isEvent()
isEvent
in interface ObjectTypeConf
public boolean isTrait()
isTrait
in interface ObjectTypeConf
protected boolean determineTraitStatus()
public TypeDeclaration getTypeDeclaration()
getTypeDeclaration
in interface ObjectTypeConf
public boolean isDynamic()
isDynamic
in interface ObjectTypeConf
public boolean isTMSEnabled()
ObjectTypeConf
isTMSEnabled
in interface ObjectTypeConf
public void enableTMS()
ObjectTypeConf
enableTMS
in interface ObjectTypeConf
public EntryPointId getEntryPoint()
getEntryPoint
in interface ObjectTypeConf
public boolean isSupportsPropertyChangeListeners()
isSupportsPropertyChangeListeners
in interface ObjectTypeConf
public String getClassName()
public String getTypeName()
getTypeName
in interface ObjectTypeConf
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.