# Class: XmlOrgUnit

## tibco.objectapi.de.base.XmlOrgUnit

#### new XmlOrgUnit()

Describes an organization model organization unit and the associated entities. Constructs a new XmlOrgUnit.

The following features are supported:

- `Extension Point`
- `Instance Id Attr`
- `Position`
- `Org Unit`
- `Dynamic`
- `Extension Point1`

### Extends

- tibco.objectapi.de.base.XmlBaseOrgUnit

### Members

#### allocationMethod :tibco.objectapi.de.base.XmlSelectionMode

Describes the method of work allocation for this organization unit. This property holds the value of the 'Allocation Method' containment reference.

##### Type:

- tibco.objectapi.de.base.XmlSelectionMode

Inherited From:
  - tibco.objectapi.de.base.XmlBaseOrgUnit#allocationMethod

#### attribute :Array.<tibco.objectapi.de.base.XmlOrgAttributeValue>

Names an attribute assigned to this organization unit, and gives the definition for that attribute. Attributes can only be assigned to an organization unit if it has a schema-type. This property holds the value of the 'Attribute' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.base.XmlOrgAttributeValue>

Inherited From:
  - tibco.objectapi.de.base.XmlBaseOrgUnit#attribute

#### calendarAlias :string

The alias of the calendar that this org-unit will use for deadline calculations. This information is only included if requested as part of the request parameters. This property holds the value of the 'Calendar Alias' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.base.XmlBaseOrgUnit#calendarAlias

#### dynamic :boolean

Returns true if this entity was dynamically generated as a result of an Organisational Model Extension Point; rather than part of an org-model deployment. This property holds the value of the 'Dynamic' attribute.

##### Type:

- boolean

#### extensionPoint :tibco.objectapi.de.base.XmlExtensionPointSetting

Marks this entity as being an Organisation Extension Point; and provides the configuration details of that Extension Point. This property holds the value of the 'Extension Point' containment reference.

##### Type:

- tibco.objectapi.de.base.XmlExtensionPointSetting

#### extensionPoint1 :boolean

Only used in the org-model drill-down API. Returns true if this Org-Unit has been designated as an Extension Point. This property holds the value of the 'Extension Point1' attribute.

##### Type:

- boolean

#### guid :string

The GUID that uniquely identifies the entity. This property holds the value of the 'Guid' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.base.XmlModelEntity#guid

#### instanceIdAttr :Array.<tibco.objectapi.de.base.XmlModelInstanceIdValue>

Only used for Dynamic Model-Template instances. Makes up one element of the Model-Template Identity; each element being a named attribute linked to a named LDAP attribute. These elements are only included for the root org-unit of a Model-Template instance. This property holds the value of the 'Instance Id Attr' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.base.XmlModelInstanceIdValue>

#### label :string

The optional label assigned to the entity. This is used for display purposes. If not given, the name is used for display. This property holds the value of the 'Label' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.base.XmlModelEntity#label

#### locationRef :tibco.objectapi.de.base.XmlModelEntity

Identifies the location to which this organization unit is associated. This property holds the value of the 'Location Ref' containment reference.

##### Type:

- tibco.objectapi.de.base.XmlModelEntity

Inherited From:
  - tibco.objectapi.de.base.XmlBaseOrgUnit#locationRef

#### name :string

The name assigned to the entity. This property holds the value of the 'Name' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.base.XmlModelEntity#name

#### orgUnit :Array.<tibco.objectapi.de.base.XmlOrgUnit>

Describes the organization units contained within this organization unit (the sub-organization units). Each organization unit described may have further sub-organization units. This property holds the value of the 'Org Unit' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.base.XmlOrgUnit>

#### position :Array.<tibco.objectapi.de.base.XmlPosition>

Describes the positions contained within this organization unit. This property holds the value of the 'Position' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.base.XmlPosition>

#### privilegeHolding :Array.<tibco.objectapi.de.base.XmlEntityAssignmentQualified>

Identifies the privileges held by this organization unit, and any qualifier values that may apply. This property holds the value of the 'Privilege Holding' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.base.XmlEntityAssignmentQualified>

Inherited From:
  - tibco.objectapi.de.base.XmlBaseOrgUnit#privilegeHolding

#### pushDestination :Array.<tibco.objectapi.de.base.XmlPushDestination>

Describes a push destination used to push work items to resources. This property holds the value of the 'Push Destination' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.base.XmlPushDestination>

Inherited From:
  - tibco.objectapi.de.base.XmlBaseOrgUnit#pushDestination

#### schemaType :tibco.objectapi.de.base.XmlModelEntity

Describes the organization model schema type from which this organization unit is derived. This is an optional element, as an org-unit need not be derived from a schema type. This property holds the value of the 'Schema Type' containment reference.

##### Type:

- tibco.objectapi.de.base.XmlModelEntity

Inherited From:
  - tibco.objectapi.de.base.XmlBaseOrgUnit#schemaType