public abstract class DataPoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,DataPoint> |
dataPointMap |
Modifier | Constructor and Description |
---|---|
protected |
DataPoint(java.lang.String label,
boolean isOutput)
Constructor of DataPoint
|
Modifier and Type | Method and Description |
---|---|
static DataPoint |
getDataPointOnListFromLabel(java.lang.String label)
Get the DataPoint from the label
|
java.lang.String |
getLabel()
Just get the label of this DataPoint
|
boolean |
isOutput() |
protected void |
update(boolean isNewValue)
Update the value of this DataPoint and notify every connector
If this is a new value (doesn't exist), add it to the dataPointMap
|
public static java.util.Map<java.lang.String,DataPoint> dataPointMap
protected DataPoint(java.lang.String label, boolean isOutput)
label
- label of this DataPointisOutput
- true if this DataPoint is an output, false if it's an inputprotected void update(boolean isNewValue)
isNewValue
- true if this is a new value, false if it's an updatepublic static DataPoint getDataPointOnListFromLabel(java.lang.String label)
label
- label of the DataPointpublic java.lang.String getLabel()
public boolean isOutput()