Package com.enonic.xp.form

## Class Occurrences

- java.lang.Object
- - com.enonic.xp.form.Occurrences

-     @PublicApi
      public final class Occurrences
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Occurrences​(int minimum, int maximum)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Occurrences` | `create​(int minimum, int maximum)` |
    `boolean` | `equals​(Object o)` |
    `int` | `getMaximum()` |
    `int` | `getMinimum()` |
    `int` | `hashCode()` |
    `boolean` | `impliesRequired()` |
    `boolean` | `isMultiple()` |
    `boolean` | `isUnlimited()` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Occurrences

          public Occurrences​(int minimum,
                             int maximum)

  - ### Method Detail

    - #### getMinimum

          public int getMinimum()

    - #### getMaximum

          public int getMaximum()

    - #### impliesRequired

          public boolean impliesRequired()

    - #### isMultiple

          public boolean isMultiple()

    - #### isUnlimited

          public boolean isUnlimited()

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### create

          public static Occurrences create​(int minimum,
                                           int maximum)