| Constructor and Description |
|---|
ProfileImpl(String id,
Map<DataPoint,Object> primary,
Map<DataPoint,Object> context,
Map<DataPoint,Object> derived,
Map<Long,State> stateEndTimes,
ProfileTemplate template) |
| Modifier and Type | Method and Description |
|---|---|
String |
description(de.iwes.widgets.api.widgets.localisation.OgemaLocale locale) |
Map<DataPoint,Object> |
getContextData() |
Object |
getContextData(DataPoint dp) |
Map<DataPoint,Object> |
getDerivedData() |
Object |
getDerivedData(DataPoint dp) |
Map<DataPoint,Object> |
getPrimaryData() |
Object |
getPrimaryData(DataPoint dp)
Allowed return values are
ReadOnlyTimeSeries if dp is of type DataPoint.DataType.TIME_SERIES
String if dp is of type DataPoint.DataType.STRING
Number if dp is of type DataPoint.DataType.SINGLE_VALUE
|
String |
id() |
String |
label(de.iwes.widgets.api.widgets.localisation.OgemaLocale locale) |
Map<Long,State> |
stateEndTimes() |
String |
templateId() |
String |
toString() |
public Object getPrimaryData(DataPoint dp)
ProfileReadOnlyTimeSeries if dp is of type DataPoint.DataType.TIME_SERIES
type DataPoint.DataType.STRING
type DataPoint.DataType.SINGLE_VALUE
getPrimaryData in interface Profilepublic Object getContextData(DataPoint dp)
getContextData in interface Profilepublic Object getDerivedData(DataPoint dp)
getDerivedData in interface Profilepublic Map<DataPoint,Object> getDerivedData()
getDerivedData in interface Profilepublic Map<DataPoint,Object> getPrimaryData()
getPrimaryData in interface Profilepublic Map<DataPoint,Object> getContextData()
getContextData in interface Profilepublic String id()
id in interface de.iwes.widgets.template.LabelledItempublic String label(de.iwes.widgets.api.widgets.localisation.OgemaLocale locale)
label in interface de.iwes.widgets.template.LabelledItempublic String description(de.iwes.widgets.api.widgets.localisation.OgemaLocale locale)
description in interface de.iwes.widgets.template.LabelledItempublic String templateId()
templateId in interface Profilepublic Map<Long,State> stateEndTimes()
stateEndTimes in interface ProfileCopyright © 2018–2019. All rights reserved.