adding typology to organizations

This commit is contained in:
Claudio Atzori 2024-05-09 12:16:29 +02:00
parent 4a7e960409
commit 97df2e3c48
1 changed files with 13 additions and 0 deletions

View File

@ -6,6 +6,10 @@ import java.util.List;
public class Organization extends OafEntity implements Serializable {
enum OrganizationType {
Archive, Company, Education, Facility, Government, Healthcare, Nonprofit, Other, Unknown
}
private static final long serialVersionUID = -9048723860770504113L;
private Field<String> legalshortname;
@ -40,6 +44,8 @@ public class Organization extends OafEntity implements Serializable {
private Qualifier country;
private OrganizationType organizationType;
public Field<String> getLegalshortname() {
return legalshortname;
}
@ -169,4 +175,11 @@ public class Organization extends OafEntity implements Serializable {
this.country = country;
}
public OrganizationType getOrganizationType() {
return organizationType;
}
public void setOrganizationType(OrganizationType organizationType) {
this.organizationType = organizationType;
}
}