private SingleFieldConstraintEBLeftSide visitSingleFieldConstraint(SingleFieldConstraintEBLeftSide sfexp) { SingleFieldConstraintEBLeftSide clone = new SingleFieldConstraintEBLeftSide(); clone.setConstraintValueType( sfexp.getConstraintValueType() ); clone.setExpressionLeftSide( (ExpressionFormLine) visit( sfexp.getExpressionLeftSide() ) ); clone.setExpressionValue( (ExpressionFormLine) visit( sfexp.getExpressionValue() ) ); clone.setFieldBinding( sfexp.getFieldBinding() ); clone.setFactType( sfexp.getFactType() ); clone.setFieldName( sfexp.getFieldName() ); clone.setFieldType( sfexp.getFieldType() ); clone.setOperator( sfexp.getOperator() ); for ( Map.Entry<String, String> entry : sfexp.getParameters().entrySet() ) { clone.setParameter( entry.getKey(), entry.getValue() ); } clone.setParent( sfexp.getParent() ); clone.setValue( sfexp.getValue() ); if ( sfexp.connectives != null ) { clone.connectives = new ConnectiveConstraint[sfexp.connectives.length]; for ( int i = 0; i < sfexp.connectives.length; i++ ) { clone.connectives[i] = (ConnectiveConstraint) visit( sfexp.connectives[i] ); } } return clone; }
private SingleFieldConstraintEBLeftSide visitSingleFieldConstraint(SingleFieldConstraintEBLeftSide sfexp) { SingleFieldConstraintEBLeftSide clone = new SingleFieldConstraintEBLeftSide(); clone.setConstraintValueType( sfexp.getConstraintValueType() ); clone.setExpressionLeftSide( (ExpressionFormLine) visit( sfexp.getExpressionLeftSide() ) ); clone.setExpressionValue( (ExpressionFormLine) visit( sfexp.getExpressionValue() ) ); clone.setFieldBinding( sfexp.getFieldBinding() ); clone.setFactType( sfexp.getFactType() ); clone.setFieldName( sfexp.getFieldName() ); clone.setFieldType( sfexp.getFieldType() ); clone.setOperator( sfexp.getOperator() ); for ( Map.Entry<String, String> entry : sfexp.getParameters().entrySet() ) { clone.setParameter( entry.getKey(), entry.getValue() ); } clone.setParent( sfexp.getParent() ); clone.setValue( sfexp.getValue() ); if ( sfexp.connectives != null ) { clone.connectives = new ConnectiveConstraint[sfexp.connectives.length]; for ( int i = 0; i < sfexp.connectives.length; i++ ) { clone.connectives[i] = (ConnectiveConstraint) visit( sfexp.connectives[i] ); } } return clone; }
SuggestionCompletionEngine.TYPE_STRING ); efl0sfc0p0.appendPart( ef0sfc0p0 ); sfc0p0.setExpressionLeftSide( efl0sfc0p0 ); SuggestionCompletionEngine.TYPE_STRING ); efl0sfc1p0.appendPart( ef0sfc1p0 ); sfc1p0.setExpressionLeftSide( efl0sfc1p0 ); SuggestionCompletionEngine.TYPE_STRING ); efl0sfc0p1.appendPart( ef0sfc0p1 ); sfc0p1.setExpressionLeftSide( efl0sfc0p1 ); SuggestionCompletionEngine.TYPE_STRING ); efl0sfc1p1.appendPart( ef0sfc1p1 ); sfc1p1.setExpressionLeftSide( efl0sfc1p1 );
ExpressionText eflhs0p0 = new ExpressionText( "eflhs0p0" ); eflhs0.appendPart( eflhs0p0 ); sfc0.setExpressionLeftSide( eflhs0 );