public class MyMonKey extends Object implements com.jamonapi.MonKey
Constructor and Description |
---|
MyMonKey(com.jamonapi.MonKeyItem keyItem,
String units) |
MyMonKey(String summaryLabel,
Object details,
String units) |
MyMonKey(String summaryLabel,
String units) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object compareKey)
This method is called automatically by a HashMap when this class is used as a HashMap key.
|
List |
getBasicHeader(List header) |
List |
getBasicRowData(List rowData) |
Object |
getDetails() |
List |
getDisplayHeader(List header) |
List |
getHeader(List header) |
String |
getInstanceName() |
String |
getLabel()
Returns the label for the monitor
|
Object |
getParam()
Used to get any arbitrary Object into the key.
|
String |
getRangeKey() |
List |
getRowData(List rowData) |
List |
getRowDisplayData(List rowData) |
int |
getSize() |
String |
getUnits()
Returns the units for the monitor
|
Object |
getValue(String key)
Returns any object that has a named key.
|
int |
hashCode()
Used when key is put into a Map to look up the monitor
|
void |
setDetails(Object details) |
void |
setInstanceName(String instanceName) |
void |
setParam(Object param)
Used to set any arbitrary Object into the key.
|
String |
toString() |
public String getLabel()
getLabel
in interface com.jamonapi.MonKey
public Object getDetails()
getDetails
in interface com.jamonapi.MonKeyItem
public void setDetails(Object details)
setDetails
in interface com.jamonapi.MonKeyItem
public Object getValue(String key)
getValue
in interface com.jamonapi.MonKey
public Object getParam()
public void setParam(Object param)
public boolean equals(Object compareKey)
public int hashCode()
public List getBasicHeader(List header)
public List getDisplayHeader(List header)
public List getBasicRowData(List rowData)
public List getRowData(List rowData)
public List getRowDisplayData(List rowData)
public String getRangeKey()
getRangeKey
in interface com.jamonapi.MonKey
public void setInstanceName(String instanceName)
setInstanceName
in interface com.jamonapi.MonKeyItem
public String getInstanceName()
getInstanceName
in interface com.jamonapi.MonKeyItem
public int getSize()
getSize
in interface com.jamonapi.MonKey
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann