Class Dictionary

    • Constructor Detail

      • Dictionary

        public Dictionary()
    • Method Detail

      • setEntries

        public void setEntries​(java.util.Map<java.lang.String,​java.lang.String> dict)
        Parameters:
        dict - The dictionary entries.
      • getEntries

        public java.util.Map<java.lang.String,​java.lang.String> getEntries()
        Specified by:
        getEntries in interface IDictionary
        Returns:
        The dictionary entries.
      • getEncryptedEntries

        public java.util.Map<java.lang.String,​java.lang.String> getEncryptedEntries()
        Specified by:
        getEncryptedEntries in interface IEncryptedDictionary
        Returns:
        The encrypted dictionary entries
      • setEncryptedEntries

        public void setEncryptedEntries​(java.util.Map<java.lang.String,​java.lang.String> encryptedEntries)
        Parameters:
        encryptedEntries - The encrypted dictionary entries
      • getValue

        public java.lang.String getValue​(java.lang.String key)
        Specified by:
        getValue in interface IDictionary
        Parameters:
        key - The key of a dictionary entry.
        Returns:
        The value associated with the given key.
      • hasValue

        public boolean hasValue​(java.lang.String key)
        Parameters:
        key - The key of a dictionary entry.
        Returns:
        Whether the dictionary contains the given key.
      • getRestrictToDistributions

        public java.util.Set<Application> getRestrictToDistributions()
        Returns:
        The set of Applications only for which the dictionary is applied.