public class DS extends AbstractDS
| Constructor and Description | 
|---|
DS()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
formatEquals(DS ds)
Format equals. 
 | 
String | 
getCdef()
Gets the CDEF. 
 | 
DSType | 
getType()
Gets the type. 
 | 
boolean | 
isCounter()
Checks if the data source is counter. 
 | 
void | 
setCdef(String cdef)
Sets the CDEF. 
 | 
void | 
setType(DSType type)
Sets the type. 
 | 
void | 
setType(String type)
Sets the type. 
 | 
formatEquals, getLastDs, getMax, getMin, getMinHeartbeat, getName, getUnknownSec, getValue, setLastDs, setMax, setMin, setMinHeartbeat, setName, setUnknownSec, setValuepublic DSType getType()
public void setType(DSType type)
type - the new typepublic void setType(String type)
type - the new typepublic String getCdef()
public void setCdef(String cdef)
The XML may contain spaces that must be removed.
cdef - the new CDEFpublic boolean formatEquals(DS ds)
ds - the DS objectpublic boolean isCounter()
AbstractDSisCounter in class AbstractDSCopyright © 2020. All rights reserved.