Merge pull request 'Organizations types' (#32) from org_type into master
Reviewed-on: #32
This commit is contained in:
commit
9eaad49a2e
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue