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.Fact
public org.drools.core.facttemplates.FactTemplate getFactTemplate()
getFactTemplate
in interface org.drools.core.facttemplates.Fact
public Object getFieldValue(int index)
getFieldValue
in interface org.drools.core.facttemplates.Fact
public Object getFieldValue(String key)
getFieldValue
in interface org.drools.core.facttemplates.Fact
public void setFieldValue(int index, Object value)
setFieldValue
in interface org.drools.core.facttemplates.Fact
public void setFieldValue(String key, Object value)
setFieldValue
in interface org.drools.core.facttemplates.Fact
public Object get(int index)
get
in interface org.drools.model.PrototypeFact
public void set(String name, Object value)
set
in interface org.drools.model.PrototypeFact
public void set(int index, Object value)
set
in interface org.drools.model.PrototypeFact
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.