Class ClassObjectTypeConf

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, ObjectTypeConf

    public class ClassObjectTypeConf
    extends java.lang.Object
    implements ObjectTypeConf, java.io.Externalizable
    See Also:
    Serialized Form
    • Field Detail

      • ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES

        protected static final java.lang.Class<?>[] ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES
    • Constructor Detail

      • ClassObjectTypeConf

        public ClassObjectTypeConf()
      • ClassObjectTypeConf

        public ClassObjectTypeConf​(org.drools.base.rule.EntryPointId entryPoint,
                                   java.lang.Class<?> clazz,
                                   InternalRuleBase ruleBase)
    • Method Detail

      • readExternal

        public void readExternal​(java.io.ObjectInput stream)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput stream)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
      • getExpirationOffset

        public long getExpirationOffset()
      • setExpirationOffset

        public void setExpirationOffset​(long expirationOffset)
      • 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).
      • 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
      • getClassName

        public java.lang.String getClassName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object