# Class: XmlEntityMapping

## tibco.objectapi.de.XmlEntityMapping

#### new XmlEntityMapping()

Definition of a target organization model entity (a position or group) and the resources that are to be mapped to (created) or removed from it. A collection of these elements form the request to the MapEntities operation in the Mapping service. Constructs a new XmlEntityMapping.

The following features are supported:

- `Target`
- `Create`
- `Remove`

### Members

#### create :Array.<tibco.objectapi.de.XmlLdapEntity>

Details of the resources to be mapped to the target organization model entity. A new resource will be created if no existing resource can be found for the specified organization model guid or LDAP entry identifier (ldap-dn). This property holds the value of the 'Create' containment reference list.

##### Type:

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

#### remove :Array.<tibco.objectapi.common.organisation.XmlModelEntityId>

Details of the resources to be removed from the target organization model entity. This property holds the value of the 'Remove' containment reference list.

##### Type:

- Array.<tibco.objectapi.common.organisation.XmlModelEntityId>

#### target :tibco.objectapi.common.organisation.XmlModelEntityId

Target organization model entity (a position or group) to which resources should be mapped (created), or from which they should or removed. This property holds the value of the 'Target' containment reference.

##### Type:

- tibco.objectapi.common.organisation.XmlModelEntityId