Package org.eclipse.net4j.util.om.pref

## Interface OMPreferences

- All Superinterfaces:
    `INotifier`

      public interface OMPreferences
      extends INotifier

  Author:
    Eike Stepper
  No Implement
    This interface is not intended to be implemented by clients.
  No Extend
    This interface is not intended to be extended by clients.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier

      `INotifier.INotifier2`

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static java.lang.String[]` | `DEFAULT_ARRAY` |
    `static boolean` | `DEFAULT_BOOLEAN` |
    `static byte[]` | `DEFAULT_BYTES` |
    `static double` | `DEFAULT_DOUBLE` |
    `static float` | `DEFAULT_FLOAT` |
    `static int` | `DEFAULT_INTEGER` |
    `static long` | `DEFAULT_LONG` |
    `static java.lang.String` | `DEFAULT_STRING` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `contains​(java.lang.String name)` |
    `OMPreference<?>` | `get​(java.lang.String name)` |
    `OMPreference<java.lang.String[]>` | `getArray​(java.lang.String name)` |
    `OMPreference<java.lang.Boolean>` | `getBoolean​(java.lang.String name)` |
    `OMBundle` | `getBundle()` |
    `OMPreference<byte[]>` | `getBytes​(java.lang.String name)` |
    `OMPreference<java.lang.Double>` | `getDouble​(java.lang.String name)` |
    `OMPreference<java.lang.Float>` | `getFloat​(java.lang.String name)` |
    `OMPreference<java.lang.Integer>` | `getInteger​(java.lang.String name)` |
    `OMPreference<java.lang.Long>` | `getLong​(java.lang.String name)` |
    `OMPreference<java.lang.String>` | `getString​(java.lang.String name)` |
    `OMPreference<java.lang.Boolean>` | `init​(java.lang.String name, boolean defaultValue)` |
    `OMPreference<byte[]>` | `init​(java.lang.String name, byte[] defaultValue)` |
    `OMPreference<java.lang.Double>` | `init​(java.lang.String name, double defaultValue)` |
    `OMPreference<java.lang.Float>` | `init​(java.lang.String name, float defaultValue)` |
    `OMPreference<java.lang.Integer>` | `init​(java.lang.String name, int defaultValue)` |
    `OMPreference<java.lang.Long>` | `init​(java.lang.String name, long defaultValue)` |
    `OMPreference<java.lang.String>` | `init​(java.lang.String name, java.lang.String defaultValue)` |
    `OMPreference<java.lang.String[]>` | `init​(java.lang.String name, java.lang.String[] defaultValue)` |
    `OMPreference<java.lang.String[]>` | `initArray​(java.lang.String name)` |
    `OMPreference<java.lang.Boolean>` | `initBoolean​(java.lang.String name)` |
    `OMPreference<byte[]>` | `initBytes​(java.lang.String name)` |
    `OMPreference<java.lang.Double>` | `initDouble​(java.lang.String name)` |
    `OMPreference<java.lang.Float>` | `initFloat​(java.lang.String name)` |
    `OMPreference<java.lang.Integer>` | `initInteger​(java.lang.String name)` |
    `OMPreference<java.lang.Long>` | `initLong​(java.lang.String name)` |
    `OMPreference<java.lang.String>` | `initString​(java.lang.String name)` |
    `boolean` | `isDirty()` |
    `void` | `save()` |

    - ### Methods inherited from interface org.eclipse.net4j.util.event.INotifier

      `addListener, getListeners, hasListeners, removeListener`

- - ### Field Detail

    - #### DEFAULT_BOOLEAN

          static final boolean DEFAULT_BOOLEAN

      See Also:
        Constant Field Values

    - #### DEFAULT_INTEGER

          static final int DEFAULT_INTEGER

      See Also:
        Constant Field Values

    - #### DEFAULT_LONG

          static final long DEFAULT_LONG

      See Also:
        Constant Field Values

    - #### DEFAULT_FLOAT

          static final float DEFAULT_FLOAT

      See Also:
        Constant Field Values

    - #### DEFAULT_DOUBLE

          static final double DEFAULT_DOUBLE

      See Also:
        Constant Field Values

    - #### DEFAULT_STRING

          static final java.lang.String DEFAULT_STRING

      See Also:
        Constant Field Values

    - #### DEFAULT_ARRAY

          static final java.lang.String[] DEFAULT_ARRAY

    - #### DEFAULT_BYTES

          static final byte[] DEFAULT_BYTES

  - ### Method Detail

    - #### getBundle

          OMBundle getBundle()

    - #### isDirty

          boolean isDirty()

    - #### save

          void save()

    - #### init

          OMPreference<java.lang.Boolean> init​(java.lang.String name,
                                               boolean defaultValue)

    - #### init

          OMPreference<java.lang.Integer> init​(java.lang.String name,
                                               int defaultValue)

    - #### init

          OMPreference<java.lang.Long> init​(java.lang.String name,
                                            long defaultValue)

    - #### init

          OMPreference<java.lang.Float> init​(java.lang.String name,
                                             float defaultValue)

    - #### init

          OMPreference<java.lang.Double> init​(java.lang.String name,
                                              double defaultValue)

    - #### init

          OMPreference<java.lang.String> init​(java.lang.String name,
                                              java.lang.String defaultValue)

    - #### init

          OMPreference<java.lang.String[]> init​(java.lang.String name,
                                                java.lang.String[] defaultValue)

    - #### init

          OMPreference<byte[]> init​(java.lang.String name,
                                    byte[] defaultValue)

    - #### initBoolean

          OMPreference<java.lang.Boolean> initBoolean​(java.lang.String name)

    - #### initInteger

          OMPreference<java.lang.Integer> initInteger​(java.lang.String name)

    - #### initLong

          OMPreference<java.lang.Long> initLong​(java.lang.String name)

    - #### initFloat

          OMPreference<java.lang.Float> initFloat​(java.lang.String name)

    - #### initDouble

          OMPreference<java.lang.Double> initDouble​(java.lang.String name)

    - #### initString

          OMPreference<java.lang.String> initString​(java.lang.String name)

    - #### initArray

          OMPreference<java.lang.String[]> initArray​(java.lang.String name)

    - #### initBytes

          OMPreference<byte[]> initBytes​(java.lang.String name)

    - #### contains

          boolean contains​(java.lang.String name)

    - #### get

          OMPreference<?> get​(java.lang.String name)

    - #### getBoolean

          OMPreference<java.lang.Boolean> getBoolean​(java.lang.String name)

    - #### getInteger

          OMPreference<java.lang.Integer> getInteger​(java.lang.String name)

    - #### getLong

          OMPreference<java.lang.Long> getLong​(java.lang.String name)

    - #### getFloat

          OMPreference<java.lang.Float> getFloat​(java.lang.String name)

    - #### getDouble

          OMPreference<java.lang.Double> getDouble​(java.lang.String name)

    - #### getString

          OMPreference<java.lang.String> getString​(java.lang.String name)

    - #### getArray

          OMPreference<java.lang.String[]> getArray​(java.lang.String name)

    - #### getBytes

          OMPreference<byte[]> getBytes​(java.lang.String name)