public interface FactField extends Externalizable
Modifier and Type | Method and Description |
---|---|
Object |
get(Object bean) |
List<Annotation> |
getFieldAnnotations()
Returns the list of field-level annotations
used in this field definition
|
int |
getIndex()
Returns the index of this field in the field list for
the defining fact type.
|
Map<String,Object> |
getMetaData()
Returns the annotations of this field definition as
key-value pairs.
|
String |
getName() |
Class<?> |
getType() |
boolean |
isKey() |
void |
set(Object bean,
Object value)
Sets the value of this field in the given fact.
|
readExternal, writeExternal
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()
List<Annotation> getFieldAnnotations()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.