Add copy constructor in stakeholder class.
This commit is contained in:
parent
8eb99c8ae1
commit
54f9ebb9ce
|
@ -17,6 +17,10 @@ public class Stakeholder extends StakeholderGeneric<String> {
|
|||
super();
|
||||
}
|
||||
|
||||
public Stakeholder(Stakeholder stakeholder) {
|
||||
super(stakeholder);
|
||||
}
|
||||
|
||||
public Stakeholder(StakeholderFull stakeholder) {
|
||||
super(stakeholder);
|
||||
this.topics = stakeholder.getTopics().stream().map(Common::getId).collect(Collectors.toList());
|
||||
|
|
Loading…
Reference in New Issue