public class ConfigAttributeGroup extends ConfigAttributeSet implements AttributeGroup
Implementierung der Attributgruppe auf Seiten der Konfiguration.
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Aspect,AttributeGroupUsage> |
_attributeGroupUsageMap
Speichert die Attributgruppenverwendungen zu ihren Aspekten.
|
_systemObjectInfo
Constructor and Description |
---|
ConfigAttributeGroup(ConfigurationArea configurationArea,
SystemObjectInformationInterface systemObjectInfo)
Konstruktor für eine Attributgruppe.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Aspect> |
getAspects()
Bestimmt die möglichen Aspekte, unter denen die Attributgruppe verwendet werden kann.
|
AttributeGroupUsage |
getAttributeGroupUsage(Aspect aspect)
Gibt die Attributgruppenverwendung des angegebenen Aspekts zurück.
|
private java.util.Map<Aspect,AttributeGroupUsage> |
getAttributeGroupUsageMap()
Liest die Attributgruppenverwendungen ein und speichert sie in Abhängigkeit zu ihren Aspekten.
|
java.util.Collection<AttributeGroupUsage> |
getAttributeGroupUsages()
Liefert alle Attributgruppenverwendungen dieser Attributgruppe zurück.
|
(package private) void |
invalidateCache()
Wird aufgerufen, wenn das Objekt verändert wird.
|
boolean |
isConfigurating()
Ermittelt, ob diese Attributgruppe mit dem Aspekt "asp.eigenschaften" für konfigurierende Datensätze benutzt werden kann.
|
boolean |
isParameter()
Gibt an, ob diese Attributgruppe als Parameter verwendet werden kann oder nicht.
|
getAttribute, getAttributes
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
getAttribute, getAttributes
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 java.util.Map<Aspect,AttributeGroupUsage> _attributeGroupUsageMap
Speichert die Attributgruppenverwendungen zu ihren Aspekten.
public ConfigAttributeGroup(ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
Konstruktor für eine Attributgruppe.
configurationArea
- der Konfigurationsbereich der AttributgruppesystemObjectInfo
- das korrespondierende Objekt für die Dateioperationen der Attributgruppepublic boolean isParameter()
de.bsvrz.dav.daf.main.config.AttributeGroup
isParameter
in interface AttributeGroup
true
, wenn die Attributgruppe als Parameter verwendet werden kann;false
, wenn die Attributgruppe nicht als Parameter
verwendet werden kann.public boolean isConfigurating()
de.bsvrz.dav.daf.main.config.AttributeGroup
isConfigurating
in interface AttributeGroup
true
, wenn die Attributgruppe mit dem Aspekt "asp.eigenschaften" für konfigurierende Datensätze benutzt werden kann; sonst
false
.public java.util.Collection<AttributeGroupUsage> getAttributeGroupUsages()
de.bsvrz.dav.daf.main.config.AttributeGroup
getAttributeGroupUsages
in interface AttributeGroup
public AttributeGroupUsage getAttributeGroupUsage(Aspect aspect)
de.bsvrz.dav.daf.main.config.AttributeGroup
getAttributeGroupUsage
in interface AttributeGroup
aspect
- Aspekt der gewünschten Attributgruppenverwendungnull
, falls zum angegebenen Aspekt keine Attributgruppenverwendung definiert
ist.public java.util.Collection<Aspect> getAspects()
de.bsvrz.dav.daf.main.config.AttributeGroup
getAspects
in interface AttributeGroup
Aspekten
private java.util.Map<Aspect,AttributeGroupUsage> getAttributeGroupUsageMap()
Liest die Attributgruppenverwendungen ein und speichert sie in Abhängigkeit zu ihren Aspekten.
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 ConfigConfigurationObject