Package org.drools.core.facttemplates
Class FactImpl
- java.lang.Object
-
- org.drools.core.facttemplates.FactImpl
-
- All Implemented Interfaces:
Externalizable,Serializable,Fact
public class FactImpl extends Object implements Fact, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FactImpl()FactImpl(FactTemplate template)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()booleanequals(Object o)Objectget(String name)FactTemplategetFactTemplate()Return the deftemplate for the factinthashCode()voidreadExternal(ObjectInput in)voidset(String name, Object value)voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
FactImpl
public FactImpl()
-
FactImpl
public FactImpl(FactTemplate template)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getFactTemplate
public FactTemplate getFactTemplate()
Return the deftemplate for the fact- Specified by:
getFactTemplatein interfaceFact
-
-