public class ConfigDoubleAttributeType extends ConfigAttributeType implements DoubleAttributeType
Implementierung des Interfaces DoubleAttributeType
auf Seiten der Konfiguration.
Modifier and Type | Class and Description |
---|---|
private class |
ConfigDoubleAttributeType.DoubleAttributeTypeValues
Diese Klasse liest die Informationen für diesen Attributtypen mit Hilfe des Deserializers direkt aus dem Byte-Array des konfigurierenden Datensatzes aus und verwendet nicht die Methode
ConfigurationData , da dort Informationen benötigt werden, die erst hier zur Verfügung gestellt werden. |
Modifier and Type | Field and Description |
---|---|
private static Debug |
_debug
DebugLogger für Debug-Ausgaben
|
private ConfigDoubleAttributeType.DoubleAttributeTypeValues |
_values
Speichert die Eigenschaften dieses AttributTyps.
|
_systemObjectInfo
DOUBLE, FLOAT
Constructor and Description |
---|
ConfigDoubleAttributeType(ConfigurationArea configurationArea,
SystemObjectInformationInterface systemObjectInfo)
Konstruktor eines Fließkomma-Attribut-Typen.
|
Modifier and Type | Method and Description |
---|---|
byte |
getAccuracy()
Bestimmt die Genauigkeit von Attributen dieses Typs.
|
private ConfigDoubleAttributeType.DoubleAttributeTypeValues |
getDoubleAttributeTypeValues()
Gibt das Objekt zurück, welches die Eigenschaften dieses AttributTyps enthält.
|
java.lang.String |
getUnit()
Bestimmt die Maßeinheit von Werten dieses Attributtyps.
|
(package private) void |
invalidateCache()
Wird aufgerufen, wenn das Objekt verändert wird.
|
getDefaultAttributeValue, loadDefaultAttributeValue
addSet, directDuplicate, directModification, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, invalidate, isValid, removeSet, revalidate, simpleRevalidate
checkChangePermit, createConfigurationData, equals, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationDataBytes, getId, getName, getObjectLookupForData, getPid, getSerializerVersion, getType, getUsedAttributeGroupUsages, hashCode, originalHashCode, removeConfigurationData, setConfigurationData, setConfigurationData, setName, simpleInvalidation
compareTo, getConfigurationArea, getConfigurationData, getDataModel, getInfo, getNameOrPidOrId, getPidOrId, getPidOrNameOrId, isOfType, isOfType, setConfigurationData, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDefaultAttributeValue
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidate
getConfigurationArea, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getName, getNameOrPidOrId, getPid, getPidOrId, getPidOrNameOrId, getType, getUsedAttributeGroupUsages, invalidate, isOfType, isOfType, isValid, setConfigurationData, setConfigurationData, setConfigurationData, setName, toString
private static final Debug _debug
DebugLogger für Debug-Ausgaben
private ConfigDoubleAttributeType.DoubleAttributeTypeValues _values
Speichert die Eigenschaften dieses AttributTyps.
public ConfigDoubleAttributeType(ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
Konstruktor eines Fließkomma-Attribut-Typen.
configurationArea
- Konfigurationsbereich dieses Attribut-TypensystemObjectInfo
- das korrespondierende Objekt aus den Konfigurationsdateienpublic java.lang.String getUnit()
de.bsvrz.dav.daf.main.config.DoubleAttributeType
getUnit
in interface DoubleAttributeType
public byte getAccuracy()
de.bsvrz.dav.daf.main.config.DoubleAttributeType
getAccuracy
in interface DoubleAttributeType
DoubleAttributeType.FLOAT
oder DoubleAttributeType.DOUBLE
.private ConfigDoubleAttributeType.DoubleAttributeTypeValues getDoubleAttributeTypeValues()
Gibt das Objekt zurück, welches die Eigenschaften dieses AttributTyps enthält. Existiert es noch nicht, so wird es erzeugt und der entsprechende konfigurierende Datensatz ausgelesen.
void invalidateCache()
Wird aufgerufen, wenn das Objekt verändert wird. Soll alle zwischengespeicherten Daten neu anfordern bzw. zurücksetzen. Erbende Klassen müssen diese Funktion überschreiben, wenn sie Daten cachen.
invalidateCache
in class ConfigAttributeType