Package org.apache.isis.core.metamodel.facets.collections

Examples of org.apache.isis.core.metamodel.facets.collections.CollectionFacetAbstract


        final FieldOrderCache fieldOrderCache = null; // TODO: should provide a
                                                      // mock here?
        deserializer = new ObjectDeserializer(fieldOrderCache);

        final TestProxySpecification specification = system.getSpecification(Vector.class);
        specification.addFacet(new CollectionFacetAbstract(specification) {

            @Override
            public void init(final ObjectAdapter collection, final ObjectAdapter[] initData) {
                for (final ObjectAdapter element : initData) {
                    collectionOfUnderlying(collection).add(element.getObject());
View Full Code Here


        super.setUp();
        final FieldOrderCache fieldOrderCache = null; // TODO: should provide a mock here?
        deserializer = new ObjectDeserializer(fieldOrderCache);

        final TestProxySpecification specification = system.getSpecification(Vector.class);
        specification.addFacet(new CollectionFacetAbstract(specification) {

            @Override
            public void init(final ObjectAdapter collection, final ObjectAdapter[] initData) {
                for (final ObjectAdapter element : initData) {
                    collectionOfUnderlying(collection).add(element.getObject());
View Full Code Here

TOP

Related Classes of org.apache.isis.core.metamodel.facets.collections.CollectionFacetAbstract

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.