Class NullTraitType

  • All Implemented Interfaces:
    Externalizable, Serializable, org.drools.core.factmodel.traits.Thing, org.drools.core.factmodel.traits.TraitType

    public class NullTraitType
    extends Object
    implements org.drools.core.factmodel.traits.TraitType, org.drools.core.factmodel.traits.Thing, Externalizable
    See Also:
    Serialized Form
    • Constructor Detail

      • NullTraitType

        public NullTraitType()
      • NullTraitType

        public NullTraitType​(BitSet code)
    • Method Detail

      • _getTypeCode

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

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

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

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

        public void _setTypeCode​(BitSet typeCode)
      • getFields

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

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

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