diff --git a/src/main/java/seedu/address/model/person/Recruiter.java b/src/main/java/seedu/address/model/person/Recruiter.java index 7797f0fb1c8..c893a16ce96 100644 --- a/src/main/java/seedu/address/model/person/Recruiter.java +++ b/src/main/java/seedu/address/model/person/Recruiter.java @@ -20,7 +20,7 @@ public Recruiter(Name name, Id id, Phone phone, Email email, Url url, Address ad this.oid = oid; } - public Id getOid() { + public Id getOrganizationId() { return oid; } diff --git a/src/main/java/seedu/address/storage/JsonAdaptedContact.java b/src/main/java/seedu/address/storage/JsonAdaptedContact.java index 68e2442fb86..868d764b37b 100644 --- a/src/main/java/seedu/address/storage/JsonAdaptedContact.java +++ b/src/main/java/seedu/address/storage/JsonAdaptedContact.java @@ -80,7 +80,7 @@ public JsonAdaptedContact(Contact source) { } else if (source.getType() == Type.RECRUITER) { status = ""; position = ""; - Id tmp = ((Recruiter) source).getOid(); + Id tmp = ((Recruiter) source).getOrganizationId(); oid = tmp == null ? null : tmp.value; }