public class ConfigMutableSet extends ConfigObjectSet implements de.bsvrz.dav.daf.main.config.MutableSet
MutableSet für dynamische Mengen auf Seiten der Konfiguration.| Constructor and Description |
|---|
ConfigMutableSet(de.bsvrz.dav.daf.main.config.ConfigurationArea configurationArea,
SystemObjectInformationInterface systemObjectInfo)
Konstruktor einer dynamischen Menge.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(de.bsvrz.dav.daf.main.config.SystemObject[] objects) |
void |
add(de.bsvrz.dav.daf.main.config.SystemObject[] objects,
short simulationVariant)
Erweitert die add-Methode um eine Simulationsvariante, die angibt, in welcher Simulation diese Objekte der Menge hinzugefügt werden.
|
void |
add(de.bsvrz.dav.daf.main.config.SystemObject object,
short simulationVariant)
Fügt ein Element zur dynamischen Menge in Abhängigkeit der Simulationsvariante.
|
void |
addChangeListener(de.bsvrz.dav.daf.main.config.MutableSetChangeListener listener) |
void |
addChangeListener(de.bsvrz.dav.daf.main.config.MutableSetChangeListener listener,
short simulationVariant) |
void |
addChangeListener(short simulationVariant,
de.bsvrz.dav.daf.main.config.MutableCollectionChangeListener changeListener) |
void |
addConfigurationCommunicationChangeListener(de.bsvrz.dav.daf.main.config.ConfigurationCommunicationChangeListener listener) |
void |
deleteElements(short simulationVariant)
Löscht alle Elemente permanent aus dieser dynamischen Menge.
|
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> |
deleteElementsOlderThan(long deletionTime)
Entfernt alle historischen Elemente, die vor dem angegebenen Zeitstempel auf ungültig gesetzt wurden
|
java.util.Collection<? extends MutableElementInterface> |
getAllElements()
Gibt alle Elemente der Menge zurück
|
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> |
getElements(short simulationVariant) |
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> |
getElementsDuringPeriod(long startTime,
long endTime,
short simulationVariant)
Bestimmt die Elemente, die während des gesamten angegebenen Zeitbereichs zur Zusammenstellung gehört haben in Abhängigkeit der Simulationsvariante.
|
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> |
getElementsInPeriod(long startTime,
long endTime,
short simulationVariant)
Bestimmt die Elemente, die an mindestens einem Zeitpunkt des angegebenen Zeitbereichs zur Zusammenstellung gehört haben in Abhängigkeit der
Simulationsvariante.
|
java.lang.String |
getElementsManagementPid() |
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> |
getElementsWithSimulationVariant(long time,
short simulationVariant)
Gibt die zum angegebenen Zeitpunkt gültigen Elemente der angegebenen Simulationsvariante zurück
|
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> |
getElementsWithSimulationVariant(short simulationVariant)
Gibt die aktuell gültigen Elemente der angegebenen Simulationsvariante zurück
|
MutableSetStorage |
getMutableSetStorage() |
boolean |
isConfigurationCommunicationActive() |
void |
remove(de.bsvrz.dav.daf.main.config.SystemObject[] objects) |
void |
remove(de.bsvrz.dav.daf.main.config.SystemObject[] objects,
short simulationVariant)
Erweitert die remove-Methode um eine Simulationsvariante, die angibt, in welcher Simulation diese Objekte aus der Menge entfernt werden sollen.
|
void |
remove(de.bsvrz.dav.daf.main.config.SystemObject object,
short simulationVariant)
Entfernt ein Element aus der dynamischen Menge in Abhängigkeit der Simulationsvariante.
|
void |
removeChangeListener(de.bsvrz.dav.daf.main.config.MutableSetChangeListener listener) |
void |
removeChangeListener(de.bsvrz.dav.daf.main.config.MutableSetChangeListener listener,
short simulationsVariant) |
void |
removeChangeListener(short simulationVariant,
de.bsvrz.dav.daf.main.config.MutableCollectionChangeListener changeListener) |
void |
removeConfigurationCommunicationChangeListener(de.bsvrz.dav.daf.main.config.ConfigurationCommunicationChangeListener listener) |
add, getObjectSetType, removeaddSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, invalidate, isValid, removeSet, revalidate, simpleRevalidatecreateConfigurationData, equals, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationDataBytes, getId, getName, getObjectLookupForData, getPid, getType, getUsedAttributeGroupUsages, hashCode, originalHashCode, removeConfigurationData, setConfigurationData, setConfigurationData, setName, simpleInvalidationcompareTo, getConfigurationArea, getConfigurationData, getDataModel, getInfo, getNameOrPidOrId, getPidOrId, getPidOrNameOrId, isOfType, isOfType, setConfigurationData, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, getObjectSetType, removeaddSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidategetConfigurationArea, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getName, getNameOrPidOrId, getPid, getPidOrId, getPidOrNameOrId, getType, getUsedAttributeGroupUsages, invalidate, isOfType, isOfType, isValid, setConfigurationData, setConfigurationData, setConfigurationData, setName, toStringpublic ConfigMutableSet(de.bsvrz.dav.daf.main.config.ConfigurationArea configurationArea,
SystemObjectInformationInterface systemObjectInfo)
configurationArea - Konfigurationsbereich dieser dynamischen MengesystemObjectInfo - das korrespondierende Objekt aus den Konfigurationsdateienpublic void addChangeListener(de.bsvrz.dav.daf.main.config.MutableSetChangeListener listener)
addChangeListener in interface de.bsvrz.dav.daf.main.config.MutableSetpublic void addChangeListener(de.bsvrz.dav.daf.main.config.MutableSetChangeListener listener,
short simulationVariant)
public void removeChangeListener(de.bsvrz.dav.daf.main.config.MutableSetChangeListener listener)
removeChangeListener in interface de.bsvrz.dav.daf.main.config.MutableSetpublic void removeChangeListener(de.bsvrz.dav.daf.main.config.MutableSetChangeListener listener,
short simulationsVariant)
public void deleteElements(short simulationVariant)
throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException
simulationVariant - die Simulationsvariantede.bsvrz.dav.daf.main.config.ConfigurationChangeException - Falls die Elemente zur Simulationsvariante nicht gelöscht werden konnten oder nicht gelöscht werden dürfen (bei Simulationsvariante 0).public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> deleteElementsOlderThan(long deletionTime)
throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException
deletionTime - Zeitstempel analog zu System.currentTimeMillis()de.bsvrz.dav.daf.main.config.ConfigurationChangeExceptionpublic java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElements()
getElements in interface de.bsvrz.dav.daf.main.config.SystemObjectCollectionpublic java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsWithSimulationVariant(short simulationVariant)
simulationVariant - Simulationsvariante oder 0 für die normalen Elementepublic java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElements(long time)
getElements in interface de.bsvrz.dav.daf.main.config.SystemObjectCollectionpublic java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsWithSimulationVariant(long time,
short simulationVariant)
time - Zeitpunkt analog zu System.currentTimeMillis()simulationVariant - Simulationsvariante oder 0 für die normalen Elementepublic java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsInPeriod(long startTime,
long endTime)
getElementsInPeriod in interface de.bsvrz.dav.daf.main.config.SystemObjectCollectionpublic java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsInPeriod(long startTime,
long endTime,
short simulationVariant)
startTime - Erster Zeitpunkt des Zeitbereichs in Millisekunden seit 1970.endTime - Letzter Zeitpunkt des Zeitbereichs in Millisekunden seit 1970.simulationVariant - die Simulationsvariantepublic java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsDuringPeriod(long startTime,
long endTime)
getElementsDuringPeriod in interface de.bsvrz.dav.daf.main.config.SystemObjectCollectionpublic java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsDuringPeriod(long startTime,
long endTime,
short simulationVariant)
startTime - Erster Zeitpunkt des Zeitbereichs in Millisekunden seit 1970.endTime - Letzter Zeitpunkt des Zeitbereichs in Millisekunden seit 1970.simulationVariant - die Simulationsvariantepublic void add(de.bsvrz.dav.daf.main.config.SystemObject object,
short simulationVariant)
throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException
object - Element, welches hinzugefügt werden sollsimulationVariant - die Simulationsvariantede.bsvrz.dav.daf.main.config.ConfigurationChangeException - Falls das Objekt nicht hinzugefügt werden kann/darf.public void add(de.bsvrz.dav.daf.main.config.SystemObject[] objects)
throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException
add in interface de.bsvrz.dav.daf.main.config.ObjectSetde.bsvrz.dav.daf.main.config.ConfigurationChangeExceptionpublic void add(de.bsvrz.dav.daf.main.config.SystemObject[] objects,
short simulationVariant)
throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException
objects - die hinzuzufügenden ElementesimulationVariant - die Simulationsvariantede.bsvrz.dav.daf.main.config.ConfigurationChangeException - Wenn mindestens eines der übergebenen Objekte nicht in die Menge aufgenommen werden konnte und noch nicht in der Menge enthalten war.add(de.bsvrz.dav.daf.main.config.SystemObject[])public MutableSetStorage getMutableSetStorage()
public java.lang.String getElementsManagementPid()
public void remove(de.bsvrz.dav.daf.main.config.SystemObject object,
short simulationVariant)
throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException
object - Element, welches aus der dynamischen Menge entfernt werden sollsimulationVariant - die Simulationsvariantede.bsvrz.dav.daf.main.config.ConfigurationChangeException - Falls das Element nicht entfernt werden kann.public void remove(de.bsvrz.dav.daf.main.config.SystemObject[] objects)
throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException
remove in interface de.bsvrz.dav.daf.main.config.ObjectSetde.bsvrz.dav.daf.main.config.ConfigurationChangeExceptionpublic void remove(de.bsvrz.dav.daf.main.config.SystemObject[] objects,
short simulationVariant)
throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException
objects - Elemente, welche aus der dynamischen Menge entfernt werden sollensimulationVariant - die Simulationsvariantede.bsvrz.dav.daf.main.config.ConfigurationChangeException - Falls die Elemente nicht entfernt werden können.public java.util.Collection<? extends MutableElementInterface> getAllElements()
public void addChangeListener(short simulationVariant,
de.bsvrz.dav.daf.main.config.MutableCollectionChangeListener changeListener)
addChangeListener in interface de.bsvrz.dav.daf.main.config.MutableCollectionpublic void removeChangeListener(short simulationVariant,
de.bsvrz.dav.daf.main.config.MutableCollectionChangeListener changeListener)
removeChangeListener in interface de.bsvrz.dav.daf.main.config.MutableCollectionpublic java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElements(short simulationVariant)
getElements in interface de.bsvrz.dav.daf.main.config.MutableCollectionpublic void addConfigurationCommunicationChangeListener(de.bsvrz.dav.daf.main.config.ConfigurationCommunicationChangeListener listener)
addConfigurationCommunicationChangeListener in interface de.bsvrz.dav.daf.main.config.ConfigurationCommunicationInterfacepublic void removeConfigurationCommunicationChangeListener(de.bsvrz.dav.daf.main.config.ConfigurationCommunicationChangeListener listener)
removeConfigurationCommunicationChangeListener in interface de.bsvrz.dav.daf.main.config.ConfigurationCommunicationInterfacepublic boolean isConfigurationCommunicationActive()
isConfigurationCommunicationActive in interface de.bsvrz.dav.daf.main.config.ConfigurationCommunicationInterface