Class ConfigSystemObjectType
java.lang.Object
de.bsvrz.puk.config.configFile.datamodel.AbstractConfigSystemObject
de.bsvrz.puk.config.configFile.datamodel.ConfigSystemObject
de.bsvrz.puk.config.configFile.datamodel.ConfigConfigurationObject
de.bsvrz.puk.config.configFile.datamodel.ConfigSystemObjectType
- All Implemented Interfaces:
de.bsvrz.dav.daf.main.config.ConfigurationObject
,de.bsvrz.dav.daf.main.config.SystemObject
,de.bsvrz.dav.daf.main.config.SystemObjectCollection
,de.bsvrz.dav.daf.main.config.SystemObjectType
,Comparable
- Direct Known Subclasses:
ConfigConfigurationObjectType
,ConfigDynamicObjectType
public class ConfigSystemObjectType
extends ConfigConfigurationObject
implements de.bsvrz.dav.daf.main.config.SystemObjectType
Implementierung der
Typen von System-Objekten
auf Seiten der Konfiguration.-
Constructor Summary
ConstructorsConstructorDescriptionConfigSystemObjectType
(de.bsvrz.dav.daf.main.config.ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo) Konstruktor eines System-Objekt-Typs. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addElementToCache
(de.bsvrz.dav.daf.main.config.DynamicObject createdObject) protected Collection<de.bsvrz.dav.daf.main.config.SystemObject>
Liefert alle aktuellen Elemente des Typs zurück.List<de.bsvrz.dav.daf.main.config.AttributeGroup>
List<de.bsvrz.dav.daf.main.config.AttributeGroup>
List<de.bsvrz.dav.daf.main.config.ObjectSetUse>
List<de.bsvrz.dav.daf.main.config.SystemObject>
List<de.bsvrz.dav.daf.main.config.SystemObject>
getElements
(long time) List<de.bsvrz.dav.daf.main.config.SystemObject>
getElementsDuringPeriod
(long startTime, long endTime) List<de.bsvrz.dav.daf.main.config.SystemObject>
getElementsInPeriod
(long startTime, long endTime) final List<de.bsvrz.dav.daf.main.config.SystemObject>
List<de.bsvrz.dav.daf.main.config.ObjectSetUse>
List<de.bsvrz.dav.daf.main.config.SystemObjectType>
List<de.bsvrz.dav.daf.main.config.SystemObjectType>
boolean
inheritsFrom
(de.bsvrz.dav.daf.main.config.SystemObjectType other) boolean
boolean
boolean
protected void
removeElementFromCache
(de.bsvrz.dav.daf.main.config.DynamicObject invalidatedObject) protected void
validateAttributeGroup
(de.bsvrz.dav.daf.main.config.AttributeGroup attributeGroup) Hilfsmethode.Methods inherited from class de.bsvrz.puk.config.configFile.datamodel.ConfigConfigurationObject
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, invalidate, isValid, removeSet, revalidate, simpleRevalidate
Methods inherited from class de.bsvrz.puk.config.configFile.datamodel.ConfigSystemObject
createConfigurationData, equals, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationDataBytes, getId, getName, getObjectLookupForData, getPid, getType, getUsedAttributeGroupUsages, hashCode, originalHashCode, 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 java.lang.Comparable
compareTo
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
-
Constructor Details
-
ConfigSystemObjectType
public ConfigSystemObjectType(de.bsvrz.dav.daf.main.config.ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo) Konstruktor eines System-Objekt-Typs.- Parameters:
configurationArea
- der Konfigurationsbereich dieses ObjektssystemObjectInfo
- das korrespondierende Objekt für die Dateioperationen dieses Objekts
-
-
Method Details
-
getSuperTypes
- Specified by:
getSuperTypes
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getSubTypes
- Specified by:
getSubTypes
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getDirectAttributeGroups
- Specified by:
getDirectAttributeGroups
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getAttributeGroups
- Specified by:
getAttributeGroups
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
isBaseType
public boolean isBaseType()- Specified by:
isBaseType
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
isConfigurating
public boolean isConfigurating()- Specified by:
isConfigurating
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getDirectObjectSetUses
- Specified by:
getDirectObjectSetUses
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getObjectSetUses
- Specified by:
getObjectSetUses
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
inheritsFrom
public boolean inheritsFrom(de.bsvrz.dav.daf.main.config.SystemObjectType other) - Specified by:
inheritsFrom
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
isNameOfObjectsPermanent
public boolean isNameOfObjectsPermanent()- Specified by:
isNameOfObjectsPermanent
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getObjects
- Specified by:
getObjects
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getElements
- Specified by:
getElements
in interfacede.bsvrz.dav.daf.main.config.SystemObjectCollection
-
getAllElements
Liefert alle aktuellen Elemente des Typs zurück. Bei dynamischen Typen werden auch die in einer Simulation erzeugten Objekte zurückgeliefert.- Returns:
- Alle aktuellen Elemente des Typs unabhängig von der Simulationsvariante.
-
getElements
- Specified by:
getElements
in interfacede.bsvrz.dav.daf.main.config.SystemObjectCollection
-
getElementsInPeriod
public List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsInPeriod(long startTime, long endTime) - Specified by:
getElementsInPeriod
in interfacede.bsvrz.dav.daf.main.config.SystemObjectCollection
-
getElementsDuringPeriod
public List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsDuringPeriod(long startTime, long endTime) - Specified by:
getElementsDuringPeriod
in interfacede.bsvrz.dav.daf.main.config.SystemObjectCollection
-
addElementToCache
protected void addElementToCache(de.bsvrz.dav.daf.main.config.DynamicObject createdObject) -
removeElementFromCache
protected void removeElementFromCache(de.bsvrz.dav.daf.main.config.DynamicObject invalidatedObject) -
validateAttributeGroup
protected void validateAttributeGroup(de.bsvrz.dav.daf.main.config.AttributeGroup attributeGroup) throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException Hilfsmethode. Wirft eine Exception, wenn die angegebene Attributgruppe nicht an diesem Typ verwendet werden kann.- Parameters:
attributeGroup
- Attributgruppe- Throws:
de.bsvrz.dav.daf.main.config.ConfigurationChangeException
-