org.universAAL.samples.sensor.simulator
Class LampMap

Package class diagram package LampMap
java.lang.Object
  extended by org.universAAL.samples.sensor.simulator.LampMap

public class LampMap
extends Object

Helper class used for storing light source URI and lightsource in a map


Constructor Summary
LampMap()
           
 
Method Summary
 LightSource getLightSource(String uri)
          Returns lightSource value that corresponds to a given URI
 void insertLightSource(String uri, LightSource lightSource)
          Inserts lightsource and its URI to the map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LampMap

public LampMap()
Method Detail

insertLightSource

public void insertLightSource(String uri,
                              LightSource lightSource)
Inserts lightsource and its URI to the map

Parameters:
uri -
lightSource -

getLightSource

public LightSource getLightSource(String uri)
Returns lightSource value that corresponds to a given URI

Parameters:
uri -
Returns:


Copyright © 2014 universAAL Consortium. All Rights Reserved.