org.jbpm.casemgmt.api.model

## Interface CaseRole

- All Known Implementing Classes:
    CaseRoleImpl

      public interface CaseRole

  Represents single role assigned to a given case. Optionally can specify cardinality to restrict number of assigned individuals to given role within given case.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Integer` | `getCardinality()` Returns maximum cardinality for this role - maximum assigned entities per case instance.
    `String` | `getName()` Returns name of the role

- - ### Method Detail

    - #### getName

          String getName()

      Returns name of the role
      Returns:

    - #### getCardinality

          Integer getCardinality()

      Returns maximum cardinality for this role - maximum assigned entities per case instance. Needs to be set to value greater than 0 to be taken into account.
      Returns:

Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.