|
@@ -7,6 +7,7 @@ package scot.carricksoftware.grants.commands.census;
|
|
|
|
|
|
import scot.carricksoftware.grants.domains.census.Census;
|
|
import scot.carricksoftware.grants.domains.census.Census;
|
|
import scot.carricksoftware.grants.domains.people.Person;
|
|
import scot.carricksoftware.grants.domains.people.Person;
|
|
|
|
+import scot.carricksoftware.grants.enums.censusentry.CensusEntryRelationship;
|
|
|
|
|
|
public class CensusEntryCommandImpl implements CensusEntryCommand {
|
|
public class CensusEntryCommandImpl implements CensusEntryCommand {
|
|
|
|
|
|
@@ -18,6 +19,8 @@ public class CensusEntryCommandImpl implements CensusEntryCommand {
|
|
|
|
|
|
private Person person;
|
|
private Person person;
|
|
|
|
|
|
|
|
+ private CensusEntryRelationship relationship;
|
|
|
|
+
|
|
public Long getId() {
|
|
public Long getId() {
|
|
return id;
|
|
return id;
|
|
}
|
|
}
|
|
@@ -55,4 +58,14 @@ public class CensusEntryCommandImpl implements CensusEntryCommand {
|
|
public void setPerson(Person person) {
|
|
public void setPerson(Person person) {
|
|
this.person = person;
|
|
this.person = person;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public CensusEntryRelationship getRelationship() {
|
|
|
|
+ return relationship;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public void setRelationship(CensusEntryRelationship relationship) {
|
|
|
|
+ this.relationship = relationship;
|
|
|
|
+ }
|
|
}
|
|
}
|