Class TypeDeclarationUtil.ClassDefinitionForModel

java.lang.Object
org.drools.base.factmodel.ClassDefinition
org.drools.modelcompiler.util.TypeDeclarationUtil.ClassDefinitionForModel
All Implemented Interfaces:
Externalizable, Serializable, FactType
Direct Known Subclasses:
TypeDeclarationUtil.AccessibleClassDefinition, TypeDeclarationUtil.DynamicClassDefinition
Enclosing class:
TypeDeclarationUtil

public static class TypeDeclarationUtil.ClassDefinitionForModel extends org.drools.base.factmodel.ClassDefinition
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.drools.base.factmodel.ClassDefinition

    org.drools.base.factmodel.ClassDefinition.TRAITING_MODE
  • Field Summary

    Fields inherited from class org.drools.base.factmodel.ClassDefinition

    fields
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    final org.drools.base.factmodel.FieldDefinition
    getField(String fieldName)
     

    Methods inherited from class org.drools.base.factmodel.ClassDefinition

    addAnnotation, addField, addInterface, addMetaData, addModifiedPropsByMethod, get, getAnnotation, getAnnotations, getClassAnnotations, getClassName, getDefinedClass, getFactClass, getField, getFieldByAlias, getFields, getFieldsDefinitions, getInterfaces, getMetaData, getMetaData, getModifiedPropsByMethod, getModifiedPropsByMethod, getName, getPackageName, getSimpleName, getSuperClass, isAbstrakt, isFullTraiting, isReactive, isTraitable, modifiedPropsByMethodKey, newInstance, readExternal, set, setAbstrakt, setClassName, setDefinedClass, setFromMap, setInterfaces, setSuperClass, setTraitable, setTraitable, toString, writeExternal

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ClassDefinitionForModel

      public ClassDefinitionForModel()
    • ClassDefinitionForModel

      public ClassDefinitionForModel(Class<?> cls)
  • Method Details

    • getField

      public final org.drools.base.factmodel.FieldDefinition getField(String fieldName)
      Specified by:
      getField in interface FactType
      Overrides:
      getField in class org.drools.base.factmodel.ClassDefinition
    • getAsMap

      public Map<String,Object> getAsMap(Object bean)
      Specified by:
      getAsMap in interface FactType
      Overrides:
      getAsMap in class org.drools.base.factmodel.ClassDefinition