Package org.somda.sdc.glue.common.uri
Class ComplexDeviceComponentMapper
-
- All Implemented Interfaces:
public class ComplexDeviceComponentMapperUtility class to map from complex device component coded value to URI and back to coded value.
This class implements the grammar defined in IEEE 11073-20701 section 9.2.
-
-
Constructor Summary
Constructors Constructor Description ComplexDeviceComponentMapper()
-
Method Summary
Modifier and Type Method Description static StringfromComplexDeviceComponent(AbstractComplexDeviceComponentDescriptor descriptor)Maps an abstract complex component descriptor to URI representation. static StringfromCodedValue(CodedValue codedValue)Given a coded value that belongs to an abstract complex component descriptor, this function creates the URI representation. static CodedValuefromUri(String complexDeviceComponentTypeUri)Maps a complex device component type URI string to a coded value. -
-
Method Detail
-
fromComplexDeviceComponent
static String fromComplexDeviceComponent(AbstractComplexDeviceComponentDescriptor descriptor)
Maps an abstract complex component descriptor to URI representation.
- Parameters:
descriptor- the device component where to access the type.- Returns:
the mapped URI.
-
fromCodedValue
static String fromCodedValue(CodedValue codedValue)
Given a coded value that belongs to an abstract complex component descriptor, this function creates the URI representation.
- Parameters:
codedValue- a complex device component's type.- Returns:
the mapped URI.
-
-
-
-