Interface PropertySet

All Known Implementing Classes:
EmptyPropertySet, PropertiesPropertySet, SystemPropertiesPropertySet

public interface PropertySet
Basic interface that describes a set of properties - could be a Properties object or a resource bundle or any other set of key/value string pairs. The PropertiesTypeLoader builds types on this basic interface
  • Method Summary

    Modifier and Type
    Method
    Description
    The set of keys which can be used to look up values in this property set
    The name of the property set, which will be used as the name of the type
    Get the value corresponding to the given key
  • Method Details

    • getName

      String getName()
      The name of the property set, which will be used as the name of the type
      Returns:
      a non null name
    • getKeys

      Set<String> getKeys()
      The set of keys which can be used to look up values in this property set
      Returns:
      a non null set containing the keys
    • getValue

      String getValue(String key)
      Get the value corresponding to the given key
      Parameters:
      key - the key, never null
      Returns:
      the value corresponding to the given key or null if there is no corresponding value