Class ConfigNonMutableSet
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.ConfigObjectSet
de.bsvrz.puk.config.configFile.datamodel.ConfigNonMutableSet
- All Implemented Interfaces:
de.bsvrz.dav.daf.main.config.ConfigurationObject
,de.bsvrz.dav.daf.main.config.NonMutableCollection
,de.bsvrz.dav.daf.main.config.NonMutableSet
,de.bsvrz.dav.daf.main.config.ObjectSet
,de.bsvrz.dav.daf.main.config.SystemObject
,de.bsvrz.dav.daf.main.config.SystemObjectCollection
,java.lang.Comparable
public class ConfigNonMutableSet extends ConfigObjectSet implements de.bsvrz.dav.daf.main.config.NonMutableSet
Implementierung des Interfaces
NonMutableSet
für nicht veränderbare Mengen auf Seiten der Konfiguration.-
Constructor Summary
Constructors Constructor Description ConfigNonMutableSet(de.bsvrz.dav.daf.main.config.ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
Konstruktor für eine Konfigurationsmenge. -
Method Summary
Modifier and Type Method Description void
add(de.bsvrz.dav.daf.main.config.SystemObject[] objects)
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>
getElementsInAllVersions(short fromVersion, short toVersion)
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject>
getElementsInAnyVersions(short fromVersion, short toVersion)
java.util.List<de.bsvrz.dav.daf.main.config.SystemObject>
getElementsInModifiableVersion()
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>
getElementsInVersion(short version)
boolean
isSetChanged(short modifiableVersion)
Gibt zurück, ob es an der Menge eine Änderung in der in Bearbeitung befindlichen Version gibt.void
remove(de.bsvrz.dav.daf.main.config.SystemObject[] objects)
void
removeNullElements()
Methods inherited from class de.bsvrz.puk.config.configFile.datamodel.ConfigObjectSet
add, getObjectSetType, remove
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.ObjectSet
add, getObjectSetType, remove
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
-
ConfigNonMutableSet
public ConfigNonMutableSet(de.bsvrz.dav.daf.main.config.ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)Konstruktor für eine Konfigurationsmenge.- Parameters:
configurationArea
- Konfigurationsbereich dieser MengesystemObjectInfo
- das korrespondierende Objekt aus den Konfigurationsdateien
-
-
Method Details
-
getElementsInModifiableVersion
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsInModifiableVersion()- Specified by:
getElementsInModifiableVersion
in interfacede.bsvrz.dav.daf.main.config.NonMutableCollection
-
getElementsInVersion
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsInVersion(short version)- Specified by:
getElementsInVersion
in interfacede.bsvrz.dav.daf.main.config.NonMutableCollection
-
getElementsInAllVersions
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsInAllVersions(short fromVersion, short toVersion)- Specified by:
getElementsInAllVersions
in interfacede.bsvrz.dav.daf.main.config.NonMutableCollection
-
getElementsInAnyVersions
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElementsInAnyVersions(short fromVersion, short toVersion)- Specified by:
getElementsInAnyVersions
in interfacede.bsvrz.dav.daf.main.config.NonMutableCollection
-
getElements
public java.util.List<de.bsvrz.dav.daf.main.config.SystemObject> getElements()- Specified by:
getElements
in interfacede.bsvrz.dav.daf.main.config.SystemObjectCollection
-
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
-
add
public void add(de.bsvrz.dav.daf.main.config.SystemObject[] objects) throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException- Specified by:
add
in interfacede.bsvrz.dav.daf.main.config.ObjectSet
- Throws:
de.bsvrz.dav.daf.main.config.ConfigurationChangeException
-
remove
public void remove(de.bsvrz.dav.daf.main.config.SystemObject[] objects) throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException- Specified by:
remove
in interfacede.bsvrz.dav.daf.main.config.ObjectSet
- Throws:
de.bsvrz.dav.daf.main.config.ConfigurationChangeException
-
removeNullElements
public void removeNullElements() throws de.bsvrz.dav.daf.main.config.ConfigurationChangeException- Throws:
de.bsvrz.dav.daf.main.config.ConfigurationChangeException
-
isSetChanged
public boolean isSetChanged(short modifiableVersion)Gibt zurück, ob es an der Menge eine Änderung in der in Bearbeitung befindlichen Version gibt.- Parameters:
modifiableVersion
- in Bearbeitung befindliche Version dieses Bereichs- Returns:
true
, wenn es eine Änderung gab, sonstfalse
-