public class Configuration extends Object
© 2002 Christian Treber, [email protected] (06.10.2002)
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
void |
add(String pID,
MonitoredObject pObject)
Item must be added before it can be set or get.
|
boolean |
getBoolean(String pID) |
double |
getDouble(String pID) |
int |
getInt(String pID) |
MonitoredObject |
getMO(String pID) |
MOBoolean |
getMOBoolean(String pID) |
MODouble |
getMODouble(String pID) |
MOEnum |
getMOEnum(String pID) |
MOInteger |
getMOInteger(String pID) |
MOString |
getMOString(String pID) |
String |
getString(String pID) |
boolean |
is(String pID,
Object pValue) |
void |
setBoolean(String pID,
boolean pValue) |
void |
setDouble(String pID,
double pValue) |
void |
setEnum(String pID,
Object pValue) |
void |
setInt(String pID,
int pValue) |
void |
setString(String pID,
String pValue) |
public void add(String pID, MonitoredObject pObject)
Item must be added before it can be set or get.
pID
- Item name.pObject
- Item value container.public void setBoolean(String pID, boolean pValue)
public void setInt(String pID, int pValue)
public void setDouble(String pID, double pValue)
public boolean getBoolean(String pID)
public int getInt(String pID)
public double getDouble(String pID)
public MonitoredObject getMO(String pID)
Copyright © 2017. All Rights Reserved.