de.bsvrz.puk.config.configFile.datamodel
Class ConfigDoubleAttributeType

java.lang.Object
  extended by de.bsvrz.puk.config.configFile.datamodel.AbstractConfigSystemObject
      extended by de.bsvrz.puk.config.configFile.datamodel.ConfigSystemObject
          extended by de.bsvrz.puk.config.configFile.datamodel.ConfigConfigurationObject
              extended by de.bsvrz.puk.config.configFile.datamodel.ConfigAttributeType
                  extended by de.bsvrz.puk.config.configFile.datamodel.ConfigDoubleAttributeType
All Implemented Interfaces:
AttributeType, ConfigurationObject, DoubleAttributeType, SystemObject, Comparable

public class ConfigDoubleAttributeType
extends ConfigAttributeType
implements DoubleAttributeType

Implementierung des Interfaces DoubleAttributeType auf Seiten der Konfiguration.

Author:
Stephan Homeyer (sth), Kappich Systemberatung

Nested Class Summary
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.
 
Field Summary
private static Debug _debug
          DebugLogger für Debug-Ausgaben
private  ConfigDoubleAttributeType.DoubleAttributeTypeValues _values
          Speichert die Eigenschaften dieses AttributTyps.
 
Fields inherited from class de.bsvrz.puk.config.configFile.datamodel.ConfigSystemObject
_systemObjectInfo
 
Fields inherited from interface de.bsvrz.dav.daf.main.config.DoubleAttributeType
DOUBLE, FLOAT
 
Constructor Summary
ConfigDoubleAttributeType(ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
          Konstruktor eines Fließkomma-Attribut-Typen.
 
Method Summary
 byte getAccuracy()
           
private  ConfigDoubleAttributeType.DoubleAttributeTypeValues getDoubleAttributeTypeValues()
          Gibt das Objekt zurück, welches die Eigenschaften dieses AttributTyps enthält.
 String getUnit()
           
 
Methods inherited from class de.bsvrz.puk.config.configFile.datamodel.ConfigAttributeType
getDefaultAttributeValue, loadDefaultAttributeValue
 
Methods inherited from class de.bsvrz.puk.config.configFile.datamodel.ConfigConfigurationObject
addSet, directDuplicate, directModification, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, invalidate, isValid, removeSet, revalidate, simpleRevalidate
 
Methods inherited from class de.bsvrz.puk.config.configFile.datamodel.ConfigSystemObject
checkChangePermit, createConfigurationData, equals, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationDataBytes, getId, getName, getPid, getSerializerVersion, getType, getUsedAttributeGroupUsages, hashCode, removeConfigurationData, setConfigurationData, setConfigurationData, setName, simpleInvalidation
 
Methods inherited from class de.bsvrz.puk.config.configFile.datamodel.AbstractConfigSystemObject
compareTo, getConfigurationArea, getConfigurationData, getDataModel, getInfo, getNameOrPidOrId, getPidOrId, getPidOrNameOrId, isOfType, isOfType, setConfigurationData, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.bsvrz.dav.daf.main.config.AttributeType
getDefaultAttributeValue
 
Methods inherited from interface de.bsvrz.dav.daf.main.config.ConfigurationObject
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidate
 
Methods inherited from interface de.bsvrz.dav.daf.main.config.SystemObject
getConfigurationArea, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getName, getNameOrPidOrId, getPid, getPidOrId, getPidOrNameOrId, getType, getUsedAttributeGroupUsages, invalidate, isOfType, isOfType, isValid, setConfigurationData, setConfigurationData, setConfigurationData, setName, toString
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

_debug

private static final Debug _debug
DebugLogger für Debug-Ausgaben


_values

private ConfigDoubleAttributeType.DoubleAttributeTypeValues _values
Speichert die Eigenschaften dieses AttributTyps.

Constructor Detail

ConfigDoubleAttributeType

public ConfigDoubleAttributeType(ConfigurationArea configurationArea,
                                 SystemObjectInformationInterface systemObjectInfo)
Konstruktor eines Fließkomma-Attribut-Typen.

Parameters:
configurationArea - Konfigurationsbereich dieses Attribut-Typen
systemObjectInfo - das korrespondierende Objekt aus den Konfigurationsdateien
Method Detail

getUnit

public String getUnit()
Specified by:
getUnit in interface DoubleAttributeType

getAccuracy

public byte getAccuracy()
Specified by:
getAccuracy in interface DoubleAttributeType

getDoubleAttributeTypeValues

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.

Returns:
die Eigenschaften des AttributTyps