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 voidaddElementToCache(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>booleaninheritsFrom(de.bsvrz.dav.daf.main.config.SystemObjectType other) booleanbooleanbooleanprotected voidremoveElementFromCache(de.bsvrz.dav.daf.main.config.DynamicObject invalidatedObject) protected voidvalidateAttributeGroup(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, simpleRevalidateMethods 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, simpleInvalidationMethods inherited from class de.bsvrz.puk.config.configFile.datamodel.AbstractConfigSystemObject
compareTo, getConfigurationArea, getConfigurationData, getDataModel, getInfo, getNameOrPidOrId, getPidOrId, getPidOrNameOrId, isOfType, isOfType, setConfigurationData, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.bsvrz.dav.daf.main.config.ConfigurationObject
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidateMethods 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:
getSuperTypesin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getSubTypes
- Specified by:
getSubTypesin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getDirectAttributeGroups
- Specified by:
getDirectAttributeGroupsin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getAttributeGroups
- Specified by:
getAttributeGroupsin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
isBaseType
public boolean isBaseType()- Specified by:
isBaseTypein interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
isConfigurating
public boolean isConfigurating()- Specified by:
isConfiguratingin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getDirectObjectSetUses
- Specified by:
getDirectObjectSetUsesin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getObjectSetUses
- Specified by:
getObjectSetUsesin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
inheritsFrom
public boolean inheritsFrom(de.bsvrz.dav.daf.main.config.SystemObjectType other) - Specified by:
inheritsFromin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
isNameOfObjectsPermanent
public boolean isNameOfObjectsPermanent()- Specified by:
isNameOfObjectsPermanentin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getObjects
- Specified by:
getObjectsin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getElements
- Specified by:
getElementsin 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:
getElementsin interfacede.bsvrz.dav.daf.main.config.SystemObjectCollection
-
getElementsInPeriod
public List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsInPeriod(long startTime, long endTime) - Specified by:
getElementsInPeriodin interfacede.bsvrz.dav.daf.main.config.SystemObjectCollection
-
getElementsDuringPeriod
public List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsDuringPeriod(long startTime, long endTime) - Specified by:
getElementsDuringPeriodin 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
-