# OidWorkSegmentationType (Complex Type)

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

Supertype: StringWorkSegmentationType
Work state management strategy that divides the processing space into a number of buckets based on OID values. When specified, it provides default values of discriminator=#, boundaryCharacters=0-9a-f.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
discriminator | property ItemPathType | [0,1] | Item or OID whose values will used to divide objects into buckets - if applicable.
matchingRule | property anyURI | [0,1] | Matching rule to be applied when creating filters - if applicable.
numberOfBuckets | property int | [0,1] | Configurable number of buckets.
boundaryCharacters | property string | [0,-1] | Characters that make up the boundaries.
depth | property int | [0,1] | If a value N greater than 1 is specified here, boundaryCharacters values are repeated N times (if values of V1, V2, .
comparisonMethod | property StringWorkBucketsBoundaryMarkingType | [0,1] | Whether to use intervals, prefixes or exact value match.

- ### Items

  - #### discriminator

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Item or OID whose values will used to divide objects into buckets - if applicable.

  - #### matchingRule

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Matching rule to be applied when creating filters - if applicable.

  - #### numberOfBuckets

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configurable number of buckets. Optional.

  - #### boundaryCharacters

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Characters that make up the boundaries. These characters must be sorted. Reserved characters: '-', '$' (to be implemented later) Escaping character: '\'

  - #### depth

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If a value N greater than 1 is specified here, boundaryCharacters values are repeated N times (if values of V1, V2, ..., Vk are specified, the resulting sequence is V1, V2, ..., Vk, V1, V2, ... Vk, etc, with N repetitions - so N*k values in total).

  - #### comparisonMethod

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Whether to use intervals, prefixes or exact value match. Interval matching is the default.