From a1f0ecbb6a2bea6aa214322c412af2f3c5ce124b Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Wed, 7 May 2014 17:33:13 +0200 Subject: Agent now extends Item, so they can have workflows. All traces of the old 'Entity' superclasses should be removed, including proxies and paths. Very large change, breaks API compatibility with CRISTAL 2.x. Fixes #135 --- src/main/java/com/c2kernel/collection/Parent2ChildCollection.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/c2kernel/collection/Parent2ChildCollection.java') diff --git a/src/main/java/com/c2kernel/collection/Parent2ChildCollection.java b/src/main/java/com/c2kernel/collection/Parent2ChildCollection.java index d59b613..814cca8 100644 --- a/src/main/java/com/c2kernel/collection/Parent2ChildCollection.java +++ b/src/main/java/com/c2kernel/collection/Parent2ChildCollection.java @@ -88,10 +88,10 @@ abstract public class Parent2ChildCollection impleme mMembers = newMembers; } - public boolean contains(int entityKey) { + public boolean contains(int sysKey) { for (Object name : mMembers.list) { CollectionMember element = (CollectionMember)name; - if (element.getEntityKey() == entityKey) + if (element.getSystemKey() == sysKey) return true; } return false; @@ -102,7 +102,7 @@ abstract public class Parent2ChildCollection impleme for (int i=0; i