Constructor and Description |
---|
AbstractDS() |
Modifier and Type | Method and Description |
---|---|
boolean |
formatEquals(AbstractDS ds)
Format equals.
|
Double |
getLastDs()
Gets the last data source value.
|
Double |
getMax()
Gets the maximum value.
|
Double |
getMin()
Gets the minimum value.
|
Long |
getMinHeartbeat()
Gets the minimum heartbeat.
|
String |
getName()
Gets the name.
|
Long |
getUnknownSec()
Gets the unknown seconds.
|
Double |
getValue()
Gets the value.
|
abstract boolean |
isCounter()
Checks if the data source is counter.
|
void |
setLastDs(Double lastDs)
Sets the last data source value.
|
void |
setMax(Double max)
Sets the maximum value.
|
void |
setMin(Double min)
Sets the minimum value.
|
void |
setMinHeartbeat(Long minHeartbeat)
Sets the minimum heartbeat.
|
void |
setName(String name)
Sets the name.
|
void |
setUnknownSec(Long unknownSec)
Sets the unknown seconds.
|
void |
setValue(Double value)
Sets the value.
|
public String getName()
public void setName(String name)
The XML may contain spaces that must be removed.
name
- the new namepublic Long getMinHeartbeat()
public void setMinHeartbeat(Long minHeartbeat)
minHeartbeat
- the new minimum heartbeatpublic Double getMin()
public void setMin(Double min)
min
- the new minimum valuepublic Double getMax()
public void setMax(Double max)
max
- the new maximum valuepublic Double getLastDs()
public void setLastDs(Double lastDs)
lastDs
- the new last data source valuepublic Double getValue()
public void setValue(Double value)
value
- the new valuepublic Long getUnknownSec()
public void setUnknownSec(Long unknownSec)
unknownSec
- the new unknown secondspublic abstract boolean isCounter()
public boolean formatEquals(AbstractDS ds)
ds
- the DS objectCopyright © 2021. All rights reserved.