Package diva.util

Interface PropertyContainer

  • All Known Subinterfaces:
    CompositeNode, Edge, Graph, Node
    All Known Implementing Classes:
    BasicPropertyContainer

    public interface PropertyContainer
    An object that can be annotated with arbitrary objects whose keys are strings.
    Version:
    $Id$
    Author:
    Michael Shilman
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getProperty​(java.lang.String key)
      Return the property corresponding to the given key, or null if no such property exists.
      java.util.Iterator propertyNames()
      Get an iterator over the names of the properties.
      void setProperty​(java.lang.String key, java.lang.Object value)
      Set the property corresponding to the given key.
    • Method Detail

      • getProperty

        java.lang.Object getProperty​(java.lang.String key)
        Return the property corresponding to the given key, or null if no such property exists.
      • propertyNames

        java.util.Iterator propertyNames()
        Get an iterator over the names of the properties.
      • setProperty

        void setProperty​(java.lang.String key,
                         java.lang.Object value)
        Set the property corresponding to the given key.