Interface WritableDictionary

All Superinterfaces:
CoreDictionary, Dictionary
All Known Implementing Classes:
MemoryDictionary

public interface WritableDictionary extends Dictionary
A dictionary that is not read-only. Provides methods to add entries to the dictionary.
  • Method Details

    • addVendor

      WritableDictionary addVendor(Vendor vendor)
      Adds the given vendor to the dictionary.
      Parameters:
      vendor - vendor to add
      Returns:
      this WritableDictionary
      Throws:
      IllegalArgumentException - empty vendor name, invalid vendor ID
    • addAttributeTemplate

      WritableDictionary addAttributeTemplate(AttributeTemplate attributeTemplate)
      Adds an AttributeTemplate object to the dictionary.
      Parameters:
      attributeTemplate - AttributeTemplate to add
      Returns:
      this WritableDictionary