Class ModulePreference

All Implemented Interfaces:
Serializable

public class ModulePreference extends GenericPreference implements Serializable
A ModulePreference is used to store configuration settings in Module scope.

The table model of an ModulePreference spans an unique key over the columns C_TYPE, C_OWNER and C_KEY.

It's counterpart in the context of JAXB is the modulePreference element.

Author:
Heiko Scherrer
See Also:
  • Field Details

    • owner

      private String owner
      Owner of the ModulePreference (not nullable).
    • key

      private String key
      Key of the ModulePreference (not nullable).
  • Constructor Details

    • ModulePreference

      public ModulePreference()
      Create a new ModulePreference. Only defined by the JAXB implementation.
    • ModulePreference

      public ModulePreference(String owner, String key)
      Create a new ModulePreference.
      Parameters:
      owner - The name of the owning module
      key - the key
      Throws:
      IllegalArgumentException - when key or owner is null or empty
  • Method Details