站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

Fact (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.facttemplates
Interface Fact

All Known Implementing Classes:
FactImpl

public interface Fact

Author:
Peter Lin Base interface for Facts

Method Summary
 long getFactId()
          Return the unique ID for the fact
 FactTemplate getFactTemplate()
          Return the Deftemplate for the fact
 Object getFieldValue(int index)
          Return the value at the given field index
 Object getFieldValue(String name)
           
 void setFieldValue(int index, Object value)
           
 void setFieldValue(String name, Object value)
           
 

Method Detail

getFieldValue

Object getFieldValue(int index)
Return the value at the given field index

Parameters:
id -
Returns:

getFieldValue

Object getFieldValue(String name)

setFieldValue

void setFieldValue(String name,
                   Object value)

setFieldValue

void setFieldValue(int index,
                   Object value)

getFactId

long getFactId()
Return the unique ID for the fact

Returns:

getFactTemplate

FactTemplate getFactTemplate()
Return the Deftemplate for the fact

Returns:


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.