Lightweight, read-only snapshot of an organisation type (OrgType), exposed to GraalJS and used wherever an organisation's assigned types are listed or reported on. Produced by OrganisationManager.getSelectedOrgTypes, which builds a list of these beans from an organisation's org type assignments.
Properties
| Property | Returns | Description |
|---|---|---|
| displayName | String | Human-readable label for the organisation type, shown to users on the registration form. May be null if the bean has not been populated. |
| id | long | Database identifier of the underlying organisation type. Zero for a bean that has not been populated from a persisted OrgType. |
| name | String | Machine-readable name of the organisation type, matched against org type names in the orgs upload spreadsheet. May be null if the bean has not been populated. |
Methods
getId()
Returns: long
Database identifier of the underlying organisation type. Zero for a bean that has not been populated from a persisted OrgType.
getName()
Returns: String
Machine-readable name of the organisation type, matched against org type names in the orgs upload spreadsheet. May be null if the bean has not been populated.
getDisplayName()
Returns: String
Human-readable label for the organisation type, shown to users on the registration form. May be null if the bean has not been populated.