This is an automated email from the git hooks/post-receive script. New commit to branch feature/7017 in repository observe. See http://git.codelutin.com/observe.git commit 4b770be9c4b6fd62e2ab78cb8e383dd07a852a7e Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon May 4 07:58:07 2015 +0200 remove EntityAssociation (refs #7017) --- .../fr/ird/observe/services/EntityAssociation.java | 39 ---------------------- 1 file changed, 39 deletions(-) diff --git a/observe-services/src/main/java/fr/ird/observe/services/EntityAssociation.java b/observe-services/src/main/java/fr/ird/observe/services/EntityAssociation.java deleted file mode 100644 index bac1fa9..0000000 --- a/observe-services/src/main/java/fr/ird/observe/services/EntityAssociation.java +++ /dev/null @@ -1,39 +0,0 @@ -package fr.ird.observe.services; - -import org.nuiton.topia.persistence.TopiaEntity; - -import java.util.ArrayList; -import java.util.Collection; - -/** - * Represents an entity with one of his association. - * - * Created on 4/28/15. - * - * @author Tony Chemit - chemit@codelutin.com - * @since 4.0 - */ -public class EntityAssociation<P extends TopiaEntity, C extends TopiaEntity> { - - protected final P parentEntity; - - protected final Collection<C> childEntities; - - public EntityAssociation(P parentEntity) { - this.parentEntity = parentEntity; - this.childEntities = new ArrayList<C>(); - } - - public P getParentEntity() { - return parentEntity; - } - - public Collection<C> getChildEntities() { - return childEntities; - } - - public void addChildEntity(C entity) { - childEntities.add(entity); - } - -} -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.