public class ConfigurationIntegerDef extends Object implements ConfigurationAttributeType
| Modifier and Type | Field and Description |
|---|---|
private int |
_bits |
private ConfigurationIntegerValueRange[] |
_regionAndState
Speichert die Objekte ConfigurationValueRange und ConfigurationState
|
| Constructor and Description |
|---|
ConfigurationIntegerDef() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBits()
Attribut "bits"
|
ConfigurationIntegerValueRange[] |
getValueRangeAndState()
Array, das Objekte enthält, die vom Typ ConfigurationValueRange und vom Typ ConfigurationState sein können.
|
void |
setBits(int bits)
Attribut "bits"
|
void |
setBits(String bits)
Attribut "bits"
|
void |
setValueRangeAndState(ConfigurationIntegerValueRange[] regionAndState) |
private int _bits
private ConfigurationIntegerValueRange[] _regionAndState
public int getBits()
public void setBits(String bits) throws IllegalArgumentException
bits - s.o.IllegalArgumentException - setBits(int)public void setBits(int bits)
throws IllegalArgumentException
bits - s.o.IllegalArgumentException - Die Anzahl Bits ist kleiner gleich 0 oder größer als 64public ConfigurationIntegerValueRange[] getValueRangeAndState()
public void setValueRangeAndState(ConfigurationIntegerValueRange[] regionAndState)
regionAndState - Array, das Objekte enthält, die vom Typ ConfigurationValueRange und vom Typ ConfigurationState sein können. Sind keine Objekte
vorhanden, so ist das Array leer.IllegalArgumentException - Bei Objekten vom Typ "ConfigurationState" muss jeder Wert und jeder Name eindeutig (nur einmal vergeben) sein. Wird diese
Exception geworfen, wurde dagegen verstossen.