public interface FactType extends Externalizable
Modifier and Type | Method and Description |
---|---|
Object |
get(Object bean,
String field)
get the value of the specified field on the dynamic fact.
|
Map<String,Object> |
getAsMap(Object bean)
Get a map of the fields and their values for the bean.
|
Class<?> |
getFactClass() |
FactField |
getField(String name) |
List<FactField> |
getFields() |
String |
getName() |
Object |
newInstance()
Create a new fact based on the declared fact type.
|
void |
set(Object bean,
String field,
Object value)
Set the value of the field on a dynamic fact.
|
void |
setFromMap(Object bean,
Map<String,Object> values)
Set the values of the bean from a map.
|
readExternal, writeExternal
String getName()
Class<?> getFactClass()
Object newInstance() throws InstantiationException, IllegalAccessException
Map<String,Object> getAsMap(Object bean)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.