public class ConfigAttribute extends ConfigConfigurationObject implements Attribute
| Modifier and Type | Class and Description |
|---|---|
private class |
ConfigAttribute.AttributeValues
Diese Klasse liest die Informationen für das Attribut mit Hilfe des Deserializers direkt aus dem Byte-Array des konfigurierenden Datensatzes aus.
|
| Modifier and Type | Field and Description |
|---|---|
private static Debug |
_debug
DebugLogger für Debug-Ausgaben
|
private String |
_defaultAttributeValue
Default-Attributwert oder
null falls nicht definiert. |
private ConfigAttribute.AttributeValues |
_values
Speichert die Attributeigenschaften dieses Attributs.
|
_systemObjectInfo| Constructor and Description |
|---|
ConfigAttribute(ConfigurationArea configurationArea,
SystemObjectInformationInterface systemObjectInfo)
Konstruktor für ein KonfigurationsObjekt.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeType |
getAttributeType()
Bestimmt den Typ dieses Attributs über den ein Zugriff auf die Eigenschaften von konkreten Attributwerten
ermöglicht wird.
|
private ConfigAttribute.AttributeValues |
getAttributeValues()
Gibt das Objekt zurück, welches die Attributeigenschaften dieses Attributs enthält.
|
String |
getDefaultAttributeValue()
Ermittelt den Default-Attributwert dieses Attribut.
|
int |
getMaxCount()
Bestimmt, ob die maximale Feldgröße dieses Attributs beschränkt ist.
|
int |
getPosition()
Bestimmt die Position eines Attributs oder einer Attributliste in der übergeordneten Attributmenge
(Attributgruppe bzw.
|
(package private) void |
invalidateCache()
Wird aufgerufen, wenn das Objekt verändert wird.
|
boolean |
isArray()
Bestimmt, ob dieses Attribut ein Feld ist.
|
boolean |
isCountLimited()
Bestimmt, ob die Feldgröße dieses Attributs durch eine Obergrenze beschränkt ist.
|
boolean |
isCountVariable()
Bestimmt, ob die Feldgröße dieses Attributs variieren kann.
|
void |
loadDefaultAttributeValue()
Lädt den Default-Attributwert dieses Attributs aus einem konfigurierenden Datensatz.
|
addSet, directDuplicate, directModification, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, invalidate, isValid, removeSet, revalidate, simpleRevalidatecheckChangePermit, createConfigurationData, equals, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationDataBytes, getId, getName, getObjectLookupForData, getPid, getSerializerVersion, getType, getUsedAttributeGroupUsages, hashCode, originalHashCode, removeConfigurationData, setConfigurationData, setConfigurationData, setName, simpleInvalidationcompareTo, getConfigurationArea, getConfigurationData, getDataModel, getInfo, getNameOrPidOrId, getPidOrId, getPidOrNameOrId, isOfType, isOfType, setConfigurationData, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidategetConfigurationArea, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getName, getNameOrPidOrId, getPid, getPidOrId, getPidOrNameOrId, getType, getUsedAttributeGroupUsages, invalidate, isOfType, isOfType, isValid, setConfigurationData, setConfigurationData, setConfigurationData, setName, toStringcompareToprivate static final Debug _debug
private ConfigAttribute.AttributeValues _values
private String _defaultAttributeValue
null falls nicht definiert.public ConfigAttribute(ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
configurationArea - der Konfigurationsbereich dieses KonfigurationsObjektssystemObjectInfo - das korrespondierende Objekt für die Dateioperationen dieses KonfigurationsObjektspublic int getPosition()
de.bsvrz.dav.daf.main.config.AttributegetPosition in interface Attribute1.public boolean isCountLimited()
de.bsvrz.dav.daf.main.config.AttributeisCountLimited in interface Attributetrue, wenn die Anzahl der Werte beschränkt ist;false, wenn die
Anzahl der Werte nicht beschränkt ist.public boolean isCountVariable()
de.bsvrz.dav.daf.main.config.AttributeisCountVariable in interface Attributetrue, wenn die Anzahl der Werte dieses Attributs mit jedem Datensatz variieren
kann;false, wenn die Anzahl der Werte fix ist.public int getMaxCount()
de.bsvrz.dav.daf.main.config.AttributegetMaxCount in interface Attributepublic boolean isArray()
de.bsvrz.dav.daf.main.config.Attributepublic AttributeType getAttributeType()
de.bsvrz.dav.daf.main.config.AttributegetAttributeType in interface Attributepublic String getDefaultAttributeValue()
getDefaultAttributeValue in interface Attributenull falls kein Defaultwert festgelegt wurde.public void loadDefaultAttributeValue()
private ConfigAttribute.AttributeValues getAttributeValues()
void invalidateCache()
invalidateCache in class ConfigConfigurationObject