Package org.drools.workbench.models.guided.dtable.shared.model

Examples of org.drools.workbench.models.guided.dtable.shared.model.BRLActionVariableColumn


        }
        return clone;
    }

    private BRLActionVariableColumn cloneVariable( BRLActionVariableColumn variable ) {
        BRLActionVariableColumn clone = new BRLActionVariableColumn( variable.getVarName(),
                                                                     variable.getFieldType(),
                                                                     variable.getFactType(),
                                                                     variable.getFactField() );
        clone.setHeader( variable.getHeader() );
        clone.setHideColumn( variable.isHideColumn() );
        clone.setWidth( variable.getWidth() );
        return clone;
    }
View Full Code Here


        brl1DefinitionAction1.addFieldValue( brl1DefinitionAction1FieldValue2 );
        brl1Definition.add( brl1DefinitionAction1 );
        brl1.setDefinition( brl1Definition );

        //Setup BRL column bindings
        BRLActionVariableColumn brl1Variable1 = new BRLActionVariableColumn( "$name",
                                                                             DataType.TYPE_STRING,
                                                                             "Person",
                                                                             "name" );
        brl1.getChildColumns().add( brl1Variable1 );
        BRLActionVariableColumn brl1Variable2 = new BRLActionVariableColumn( "$age",
                                                                             DataType.TYPE_NUMERIC_INTEGER,
                                                                             "Person",
                                                                             "age" );
        brl1.getChildColumns().add( brl1Variable2 );
View Full Code Here

        brl1DefinitionAction1.addFieldValue( brl1DefinitionAction1FieldValue2 );
        brl1Definition.add( brl1DefinitionAction1 );
        brl1.setDefinition( brl1Definition );

        //Setup BRL column bindings
        BRLActionVariableColumn brl1Variable1 = new BRLActionVariableColumn( "$name",
                                                                             DataType.TYPE_STRING,
                                                                             "Person",
                                                                             "name" );
        brl1.getChildColumns().add( brl1Variable1 );
        BRLActionVariableColumn brl1Variable2 = new BRLActionVariableColumn( "$age",
                                                                             DataType.TYPE_NUMERIC_INTEGER,
                                                                             "Person",
                                                                             "age" );
        brl1.getChildColumns().add( brl1Variable2 );
View Full Code Here

        brl1Definition.add( brl1DefinitionAction2 );

        brl1.setDefinition( brl1Definition );

        //Setup BRL column bindings
        BRLActionVariableColumn brl1Variable1 = new BRLActionVariableColumn( "$name",
                                                                             DataType.TYPE_STRING,
                                                                             "Person",
                                                                             "name" );
        brl1.getChildColumns().add( brl1Variable1 );
        BRLActionVariableColumn brl1Variable2 = new BRLActionVariableColumn( "$age",
                                                                             DataType.TYPE_NUMERIC_INTEGER,
                                                                             "Person",
                                                                             "age" );
        brl1.getChildColumns().add( brl1Variable2 );
View Full Code Here

        brl1Definition.add( brl1DefinitionAction1 );

        brl1.setDefinition( brl1Definition );

        //Setup BRL column bindings
        BRLActionVariableColumn brl1Variable1 = new BRLActionVariableColumn( "",
                                                                             DataType.TYPE_BOOLEAN );
        brl1.getChildColumns().add( brl1Variable1 );

        dtable.getActionCols().add( brl1 );
        dtable.setData( DataUtilities.makeDataLists( data ) );
View Full Code Here

                                                  "$age",
                                                  DataType.TYPE_NUMERIC_INTEGER ) );
        auf1.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf1 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$age",
                                                                       DataType.TYPE_NUMERIC_INTEGER,
                                                                       "Context",
                                                                       "age" ) );
        dt.getActionCols().add( brlAction1 );

        BRLActionColumn brlAction2 = new BRLActionColumn();
        ActionUpdateField auf2 = new ActionUpdateField( "x" );
        auf2.addFieldValue( new ActionFieldValue( "name",
                                                  "$name",
                                                  DataType.TYPE_STRING ) );
        auf2.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction2.getDefinition().add( auf2 );
        brlAction2.getChildColumns().add( new BRLActionVariableColumn( "$name",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "name" ) );
        dt.getActionCols().add( brlAction2 );
View Full Code Here

                                                  "$f1",
                                                  DataType.TYPE_STRING ) );
        auf1.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf1 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f1",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f1" ) );
        ActionUpdateField auf2 = new ActionUpdateField( "x" );
        auf2.addFieldValue( new ActionFieldValue( "f2",
                                                  "$f2",
                                                  DataType.TYPE_STRING ) );
        auf2.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf2 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f2",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f2" ) );

        ActionUpdateField auf3 = new ActionUpdateField( "x" );
        auf3.addFieldValue( new ActionFieldValue( "f3",
                                                  "$f3",
                                                  DataType.TYPE_STRING ) );
        auf3.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf3 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f3",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f3" ) );

        dt.getActionCols().add( brlAction1 );
View Full Code Here

                                                  "$f1",
                                                  DataType.TYPE_STRING ) );
        auf1.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf1 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f1",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f1" ) );
        ActionUpdateField auf2 = new ActionUpdateField( "x" );
        auf2.addFieldValue( new ActionFieldValue( "f2",
                                                  "$f2",
                                                  DataType.TYPE_STRING ) );
        auf2.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf2 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f2",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f2" ) );

        ActionUpdateField auf3 = new ActionUpdateField( "x" );
        auf3.addFieldValue( new ActionFieldValue( "f3",
                                                  "$f3",
                                                  DataType.TYPE_STRING ) );
        auf3.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf3 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f3",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f3" ) );

        dt.getActionCols().add( brlAction1 );
View Full Code Here

                                                  "$f1",
                                                  DataType.TYPE_STRING ) );
        auf1.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf1 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f1",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f1" ) );
        ActionUpdateField auf2 = new ActionUpdateField( "x" );
        auf2.addFieldValue( new ActionFieldValue( "f2",
                                                  "$f2",
                                                  DataType.TYPE_STRING ) );
        auf2.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf2 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f2",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f2" ) );

        ActionUpdateField auf3 = new ActionUpdateField( "x" );
        auf3.addFieldValue( new ActionFieldValue( "f3",
                                                  "$f3",
                                                  DataType.TYPE_STRING ) );
        auf3.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf3 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f3",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f3" ) );

        dt.getActionCols().add( brlAction1 );
View Full Code Here

                                                  "$f1",
                                                  DataType.TYPE_STRING ) );
        auf1.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf1 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f1",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f1" ) );
        ActionUpdateField auf2 = new ActionUpdateField( "x" );
        auf2.addFieldValue( new ActionFieldValue( "f2",
                                                  "$f2",
                                                  DataType.TYPE_STRING ) );
        auf2.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf2 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f2",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f2" ) );

        ActionUpdateField auf3 = new ActionUpdateField( "x" );
        auf3.addFieldValue( new ActionFieldValue( "f3",
                                                  "$f3",
                                                  DataType.TYPE_STRING ) );
        auf3.getFieldValues()[ 0 ].setNature( BaseSingleFieldConstraint.TYPE_TEMPLATE );

        brlAction1.getDefinition().add( auf3 );
        brlAction1.getChildColumns().add( new BRLActionVariableColumn( "$f3",
                                                                       DataType.TYPE_STRING,
                                                                       "Context",
                                                                       "f3" ) );

        dt.getActionCols().add( brlAction1 );
View Full Code Here

TOP

Related Classes of org.drools.workbench.models.guided.dtable.shared.model.BRLActionVariableColumn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.