BRLActionColumn brl1 = new BRLActionColumn();
//BRL Column definition
List<IAction> brl1Definition = new ArrayList<IAction>();
ActionInsertFact brl1DefinitionAction1 = new ActionInsertFact( "Baddie" );
ActionFieldValue brl1DefinitionAction1FieldValue1 = new ActionFieldValue( "name",
"Gargamel",
DataType.TYPE_STRING );
brl1DefinitionAction1FieldValue1.setNature( BaseSingleFieldConstraint.TYPE_LITERAL );
brl1DefinitionAction1.addFieldValue( brl1DefinitionAction1FieldValue1 );
brl1Definition.add( brl1DefinitionAction1 );
ActionInsertFact brl1DefinitionAction2 = new ActionInsertFact( "Smurf" );
ActionFieldValue brl1DefinitionAction2FieldValue1 = new ActionFieldValue( "name",
"$name",
DataType.TYPE_STRING );
brl1DefinitionAction2FieldValue1.setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );
brl1DefinitionAction2.addFieldValue( brl1DefinitionAction2FieldValue1 );
ActionFieldValue brl1DefinitionAction2FieldValue2 = new ActionFieldValue( "age",
"$age",
DataType.TYPE_NUMERIC_INTEGER );
brl1DefinitionAction2FieldValue2.setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );
brl1DefinitionAction2.addFieldValue( brl1DefinitionAction2FieldValue2 );
brl1Definition.add( brl1DefinitionAction2 );
brl1.setDefinition( brl1Definition );