|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FactField
A field from a declared fact type
Method Summary | |
---|---|
Object |
get(Object bean)
Returns the value of this field in the given fact. |
int |
getIndex()
|
String |
getName()
Returns the name of this field. |
Class<?> |
getType()
Returns the type of this field. |
boolean |
isKey()
Returns true if this field is a key field. |
void |
set(Object bean,
Object value)
Sets the value of this field in the given fact. |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Method Detail |
---|
Class<?> getType()
String getName()
boolean isKey()
void set(Object bean, Object value)
bean
- fact on which to set the field.value
- the value to set on the field.Object get(Object bean)
bean
- the fact from which the field will be read.
int getIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |