# ObjectPolicyConfigurationType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Definition of policy for a specific object type. It defines object template and similar settings that apply to the object alone. This policy settings apply to the object internal structure without regard to other objects.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
type | property QName | [0,1] |
subtype | property string | [0,1] |
objectTemplateRef | reference ObjectReferenceType | [1,1] | Reference to the template.
propertyConstraint | container PropertyConstraintType | [0,-1] | Definition of a property constraints.
oidNameBoundMode | property boolean | [0,1] | A mode in which OID and name of the specified object are the same.
conflictResolution | container ConflictResolutionType | [0,1] | How to resolve write-write conflicts on focal objects, i.
lifecycleStateModel | container LifecycleStateModelType | [0,1] | Specification of lifecycle states and state transitions.
applicablePolicies | container ApplicablePoliciesType | [0,1] | Specification of policies that are applicable to this object type.

- ### Items

  - #### type

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### subtype

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### objectTemplateRef

    Flags: RAM

    Multiplicity: [1,1]

    Reference to the template.

  - #### propertyConstraint

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Definition of a property constraints.

  - #### oidNameBoundMode

    Flags: RAM,runtime

    Multiplicity: [0,1]

    A mode in which OID and name of the specified object are the same.

  - #### conflictResolution

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How to resolve write-write conflicts on focal objects, i.e. if two threads modify given objects at once.

  - #### lifecycleStateModel

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Specification of lifecycle states and state transitions.

  - #### applicablePolicies

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Specification of policies that are applicable to this object type. This should refer to all applicable policies, not just those that are applied. The purpose is primarily for presentation purposes, so the user interface can present choice of all policies to the user.