diva.util
Interface PropertyContainer

All Known Subinterfaces:
Channel, CompositeNode, Edge, Generator, Graph, Node, Pod, Receiver, Transmitter, View
All Known Implementing Classes:
BasicEdge, BasicLWEdge, BasicLWNode, BasicLWPort, BasicNode, BasicPropertyContainer, TimedStroke

public interface PropertyContainer

An object that can be annotated with arbitrary objects whose keys are strings.

Version:
$Revision: 1.6 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Method Summary
 Object getProperty(String key)
          Return the property corresponding to the given key, or null if no such property exists.
 Iterator propertyNames()
          Get an iterator over the names of the properties.
 void setProperty(String key, Object value)
          Set the property corresponding to the given key.
 

Method Detail

getProperty

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


propertyNames

Iterator propertyNames()
Get an iterator over the names of the properties.


setProperty

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



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.