Commit 4002f1d8 authored by Mathieu Gicquel's avatar Mathieu Gicquel
Browse files

Moved MultipleReference and SingleReference - Fix #20

parent 178128e1
package fr.alma.gtd.server.core;
import fr.alma.gtd.server.core.reference.MultipleReference;
/**
* Interface representing the contexts of a task or the default context of a project.
* author Nobody
......
package fr.alma.gtd.server.core;
import fr.alma.gtd.server.core.reference.MultipleReference;
/**
* Interface representing a participant.
* author Nobody
......
package fr.alma.gtd.server.core;
import fr.alma.gtd.server.core.reference.MultipleReference;
import java.util.ArrayList;
import java.util.List;
......
package fr.alma.gtd.server.core;
import fr.alma.gtd.server.core.reference.MultipleReference;
import fr.alma.gtd.server.core.reference.SingleReference;
import java.util.Date;
import java.util.List;
......
......@@ -2,7 +2,6 @@ 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;
import java.util.ArrayList;
import java.util.List;
......
......@@ -2,7 +2,6 @@ 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;
import java.util.ArrayList;
import java.util.List;
......
......@@ -2,7 +2,6 @@ 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 java.util.ArrayList;
import java.util.List;
......
......@@ -2,7 +2,6 @@ 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> {
ITask t;
......
......@@ -2,7 +2,6 @@ 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.SingleReference;
public class ReferenceTaskToProject implements SingleReference<IProject> {
ITask t;
......
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IProject;
import fr.alma.gtd.server.core.MultipleReference;
import java.util.ArrayList;
import java.util.List;
......
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.ITag;
import fr.alma.gtd.server.core.MultipleReference;
import java.util.ArrayList;
import java.util.List;
......
package fr.alma.gtd.server.core.reference;
import fr.alma.gtd.server.core.IParticipant;
import fr.alma.gtd.server.core.SingleReference;
public class ReferenceToUser implements SingleReference<IParticipant> {
IParticipant p;
......
......@@ -2,7 +2,6 @@ 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 java.util.ArrayList;
import java.util.List;
......
package fr.alma.gtd.server.main.donnees;
import fr.alma.gtd.server.core.*;
import fr.alma.gtd.server.core.reference.MultipleReference;
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 fr.alma.gtd.server.core.reference.*;
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 fr.alma.gtd.server.core.reference.*;
import java.util.Date;
import java.util.List;
......
......@@ -9,6 +9,7 @@ import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import fr.alma.gtd.server.core.reference.MultipleReference;
import org.hibernate.annotations.GenericGenerator;
import fr.alma.gtd.server.core.*;
......
......@@ -8,6 +8,7 @@ import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import fr.alma.gtd.server.core.reference.MultipleReference;
import org.hibernate.annotations.GenericGenerator;
import fr.alma.gtd.server.core.*;
......
Supports Markdown
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