public class ChannelType extends Object implements Serializable
Java class for ChannelType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ChannelType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="channel" type="{http://www.w3.org/2001/XMLSchema}token"/>
<element name="value" type="{http://xml.adeptnet.org/prtg/prtg.xsd}ValuePattern" minOccurs="0"/>
<element name="unit" type="{http://xml.adeptnet.org/prtg/prtg.xsd}UnitType" minOccurs="0"/>
<element name="customunit" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="speedsize" type="{http://xml.adeptnet.org/prtg/prtg.xsd}UnitSizeType" minOccurs="0"/>
<element name="volumesize" type="{http://xml.adeptnet.org/prtg/prtg.xsd}UnitSizeType" minOccurs="0"/>
<element name="speedtime" type="{http://xml.adeptnet.org/prtg/prtg.xsd}TimeType" minOccurs="0"/>
<element name="mode" type="{http://xml.adeptnet.org/prtg/prtg.xsd}ModeType" minOccurs="0"/>
<element name="float" type="{http://xml.adeptnet.org/prtg/prtg.xsd}BooleanType" minOccurs="0"/>
<element name="decimalmode" type="{http://xml.adeptnet.org/prtg/prtg.xsd}DecimalModeType" minOccurs="0"/>
<element name="warning" type="{http://xml.adeptnet.org/prtg/prtg.xsd}BooleanType" minOccurs="0"/>
<element name="showchart" type="{http://xml.adeptnet.org/prtg/prtg.xsd}BooleanType" minOccurs="0"/>
<element name="showtable" type="{http://xml.adeptnet.org/prtg/prtg.xsd}BooleanType" minOccurs="0"/>
<element name="limitmaxerror" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="limitmaxwarning" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="limitminwarning" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="limitminerror" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="limiterrormsg" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="limitwarningmsg" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="limitmode" type="{http://xml.adeptnet.org/prtg/prtg.xsd}BooleanType" minOccurs="0"/>
<element name="valuelookup" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BooleanType |
_float |
protected String |
base |
protected String |
customUnit |
protected DecimalModeType |
decimalMode |
protected String |
limitErrorMessage |
protected BigInteger |
limitMaxError |
protected BigInteger |
limitMaxWarning |
protected BigInteger |
limitMinError |
protected BigInteger |
limitMinWarning |
protected BooleanType |
limitMode |
protected String |
limitWarningMessage |
protected ModeType |
mode |
protected String |
name |
protected BooleanType |
showChart |
protected BooleanType |
showtable |
protected UnitSizeType |
speedSize |
protected TimeType |
speedTime |
protected UnitType |
unit |
protected String |
value |
protected String |
valueLookup |
protected UnitSizeType |
volumeSize |
protected BooleanType |
warning |
| Constructor and Description |
|---|
ChannelType() |
ChannelType(String name,
UnitType unit,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBase()
Gets the value of the base property.
|
String |
getCustomUnit()
If Custom is used as unit this is the text displayed behind the value.
|
DecimalModeType |
getDecimalMode()
Init value for the Decimal Places option.
|
BooleanType |
getFloat()
Define if the value is a float.
|
String |
getLimitErrorMessage()
Define an additional message.
|
BigInteger |
getLimitMaxError()
Define an upper error limit for the channel.
|
BigInteger |
getLimitMaxWarning()
Define an upper warning limit for the channel.
|
BigInteger |
getLimitMinError()
Define a lower error limit for the channel.
|
BigInteger |
getLimitMinWarning()
Define a lower warning limit for the channel.
|
BooleanType |
getLimitMode()
Define if the limit settings defined above will be active.
|
String |
getLimitWarningMessage()
Define an additional message.
|
ModeType |
getMode()
Selects if the value is a absolut value or counter.
|
String |
getName()
Name of the channel as displayed in user interfaces.
|
BooleanType |
getShowChart()
Init value for the Show in Chart option.
|
BooleanType |
getShowtable()
Init value for the Show in Table option.
|
UnitSizeType |
getSpeedSize()
Size used for the display value.
|
TimeType |
getSpeedTime()
See above, used when displaying the speed.
|
UnitType |
getUnit()
The unit of the value.
|
String |
getValue()
The value as integer or float.
|
String |
getValueLookup()
Define if you want to use a lookup file (e.g.
|
UnitSizeType |
getVolumeSize()
Size used for the display value.
|
BooleanType |
getWarning()
If enabled for at least one channel, the entire sensor is set to warning status.
|
boolean |
isSetBase() |
boolean |
isSetCustomUnit() |
boolean |
isSetDecimalMode() |
boolean |
isSetFloat() |
boolean |
isSetLimitErrorMessage() |
boolean |
isSetLimitMaxError() |
boolean |
isSetLimitMaxWarning() |
boolean |
isSetLimitMinError() |
boolean |
isSetLimitMinWarning() |
boolean |
isSetLimitMode() |
boolean |
isSetLimitWarningMessage() |
boolean |
isSetMode() |
boolean |
isSetName() |
boolean |
isSetShowChart() |
boolean |
isSetShowtable() |
boolean |
isSetSpeedSize() |
boolean |
isSetSpeedTime() |
boolean |
isSetUnit() |
boolean |
isSetValue() |
boolean |
isSetValueLookup() |
boolean |
isSetVolumeSize() |
boolean |
isSetWarning() |
void |
setBase(String value)
Sets the value of the base property.
|
void |
setCustomUnit(String value)
Sets the value of the customUnit property.
|
void |
setDecimalMode(DecimalModeType value)
Sets the value of the decimalMode property.
|
void |
setFloat(BooleanType value)
Sets the value of the float property.
|
void |
setLimitErrorMessage(String value)
Sets the value of the limitErrorMessage property.
|
void |
setLimitMaxError(BigInteger value)
Sets the value of the limitMaxError property.
|
void |
setLimitMaxWarning(BigInteger value)
Sets the value of the limitMaxWarning property.
|
void |
setLimitMinError(BigInteger value)
Sets the value of the limitMinError property.
|
void |
setLimitMinWarning(BigInteger value)
Sets the value of the limitMinWarning property.
|
void |
setLimitMode(BooleanType value)
Sets the value of the limitMode property.
|
void |
setLimitWarningMessage(String value)
Sets the value of the limitWarningMessage property.
|
void |
setMode(ModeType value)
Sets the value of the mode property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setShowChart(BooleanType value)
Sets the value of the showChart property.
|
void |
setShowtable(BooleanType value)
Sets the value of the showtable property.
|
void |
setSpeedSize(UnitSizeType value)
Sets the value of the speedSize property.
|
void |
setSpeedTime(TimeType value)
Sets the value of the speedTime property.
|
void |
setUnit(UnitType value)
Sets the value of the unit property.
|
void |
setValue(Object value) |
void |
setValue(String value)
Sets the value of the value property.
|
void |
setValueLookup(String value)
Sets the value of the valueLookup property.
|
void |
setVolumeSize(UnitSizeType value)
Sets the value of the volumeSize property.
|
void |
setWarning(BooleanType value)
Sets the value of the warning property.
|
<F extends ChannelType> |
upCast(Class<F> clazz) |
ChannelType |
withValue(Object value) |
protected String name
protected String value
protected UnitType unit
protected String customUnit
protected UnitSizeType speedSize
protected UnitSizeType volumeSize
protected TimeType speedTime
protected ModeType mode
protected BooleanType _float
protected DecimalModeType decimalMode
protected BooleanType warning
protected BooleanType showChart
protected BooleanType showtable
protected BigInteger limitMaxError
protected BigInteger limitMaxWarning
protected BigInteger limitMinWarning
protected BigInteger limitMinError
protected String limitErrorMessage
protected String limitWarningMessage
protected BooleanType limitMode
protected String valueLookup
protected String base
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic boolean isSetValue()
public UnitType getUnit()
UnitTypepublic void setUnit(UnitType value)
value - allowed object is
UnitTypepublic boolean isSetUnit()
public String getCustomUnit()
Stringpublic void setCustomUnit(String value)
value - allowed object is
Stringpublic boolean isSetCustomUnit()
public UnitSizeType getSpeedSize()
UnitSizeTypepublic void setSpeedSize(UnitSizeType value)
value - allowed object is
UnitSizeTypepublic boolean isSetSpeedSize()
public UnitSizeType getVolumeSize()
UnitSizeTypepublic void setVolumeSize(UnitSizeType value)
value - allowed object is
UnitSizeTypepublic boolean isSetVolumeSize()
public TimeType getSpeedTime()
TimeTypepublic void setSpeedTime(TimeType value)
value - allowed object is
TimeTypepublic boolean isSetSpeedTime()
public ModeType getMode()
ModeTypepublic void setMode(ModeType value)
value - allowed object is
ModeTypepublic boolean isSetMode()
public BooleanType getFloat()
BooleanTypepublic void setFloat(BooleanType value)
value - allowed object is
BooleanTypepublic boolean isSetFloat()
public DecimalModeType getDecimalMode()
DecimalModeTypepublic void setDecimalMode(DecimalModeType value)
value - allowed object is
DecimalModeTypepublic boolean isSetDecimalMode()
public BooleanType getWarning()
BooleanTypepublic void setWarning(BooleanType value)
value - allowed object is
BooleanTypepublic boolean isSetWarning()
public BooleanType getShowChart()
BooleanTypepublic void setShowChart(BooleanType value)
value - allowed object is
BooleanTypepublic boolean isSetShowChart()
public BooleanType getShowtable()
BooleanTypepublic void setShowtable(BooleanType value)
value - allowed object is
BooleanTypepublic boolean isSetShowtable()
public BigInteger getLimitMaxError()
BigIntegerpublic void setLimitMaxError(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetLimitMaxError()
public BigInteger getLimitMaxWarning()
BigIntegerpublic void setLimitMaxWarning(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetLimitMaxWarning()
public BigInteger getLimitMinWarning()
BigIntegerpublic void setLimitMinWarning(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetLimitMinWarning()
public BigInteger getLimitMinError()
BigIntegerpublic void setLimitMinError(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetLimitMinError()
public String getLimitErrorMessage()
Stringpublic void setLimitErrorMessage(String value)
value - allowed object is
Stringpublic boolean isSetLimitErrorMessage()
public String getLimitWarningMessage()
Stringpublic void setLimitWarningMessage(String value)
value - allowed object is
Stringpublic boolean isSetLimitWarningMessage()
public BooleanType getLimitMode()
BooleanTypepublic void setLimitMode(BooleanType value)
value - allowed object is
BooleanTypepublic boolean isSetLimitMode()
public String getValueLookup()
Stringpublic void setValueLookup(String value)
value - allowed object is
Stringpublic boolean isSetValueLookup()
public String getBase()
Stringpublic void setBase(String value)
value - allowed object is
Stringpublic boolean isSetBase()
public final void setValue(Object value)
public ChannelType withValue(Object value)
public <F extends ChannelType> F upCast(Class<F> clazz)
Copyright © 2016. All rights reserved.