com.asprise.imaging.scan

## Class Capability.ValidValuesList

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

- Enclosing class:
    Capability

      public static class Capability.ValidValuesList
      extends Capability.ValidValues

  Listed based value validator.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Capability.ValidValuesList(Object defaultValue, List<Object> values)` Constructor with all parameters.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `List` | `getAllValues()` List of valid values.
    `Object` | `getDefaultValue()` Default value.
    `boolean` | `isValid(Object value)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Capability.ValidValuesList

          public Capability.ValidValuesList(Object defaultValue,
                                    List<Object> values)

      Constructor with all parameters.

  - ### Method Detail

    - #### getDefaultValue

          public Object getDefaultValue()

      Default value.

    - #### getAllValues

          public List getAllValues()

      List of valid values.
      Specified by:
        `getAllValues` in class `Capability.ValidValues`

    - #### isValid

          public boolean isValid(Object value)

      Specified by:
        `isValid` 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