# Class: XmlCapabilityAssignment

## tibco.objectapi.de.XmlCapabilityAssignment

#### new XmlCapabilityAssignment()

Definition of a capability assignment, which is used to create or remove the assignment of a capability (iidentified by its GUID) to or from a resource (identified by its GUID). The capability assignment may also be qualified with the given qualifier value. Constructs a new XmlCapabilityAssignment.

The following features are supported:

- `Qualifier Set`
- `Capability Guid`
- `Qualifier`
- `Remove`
- `Resource Guid`

### Extends

- tibco.objectapi.common.organisation.XmlOrgModelVersion

### Members

#### capabilityGuid :string

Unique ID of the capability that is to be removed or assigned. This property holds the value of the 'Capability Guid' attribute.

##### Type:

- string

#### modelVersion :number

Major version number of the organization model in which an organization model entity resides. If not specified, the default value will be the latest version of the organization model. (Version numbers must be compatible with, and conform to, the OSGi version number schema. For Directory Engine, only the major part of the version number is significant.) This property holds the value of the 'Model Version' attribute.

##### Type:

- number

Overrides:
  - tibco.objectapi.common.organisation.XmlOrgModelVersion#modelVersion

#### qualifier :string

Qualifier value for the capability. This property holds the value of the 'Qualifier' attribute.

##### Type:

- string

#### qualifierSet :Array.<tibco.objectapi.de.QualifierSetType>

An optional collection of qualifying values. This overrides any qualifier attribute set on the parent element, allowing more than one value to be set. Multiple values will only be used for qualifiers of type "enumset". This property holds the value of the 'Qualifier Set' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.QualifierSetType>

#### remove :boolean

Boolean value indicating whether the capability is to be removed from (TRUE) or assigned to (FALSE) the specified resource. This property holds the value of the 'Remove' attribute.

##### Type:

- boolean

#### resourceGuid :string

Unique ID of the resource that the capabilty is to be removed from or assigned to. This property holds the value of the 'Resource Guid' attribute.

##### Type:

- string