Examples of MutableBooleanValue


Examples of com.volantis.shared.metadata.value.mutable.MutableBooleanValue

        // check the created object
        final Set expectedSet = new HashSet();
        MutableStringValue stringValue = new MutableStringValueImpl();
        stringValue.setValue("First Value");
        expectedSet.add(stringValue.createImmutable());
        MutableBooleanValue booleanValue = new MutableBooleanValueImpl();
        booleanValue.setValue(Boolean.TRUE);
        expectedSet.add(booleanValue.createImmutable());
        booleanValue.setValue(Boolean.FALSE);
        expectedSet.add(booleanValue.createImmutable());
        stringValue.setValue("Fourth Value");
        expectedSet.add(stringValue.createImmutable());
        assertEquals(expectedSet, set.getContentsAsSet());

        final Object otherList = doRoundTrip(set);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.