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

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.ConfigStringAttributeType
All Implemented Interfaces:
AttributeType, ConfigurationObject, StringAttributeType, SystemObject, UndefinedAttributeValueAccess, Comparable

public class ConfigStringAttributeType
extends ConfigAttributeType
implements StringAttributeType

Implementierung des Interfaces StringAttributeType auf Seiten der Konfiguration.

Author:
Stephan Homeyer (sth), Kappich Systemberatung

Nested Class Summary
private  class ConfigStringAttributeType.StringAttributeTypeValues
          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  ConfigStringAttributeType.StringAttributeTypeValues _values
          Speichert die Einstellungen für den ZeichenkettenAttributTyp.
 
Fields inherited from class de.bsvrz.puk.config.configFile.datamodel.ConfigSystemObject
_systemObjectInfo
 
Fields inherited from interface de.bsvrz.dav.daf.main.config.StringAttributeType
ISO_8859_1
 
Constructor Summary
ConfigStringAttributeType(ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
          Konstruktor eines Zeichenketten-Attribut-Typen.
 
Method Summary
 String getEncodingName()
           
 byte getEncodingValue()
           
 int getMaxLength()
           
private  ConfigStringAttributeType.StringAttributeTypeValues getStringAttributeTypeValues()
          Gibt das Objekt zurück, welches die Eigenschaften dieses AttributTyps enthält.
 boolean isDefined(Data data)
           
 boolean isLengthLimited()
           
 void setToUndefined(Data data)
           
 
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 ConfigStringAttributeType.StringAttributeTypeValues _values
Speichert die Einstellungen für den ZeichenkettenAttributTyp.

Constructor Detail

ConfigStringAttributeType

public ConfigStringAttributeType(ConfigurationArea configurationArea,
                                 SystemObjectInformationInterface systemObjectInfo)
Konstruktor eines Zeichenketten-Attribut-Typen.

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

getMaxLength

public int getMaxLength()
Specified by:
getMaxLength in interface StringAttributeType

isLengthLimited

public boolean isLengthLimited()
Specified by:
isLengthLimited in interface StringAttributeType

getEncodingName

public String getEncodingName()
Specified by:
getEncodingName in interface StringAttributeType

getEncodingValue

public byte getEncodingValue()
Specified by:
getEncodingValue in interface StringAttributeType

getStringAttributeTypeValues

private ConfigStringAttributeType.StringAttributeTypeValues getStringAttributeTypeValues()
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

setToUndefined

public void setToUndefined(Data data)
Specified by:
setToUndefined in interface UndefinedAttributeValueAccess

isDefined

public boolean isDefined(Data data)
Specified by:
isDefined in interface UndefinedAttributeValueAccess