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

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
All Implemented Interfaces:
AttributeType, ConfigurationObject, SystemObject, Comparable
Direct Known Subclasses:
ConfigDoubleAttributeType, ConfigIntegerAttributeType, ConfigReferenceAttributeType, ConfigStringAttributeType, ConfigTimeAttributeType

public class ConfigAttributeType
extends ConfigConfigurationObject
implements AttributeType

Implementierung des Interfaces für Attributtypen.

Author:
Stephan Homeyer (sth), Kappich Systemberatung, Roland Schmitz (rs), Kappich Systemberatung

Field Summary
private static Debug _debug
          DebugLogger für Debug-Ausgaben
private  String _defaultAttributeValue
          Default-Attributwert oder null falls nicht definiert.
 
Fields inherited from class de.bsvrz.puk.config.configFile.datamodel.ConfigSystemObject
_systemObjectInfo
 
Constructor Summary
ConfigAttributeType(ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
          Konstruktor für Attributtypen.
 
Method Summary
 String getDefaultAttributeValue()
          Ermittelt den Default-Attributwert dieses Attributtyps.
 void loadDefaultAttributeValue()
          Lädt den Default-Attributwert dieses Attributtyps aus einem konfigurierenden Datensatz.
 
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.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


_defaultAttributeValue

private String _defaultAttributeValue
Default-Attributwert oder null falls nicht definiert.

Constructor Detail

ConfigAttributeType

public ConfigAttributeType(ConfigurationArea configurationArea,
                           SystemObjectInformationInterface systemObjectInfo)
Konstruktor für Attributtypen.

Parameters:
configurationArea - der Konfigurationsbereich dieses Attribut-Typs
systemObjectInfo - das korrespondierende Objekt für die Dateioperationen dieses Attribut-Typs
Method Detail

getDefaultAttributeValue

public String getDefaultAttributeValue()
Ermittelt den Default-Attributwert dieses Attributtyps.

Specified by:
getDefaultAttributeValue in interface AttributeType
Returns:
Default-Attributwert dieses Attributtyps oder null falls kein Defaultwert festgelegt wurde.

loadDefaultAttributeValue

public void loadDefaultAttributeValue()
Lädt den Default-Attributwert dieses Attributtyps aus einem konfigurierenden Datensatz.