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 derTypen von System-Objektenauf 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddElementToCache(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()booleaninheritsFrom(de.bsvrz.dav.daf.main.config.SystemObjectType other)booleanisBaseType()booleanisConfigurating()booleanisNameOfObjectsPermanent()protected 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, 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 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 Detail
-
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 Detail
-
getSuperTypes
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObjectType> getSuperTypes()
- Specified by:
getSuperTypesin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getSubTypes
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObjectType> getSubTypes()
- Specified by:
getSubTypesin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getDirectAttributeGroups
public java.util.List<de.bsvrz.dav.daf.main.config.AttributeGroup> getDirectAttributeGroups()
- Specified by:
getDirectAttributeGroupsin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getAttributeGroups
public java.util.List<de.bsvrz.dav.daf.main.config.AttributeGroup> 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
public java.util.List<de.bsvrz.dav.daf.main.config.ObjectSetUse> getDirectObjectSetUses()
- Specified by:
getDirectObjectSetUsesin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getObjectSetUses
public java.util.List<de.bsvrz.dav.daf.main.config.ObjectSetUse> 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
public final java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getObjects()
- Specified by:
getObjectsin interfacede.bsvrz.dav.daf.main.config.SystemObjectType
-
getElements
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElements()
- Specified by:
getElementsin 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:
getElementsin 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:
getElementsInPeriodin 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:
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.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
-
-