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 |
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 ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput stream) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic boolean isAssignableFrom(Object object)
isAssignableFrom in interface ObjectTypeConfpublic long getExpirationOffset()
public void setExpirationOffset(long expirationOffset)
public ObjectTypeNode getConcreteObjectTypeNode()
getConcreteObjectTypeNode in interface ObjectTypeConfpublic static String getPackageName(Class<?> clazz, Package pkg)
public boolean isTraitTMSEnabled()
isTraitTMSEnabled in interface ObjectTypeConfpublic void resetCache()
resetCache in interface ObjectTypeConfpublic ObjectTypeNode[] getObjectTypeNodes()
getObjectTypeNodes in interface ObjectTypeConfpublic boolean isActive()
isActive in interface ObjectTypeConfpublic boolean isEvent()
isEvent in interface ObjectTypeConfpublic boolean isTrait()
isTrait in interface ObjectTypeConfprotected boolean determineTraitStatus()
public TypeDeclaration getTypeDeclaration()
getTypeDeclaration in interface ObjectTypeConfpublic boolean isDynamic()
isDynamic in interface ObjectTypeConfpublic boolean isTMSEnabled()
ObjectTypeConfisTMSEnabled in interface ObjectTypeConfpublic void enableTMS()
ObjectTypeConfenableTMS in interface ObjectTypeConfpublic EntryPointId getEntryPoint()
getEntryPoint in interface ObjectTypeConfpublic String getClassName()
public String getTypeName()
getTypeName in interface ObjectTypeConfCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.