Class DictionaryStorageSettings


public final class DictionaryStorageSettings extends ResourceStorageSettings
The settings of the file resource context storage. Allows to configure the same as ResourceStorageSettings and StorageSettings. Also allows to set validation settings, file path for the dictionary storage. This model object is not allowed to modify after created project settings.
See Also:
  • Constructor Details

    • DictionaryStorageSettings

      public DictionaryStorageSettings(String segment)
      Instantiates a new dictionary storage settings.
      Parameters:
      segment - the segment, cannot be null.
    • DictionaryStorageSettings

      public DictionaryStorageSettings()
      Instantiates a new dictionary storage settings.
  • Method Details

    • getStorageId

      public StorageID getStorageId()
      Gets the storage id for the dictionary storage provider only. The StorageSettings.getId() method returns only the segment part of StorageID.
      Overrides:
      getStorageId in class ResourceStorageSettings
      Returns:
      the storage id, cannot return null.
    • getFormat

      public String getFormat()
      Gets the format of the dictionary or default value dict.
      Overrides:
      getFormat in class ResourceStorageSettings
      Returns:
      the format, cannot return null.
    • getFilePath

      public String getFilePath()
      Gets the file path of the dictionary.
      Returns:
      the file path, cannot return null.
    • setFilePath

      public void setFilePath(String filePath)
      Sets the file path of the dictionary.
      Parameters:
      filePath - the new file path, can be null.
    • getValidation

      public List<String> getValidation()
      Gets the validation settings.
      Returns:
      the validation, cannot return null.
    • setValidation

      public void setValidation(List<String> validation)
      Sets the validation settings.
      Parameters:
      validation - the new validation settings, can be null.