Package org.apache.cayenne.util

Examples of org.apache.cayenne.util.PersistentObjectList


            Accessor accessor, String reverseName) {
        super(owner, targetDescriptor, accessor, reverseName);
    }

    protected ValueHolder createValueHolder(Persistent relationshipOwner) {
        return new PersistentObjectList(relationshipOwner, getName());
    }
View Full Code Here


                    "ValueHolders for non-persistent objects are not supported.",
                    this,
                    object);
        }

        return new PersistentObjectList((Persistent) object, getName());
    }
View Full Code Here

                    "ValueHolders for non-persistent objects are not supported.",
                    this,
                    object);
        }

        return new PersistentObjectList((Persistent) object, getName());
    }
View Full Code Here

        ClientMtTable1 result = (ClientMtTable1) results.get(0);

        List<?> holder = result.getTable2ArrayDirect();
        assertNotNull(holder);
        assertTrue(holder instanceof PersistentObjectList);
        PersistentObjectList objectHolder = (PersistentObjectList) holder;
        assertFalse(objectHolder.isFault());
        assertEquals(2, objectHolder.size());
    }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.util.PersistentObjectList

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.