Package org.apache.isis.objectstore.sql

Examples of org.apache.isis.objectstore.sql.CollectionMapper


    @Override
    public boolean saveCollection(final DatabaseConnector connection, final ObjectAdapter parent, final String fieldName) {
        int i = 0;
        for (final String collectionFieldName : collectionMapperFields) {
            if (collectionFieldName.equals(fieldName)) {
                final CollectionMapper fieldMapper = collectionMappers[i];
                fieldMapper.saveInternalCollection(connection, parent);
                return true;
            }
            i++;
        }
        return false;
View Full Code Here


                    // collectionMappers[collectionFieldNo] = new
                    // ForeignKeyCollectionMapper(oneToManyProperties[collectionFieldNo],
                    // parameterBase, lookup,
                    // objectMapperLookup);

                    CollectionMapper collectionMapper = null;

                    // Trying to detect recursion, here.
                    // Let ForeignKeyInChildCollectionMapper find itself when a
                    // field is a collection of the current
                    // field type.
View Full Code Here

TOP

Related Classes of org.apache.isis.objectstore.sql.CollectionMapper

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.