Class 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, java.lang.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 Details

    • ConfigSystemObjectType

      public ConfigSystemObjectType​(de.bsvrz.dav.daf.main.config.ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
      Konstruktor eines System-Objekt-Typs.
      Parameters:
      configurationArea - der Konfigurationsbereich dieses Objekts
      systemObjectInfo - das korrespondierende Objekt für die Dateioperationen dieses Objekts
  • Method Details

    • getSuperTypes

      public java.util.List<de.bsvrz.dav.daf.main.config.SystemObjectType> getSuperTypes()
      Specified by:
      getSuperTypes in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • getSubTypes

      public java.util.List<de.bsvrz.dav.daf.main.config.SystemObjectType> getSubTypes()
      Specified by:
      getSubTypes in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • getDirectAttributeGroups

      public java.util.List<de.bsvrz.dav.daf.main.config.AttributeGroup> getDirectAttributeGroups()
      Specified by:
      getDirectAttributeGroups in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • getAttributeGroups

      public java.util.List<de.bsvrz.dav.daf.main.config.AttributeGroup> getAttributeGroups()
      Specified by:
      getAttributeGroups in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • isBaseType

      public boolean isBaseType()
      Specified by:
      isBaseType in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • isConfigurating

      public boolean isConfigurating()
      Specified by:
      isConfigurating in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • getDirectObjectSetUses

      public java.util.List<de.bsvrz.dav.daf.main.config.ObjectSetUse> getDirectObjectSetUses()
      Specified by:
      getDirectObjectSetUses in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • getObjectSetUses

      public java.util.List<de.bsvrz.dav.daf.main.config.ObjectSetUse> getObjectSetUses()
      Specified by:
      getObjectSetUses in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • inheritsFrom

      public boolean inheritsFrom​(de.bsvrz.dav.daf.main.config.SystemObjectType other)
      Specified by:
      inheritsFrom in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • isNameOfObjectsPermanent

      public boolean isNameOfObjectsPermanent()
      Specified by:
      isNameOfObjectsPermanent in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • getObjects

      public final java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getObjects()
      Specified by:
      getObjects in interface de.bsvrz.dav.daf.main.config.SystemObjectType
    • getElements

      public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElements()
      Specified by:
      getElements in interface de.bsvrz.dav.daf.main.config.SystemObjectCollection
    • getAllElements

      protected java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> 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

      public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElements​(long time)
      Specified by:
      getElements in interface de.bsvrz.dav.daf.main.config.SystemObjectCollection
    • getElementsInPeriod

      public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsInPeriod​(long startTime, long endTime)
      Specified by:
      getElementsInPeriod in interface de.bsvrz.dav.daf.main.config.SystemObjectCollection
    • getElementsDuringPeriod

      public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsDuringPeriod​(long startTime, long endTime)
      Specified by:
      getElementsDuringPeriod in interface de.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