public class NullTraitType extends Object implements org.drools.core.factmodel.traits.TraitType, org.drools.core.factmodel.traits.Thing, Externalizable
| Constructor and Description |
|---|
NullTraitType() |
NullTraitType(BitSet code) |
| Modifier and Type | Method and Description |
|---|---|
String |
_getTraitName() |
BitSet |
_getTypeCode() |
boolean |
_hasTypeCode(BitSet typeCode) |
boolean |
_isVirtual() |
void |
_setTypeCode(BitSet typeCode) |
Object |
getCore() |
Map<String,Object> |
getFields() |
boolean |
isTop() |
void |
readExternal(ObjectInput objectInput) |
void |
writeExternal(ObjectOutput objectOutput) |
public NullTraitType()
public NullTraitType(BitSet code)
public BitSet _getTypeCode()
_getTypeCode in interface org.drools.core.factmodel.traits.TraitTypepublic boolean _isVirtual()
_isVirtual in interface org.drools.core.factmodel.traits.TraitTypepublic String _getTraitName()
_getTraitName in interface org.drools.core.factmodel.traits.TraitTypepublic boolean _hasTypeCode(BitSet typeCode)
_hasTypeCode in interface org.drools.core.factmodel.traits.TraitTypepublic void _setTypeCode(BitSet typeCode)
public Map<String,Object> getFields()
getFields in interface org.drools.core.factmodel.traits.Thingpublic Object getCore()
getCore in interface org.drools.core.factmodel.traits.Thingpublic boolean isTop()
isTop in interface org.drools.core.factmodel.traits.Thingpublic void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.