Class DataPointValue
- java.lang.Object
-
- com.smartgridready.communicator.common.api.dto.DataPointValue
-
public class DataPointValue extends java.lang.ObjectImplements a data point value with functional profile and data points names.
-
-
Constructor Summary
Constructors Constructor Description DataPointValue(java.lang.String functionalProfileName, java.lang.String dataPointName, Value value)Constructs a data point value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDataPointName()Gets the data point name.java.lang.StringgetFunctionalProfileName()Gets the functional profile name.ValuegetValue()Gets the data point value.static DataPointValueof(java.lang.String functionalProfileName, java.lang.String dataPointName, Value value)Constructs a data point value.java.lang.StringtoString()
-
-
-
Constructor Detail
-
DataPointValue
public DataPointValue(java.lang.String functionalProfileName, java.lang.String dataPointName, Value value)Constructs a data point value.- Parameters:
functionalProfileName- the functional profile namedataPointName- the data point namevalue- the data point value
-
-
Method Detail
-
getFunctionalProfileName
public java.lang.String getFunctionalProfileName()
Gets the functional profile name.- Returns:
- the functional profile name
-
getDataPointName
public java.lang.String getDataPointName()
Gets the data point name.- Returns:
- the data point name.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
of
public static DataPointValue of(java.lang.String functionalProfileName, java.lang.String dataPointName, Value value)
Constructs a data point value.- Parameters:
functionalProfileName- the functional profile namedataPointName- the data point namevalue- the data point value- Returns:
- the constructed data point value
-
-