Interface Properties

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Convertible getAt​(java.lang.String key)
      Provides map-like access to properties.
      java.util.Set<java.lang.String> keySet()
      returns the names of all attributes.
      Convertible putAt​(java.lang.String key, java.lang.Object value)
      Allows to set and to change properties.
    • Method Detail

      • getAt

        Convertible getAt​(java.lang.String key)
        Provides map-like access to properties. Note that the returned type is a Convertible, not a String as in the basic storage. Nevertheless it behaves like a String in almost all respects, that is, in Groovy scripts it understands all String methods like lenght(), matches() etc.
        Note that unlike Attributes.getAt() this method will return null if the property is not set!
        Since:
        1.3.6
      • putAt

        Convertible putAt​(java.lang.String key,
                          java.lang.Object value)
        Allows to set and to change properties.
        Parameters:
        value - An object for conversion to String. Works well for all types that Convertible handles, particularly Convertibles itself. Use null to unset an attribute.
        Returns:
        the new value
        Since:
        1.3.6
      • keySet

        java.util.Set<java.lang.String> keySet()
        returns the names of all attributes.
        Since:
        1.3.6