org.universAAL.lddi.knx.exporter
Class KnxToDeviceOntologyMappingFactory

Package class diagram package KnxToDeviceOntologyMappingFactory
java.lang.Object
  extended by org.universAAL.lddi.knx.exporter.KnxToDeviceOntologyMappingFactory

public class KnxToDeviceOntologyMappingFactory
extends Object

Mapping of KNX datapoint types to uAAL Device Ontology. Not all ontology concepts can be mapped certainly to one KNX DPT. e.g. environmental sensors like gas, smoke, water can have the same KNX DPT (e.g. Alarm 1.005) this must be mapped by a human according to name and description of the KNX group address configured in ETS.

Author:
Thomas Fuxreiter (foex@gmx.at)

Nested Class Summary
static class KnxToDeviceOntologyMappingFactory.DeviceOntologyType
           
 
Constructor Summary
KnxToDeviceOntologyMappingFactory()
           
 
Method Summary
static ValueDevice getDeviceOntologyInstanceForKnxDpt(int knxDptMain, int knxDptSub, String deviceId, KnxToDeviceOntologyMappingFactory.DeviceOntologyType devOntType)
          Returns null if no suitable ontology concept found
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnxToDeviceOntologyMappingFactory

public KnxToDeviceOntologyMappingFactory()
Method Detail

getDeviceOntologyInstanceForKnxDpt

public static ValueDevice getDeviceOntologyInstanceForKnxDpt(int knxDptMain,
                                                             int knxDptSub,
                                                             String deviceId,
                                                             KnxToDeviceOntologyMappingFactory.DeviceOntologyType devOntType)
Returns null if no suitable ontology concept found

Parameters:
knxDptMain -
knxDptSub -
deviceId -
devOntType -
Returns:
ValueDevice (parent concept of all device concepts)


Copyright © 2014 universAAL Consortium. All Rights Reserved.