Package org.drools.guvnor.models.commons.shared.rule

Examples of org.drools.guvnor.models.commons.shared.rule.DSLComplexVariableValue


        DSLSentence dslSentence = (DSLSentence) unmarshalledModel.lhs[ 0 ];
        assertEquals( dslDefinition, dslSentence.getDefinition() );
        assertEquals( 1, dslSentence.getValues().size() );
        assertTrue( dslSentence.getValues().get( 0 ) instanceof DSLComplexVariableValue );
        DSLComplexVariableValue dslComplexVariableValue = (DSLComplexVariableValue) dslSentence.getValues().get( 0 );
        assertEquals( "AA", dslComplexVariableValue.getValue() );
        assertEquals( "ENUM:Applicant.creditRating", dslComplexVariableValue.getId() );

        assertEqualsIgnoreWhitespace( expected, brlPersistence.marshal( unmarshalledModel ) );
    }
View Full Code Here

TOP

Related Classes of org.drools.guvnor.models.commons.shared.rule.DSLComplexVariableValue

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.