Class NullTraitType

java.lang.Object
org.drools.traits.core.factmodel.NullTraitType
All Implemented Interfaces:
Externalizable, Serializable, org.drools.base.factmodel.traits.Thing, org.drools.base.factmodel.traits.TraitType

public class NullTraitType extends Object implements org.drools.base.factmodel.traits.TraitType, org.drools.base.factmodel.traits.Thing, Externalizable
See Also:
  • Constructor Details

    • NullTraitType

      public NullTraitType()
    • NullTraitType

      public NullTraitType(BitSet code)
  • Method Details

    • _getTypeCode

      public BitSet _getTypeCode()
      Specified by:
      _getTypeCode in interface org.drools.base.factmodel.traits.TraitType
    • _isVirtual

      public boolean _isVirtual()
      Specified by:
      _isVirtual in interface org.drools.base.factmodel.traits.TraitType
    • _getTraitName

      public String _getTraitName()
      Specified by:
      _getTraitName in interface org.drools.base.factmodel.traits.TraitType
    • _hasTypeCode

      public boolean _hasTypeCode(BitSet typeCode)
      Specified by:
      _hasTypeCode in interface org.drools.base.factmodel.traits.TraitType
    • _setTypeCode

      public void _setTypeCode(BitSet typeCode)
    • getFields

      public Map<String,Object> getFields()
      Specified by:
      getFields in interface org.drools.base.factmodel.traits.Thing
    • getCore

      public Object getCore()
      Specified by:
      getCore in interface org.drools.base.factmodel.traits.Thing
    • isTop

      public boolean isTop()
      Specified by:
      isTop in interface org.drools.base.factmodel.traits.Thing
    • writeExternal

      public void writeExternal(ObjectOutput objectOutput) throws IOException
      Specified by:
      writeExternal in interface Externalizable
      Throws:
      IOException
    • readExternal

      public void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
      Specified by:
      readExternal in interface Externalizable
      Throws:
      IOException
      ClassNotFoundException