public class HashMapFactImpl extends Object implements org.drools.core.facttemplates.Fact, org.drools.model.PrototypeFact
| Constructor and Description |
|---|
HashMapFactImpl(org.drools.core.facttemplates.FactTemplate factTemplate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int index) |
Object |
get(String name) |
long |
getFactId() |
org.drools.core.facttemplates.FactTemplate |
getFactTemplate() |
Object |
getFieldValue(int index) |
Object |
getFieldValue(String key) |
void |
set(int index,
Object value) |
void |
set(String name,
Object value) |
void |
setFieldValue(int index,
Object value) |
void |
setFieldValue(String key,
Object value) |
public HashMapFactImpl(org.drools.core.facttemplates.FactTemplate factTemplate)
public long getFactId()
getFactId in interface org.drools.core.facttemplates.Factpublic org.drools.core.facttemplates.FactTemplate getFactTemplate()
getFactTemplate in interface org.drools.core.facttemplates.Factpublic Object getFieldValue(int index)
getFieldValue in interface org.drools.core.facttemplates.Factpublic Object getFieldValue(String key)
getFieldValue in interface org.drools.core.facttemplates.Factpublic void setFieldValue(int index,
Object value)
setFieldValue in interface org.drools.core.facttemplates.Factpublic void setFieldValue(String key, Object value)
setFieldValue in interface org.drools.core.facttemplates.Factpublic Object get(int index)
get in interface org.drools.model.PrototypeFactpublic void set(String name, Object value)
set in interface org.drools.model.PrototypeFactpublic void set(int index,
Object value)
set in interface org.drools.model.PrototypeFactCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.