Represents an organisation which is subordinate to another. This means that the parent org is an owner, in an administrative sense, of the subordinate organisation This link table is used for searching.

Group: Database Entities

Implements: Serializable


Properties

PropertyReturnsDescription
idLongGenerated primary key of the ownership link. Null until the record has been saved.
ownerOrganisationThe organisation that administers the subordinate, which is any organisation above it in the parent chain rather than only its immediate parent. Never null, and loaded lazily. Because a row exists for every ancestor, a search can test ownership without walking the tree.
suborgOrganisationThe organisation that is subordinate to the owner. Never null, and loaded lazily. One subordinate organisation has one of these rows for each of its ancestors.

Methods

getId()

Returns: Long

Generated primary key of the ownership link. Null until the record has been saved.

getOwner()

Returns: Organisation

The organisation that administers the subordinate, which is any organisation above it in the parent chain rather than only its immediate parent. Never null, and loaded lazily. Because a row exists for every ancestor, a search can test ownership without walking the tree.

getSuborg()

Returns: Organisation

The organisation that is subordinate to the owner. Never null, and loaded lazily. One subordinate organisation has one of these rows for each of its ancestors.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.