com.asprise.imaging.scan

## Class Capability.ValidValuesFlag

- java.lang.Object
- - com.asprise.imaging.scan.Capability.ValidValues
  - - com.asprise.imaging.scan.Capability.ValidValuesFlag

- Enclosing class:
    Capability

      public static class Capability.ValidValuesFlag
      extends Capability.ValidValues

  Flag based value validator.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Capability.ValidValuesFlag(long defaultValue, long validBits)` Constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `List` | `getAllValues()`
    `boolean` | `isValid(Object value)`
    `String` | `toString()`

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

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Capability.ValidValuesFlag

          public Capability.ValidValuesFlag(long defaultValue,
                                    long validBits)

      Constructor
      Parameters:
        `defaultValue` - default value
        `validBits` - OR of all valid flags

  - ### Method Detail

    - #### isValid

          public boolean isValid(Object value)

      Specified by:
        `isValid` in class `Capability.ValidValues`

    - #### getAllValues

          public List getAllValues()

      Specified by:
        `getAllValues` in class `Capability.ValidValues`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © Asprise Software. All Rights Reserved. Please visit the product page at asprise.com