Commit 9ecb0545 authored by Mathieu Gicquel's avatar Mathieu Gicquel
Browse files

move all classes related to associations to a specific package - Fix #20

parent a1d0a9ed
package fr.alma.gtd.server.main.donnees;
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IContext;
import fr.alma.gtd.server.core.ITask;
import fr.alma.gtd.server.core.MultipleReference;
......@@ -7,10 +8,10 @@ import java.util.ArrayList;
import java.util.List;
public class ReferenceContextToTasks implements MultipleReference<ITask> {
Context c;
IContext c;
List<ITask> tasks;
public ReferenceContextToTasks(Context c) {
public ReferenceContextToTasks(IContext c) {
this.c = c;
tasks = new ArrayList<>();
}
......
package fr.alma.gtd.server.main.donnees;
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IProject;
import fr.alma.gtd.server.core.ITask;
import fr.alma.gtd.server.core.MultipleReference;
......@@ -7,10 +8,10 @@ import java.util.ArrayList;
import java.util.List;
public class ReferenceProjectToTask implements MultipleReference<ITask> {
Project p;
IProject p;
List<ITask> tasks;
public ReferenceProjectToTask(Project p) {
public ReferenceProjectToTask(IProject p) {
this.p = p;
this.tasks = new ArrayList<>();
}
......
package fr.alma.gtd.server.main.donnees;
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IParticipant;
import fr.alma.gtd.server.core.IProject;
import fr.alma.gtd.server.core.MultipleReference;
import fr.alma.gtd.server.persistence.data.Utilisateur;
import java.util.ArrayList;
import java.util.List;
......
package fr.alma.gtd.server.main.donnees;
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IContext;
import fr.alma.gtd.server.core.ITask;
import fr.alma.gtd.server.core.SingleReference;
public class ReferenceTaskToContext implements SingleReference<IContext> {
Task t;
ITask t;
IContext c;
public ReferenceTaskToContext(Task t) {
public ReferenceTaskToContext(ITask t) {
this.t = t;
}
......
package fr.alma.gtd.server.main.donnees;
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IProject;
import fr.alma.gtd.server.core.ITask;
......
package fr.alma.gtd.server.main.donnees;
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IProject;
import fr.alma.gtd.server.core.MultipleReference;
......
package fr.alma.gtd.server.main.donnees;
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IProject;
import fr.alma.gtd.server.core.ITag;
......
package fr.alma.gtd.server.main.donnees;
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IParticipant;
import fr.alma.gtd.server.core.SingleReference;
......
package fr.alma.gtd.server.persistence.data;
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IParticipant;
import fr.alma.gtd.server.core.IProject;
......
package fr.alma.gtd.server.main.donnees;
import fr.alma.gtd.server.core.*;
import fr.alma.gtd.server.core.reference.ReferenceContextToTasks;
import java.util.Date;
......
package fr.alma.gtd.server.main.donnees;
import fr.alma.gtd.server.core.*;
import fr.alma.gtd.server.core.reference.ReferenceProjectToTask;
import fr.alma.gtd.server.core.reference.ReferenceProjectToUser;
import fr.alma.gtd.server.core.reference.ReferenceToProjects;
import fr.alma.gtd.server.core.reference.ReferenceToUser;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
......
package fr.alma.gtd.server.main.donnees;
import fr.alma.gtd.server.core.*;
import fr.alma.gtd.server.core.reference.ReferenceTaskToContext;
import fr.alma.gtd.server.core.reference.ReferenceTaskToProject;
import fr.alma.gtd.server.core.reference.ReferenceToTags;
import fr.alma.gtd.server.core.reference.ReferenceToUser;
import javax.xml.registry.infomodel.User;
import java.util.Date;
import java.util.List;
......
......@@ -15,6 +15,7 @@ import javax.persistence.Table;
import fr.alma.gtd.server.core.IParticipant;
import fr.alma.gtd.server.core.IProject;
import fr.alma.gtd.server.core.MultipleReference;
import fr.alma.gtd.server.core.reference.ReferenceUserToProject;
import org.hibernate.annotations.GenericGenerator;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment