BrFieldList Class
The class contains a list of BrField objects.
insertField
BrField insertField(String name)
BrField insertField(byte[] name)getField
BrField getField(String name)
BrField getField(byte[] name)updateField
void updateField(BrField brField)The updateField routine locates the field in the collection and copies the data into it. If the field in not present in the list, it is appended. If the BrField is returned by one of the insertField or getField functions, it is assumed the data has already been updated and no action is taken.
length
int length()length returns the number of fields in the collection.
clear
void clear()clear clears the data is fresh flag for all fields. When the API returns data from the Business Rules Server or one of the BrField.setData functions is called, a flag is set to indicate the data is fresh. The BrField.isNewData function returns the state of this flag. Between decision messages, clear is called after the client processes the returned data and before populating the next set of fields to send to the Business Rules Server.
reset
int reset()reset deletes all fields from the collection.