Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6dd9b1df authored by Guillaume Thomazon's avatar Guillaume Thomazon
Browse files

Add stepIndex for better display in proxy

git-svn-id: https://scm.gforge.inria.fr/authscm/ycadoret/svn/gazelle/Maven/gazelle-proxy/trunk@34261 356b4b1a-1d2b-0410-8bf1-ffa24008f01e
parent f288ea52
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,9 @@ public class Step { ...@@ -30,6 +30,9 @@ public class Step {
@XmlElement(name = "id") @XmlElement(name = "id")
private int tmId; private int tmId;
@XmlElement
private int stepIndex;
@ManyToOne(fetch = FetchType.EAGER) @ManyToOne(fetch = FetchType.EAGER)
private TestInstance testInstance; private TestInstance testInstance;
...@@ -37,7 +40,7 @@ public class Step { ...@@ -37,7 +40,7 @@ public class Step {
private AbstractMessage message; private AbstractMessage message;
@ManyToMany @ManyToMany
@JoinTable(name="tm_step_sender") @JoinTable(name = "tm_step_sender")
private List<Configuration> senders; private List<Configuration> senders;
@Transient @Transient
...@@ -45,7 +48,7 @@ public class Step { ...@@ -45,7 +48,7 @@ public class Step {
private List<Integer> senderIds; private List<Integer> senderIds;
@ManyToMany @ManyToMany
@JoinTable(name="tm_step_receiver") @JoinTable(name = "tm_step_receiver")
private List<Configuration> receivers; private List<Configuration> receivers;
@Transient @Transient
...@@ -126,6 +129,14 @@ public class Step { ...@@ -126,6 +129,14 @@ public class Step {
this.receiverIds = receiverIds; this.receiverIds = receiverIds;
} }
public int getStepIndex() {
return stepIndex;
}
public void setStepIndex(int stepIndex) {
this.stepIndex = stepIndex;
}
@Override @Override
public int hashCode() { public int hashCode() {
final int prime = 31; final int prime = 31;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment