Skip to content
Snippets Groups Projects
Verified Commit fe8bd6f8 authored by Michaël El Kharroubi's avatar Michaël El Kharroubi :satellite:
Browse files

Merge branch 'gui-mq' of ssh://ssh.hesge.ch:10572/pirkl-poo-2018/tp-4 into gui-mq

parents 330e9bd2 40b4a0eb
Branches
No related tags found
2 merge requests!21*poof* final version,!17Gui mq
...@@ -27,6 +27,22 @@ public class JoinedJourney implements Serializable{ ...@@ -27,6 +27,22 @@ public class JoinedJourney implements Serializable{
this.sections = new ArrayList<>(sections); this.sections = new ArrayList<>(sections);
} }
/**
* Returns the user
* @return the user
*/
public User getUser(){
return user;
}
/**
* Returns the list of sections of this journey.
* @return the list of sections of this journey
*/
public List<Section> getSections(){
return new ArrayList<>(sections);
}
@Override @Override
public String toString() { public String toString() {
// TODO // TODO
......
...@@ -27,6 +27,22 @@ public class LeftJourney implements Serializable { ...@@ -27,6 +27,22 @@ public class LeftJourney implements Serializable {
this.sections = new ArrayList<>(sections); this.sections = new ArrayList<>(sections);
} }
/**
* Returns the user
* @return the user
*/
public User getUser(){
return user;
}
/**
* Returns the list of sections of this journey.
* @return the list of sections of this journey
*/
public List<Section> getSections(){
return new ArrayList<>(sections);
}
@Override @Override
public String toString() { public String toString() {
// TODO // TODO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment