org.drools.factmodel.traits
Class NullTraitType

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

public class NullTraitType
extends Object
implements TraitType, Thing, Externalizable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.drools.factmodel.traits.TraitType
traitNameField
 
Constructor Summary
NullTraitType()
           
NullTraitType(BitSet code)
           
 
Method Summary
 Object getCore()
           
 Map<String,Object> getFields()
           
 String getTraitName()
           
 BitSet getTypeCode()
           
 boolean isTop()
           
 boolean isVirtual()
           
 void readExternal(ObjectInput objectInput)
           
 void setTypeCode(BitSet typeCode)
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullTraitType

public NullTraitType()

NullTraitType

public NullTraitType(BitSet code)
Method Detail

getTypeCode

public BitSet getTypeCode()
Specified by:
getTypeCode in interface TraitType

isVirtual

public boolean isVirtual()
Specified by:
isVirtual in interface TraitType

getTraitName

public String getTraitName()
Specified by:
getTraitName in interface TraitType

setTypeCode

public void setTypeCode(BitSet typeCode)

getFields

public Map<String,Object> getFields()
Specified by:
getFields in interface Thing

getCore

public Object getCore()
Specified by:
getCore in interface Thing

isTop

public boolean isTop()
Specified by:
isTop in interface 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


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.