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
,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 Summary
Constructors Constructor Description ConfigSystemObjectType(de.bsvrz.dav.daf.main.config.ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
Konstruktor eines System-Objekt-Typs. -
Method Summary
Modifier and Type Method Description protected void
addElementToCache(de.bsvrz.dav.daf.main.config.DynamicObject createdObject)
protected java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject>
getAllElements()
Liefert alle aktuellen Elemente des Typs zurück.java.util.List<de.bsvrz.dav.daf.main.config.AttributeGroup>
getAttributeGroups()
java.util.List<de.bsvrz.dav.daf.main.config.AttributeGroup>
getDirectAttributeGroups()
java.util.List<de.bsvrz.dav.daf.main.config.ObjectSetUse>
getDirectObjectSetUses()
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject>
getElements()
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject>
getElements(long time)
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject>
getElementsDuringPeriod(long startTime, long endTime)
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject>
getElementsInPeriod(long startTime, long endTime)
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject>
getObjects()
java.util.List<de.bsvrz.dav.daf.main.config.ObjectSetUse>
getObjectSetUses()
java.util.List<de.bsvrz.dav.daf.main.config.SystemObjectType>
getSubTypes()
java.util.List<de.bsvrz.dav.daf.main.config.SystemObjectType>
getSuperTypes()
boolean
inheritsFrom(de.bsvrz.dav.daf.main.config.SystemObjectType other)
boolean
isBaseType()
boolean
isConfigurating()
boolean
isNameOfObjectsPermanent()
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
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObjectType> getSuperTypes()- Specified by:
getSuperTypes
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getSubTypes
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObjectType> getSubTypes()- Specified by:
getSubTypes
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getDirectAttributeGroups
public java.util.List<de.bsvrz.dav.daf.main.config.AttributeGroup> getDirectAttributeGroups()- Specified by:
getDirectAttributeGroups
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getAttributeGroups
public java.util.List<de.bsvrz.dav.daf.main.config.AttributeGroup> 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
public java.util.List<de.bsvrz.dav.daf.main.config.ObjectSetUse> getDirectObjectSetUses()- Specified by:
getDirectObjectSetUses
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getObjectSetUses
public java.util.List<de.bsvrz.dav.daf.main.config.ObjectSetUse> 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
public final java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getObjects()- Specified by:
getObjects
in interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getElements
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElements()- Specified by:
getElements
in interfacede.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 interfacede.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 interfacede.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 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.ConfigurationChangeExceptionHilfsmethode. 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
-