Class DataChangesManagedByOvsdbNodeEvent
java.lang.Object
org.opendaylight.ovsdb.southbound.ovsdb.transact.DataChangesManagedByOvsdbNodeEvent
- All Implemented Interfaces:
DataChangeEvent
-
Constructor Summary
ConstructorDescriptionDataChangesManagedByOvsdbNodeEvent
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, DataChangeEvent event) -
Method Summary
Modifier and TypeMethodDescriptionMap<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,
org.opendaylight.yangtools.yang.binding.DataObject> Returns a map of paths and newly created objects, which were introduced by this change into conceptual data tree, if no new objects were introduced this map will be empty.Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,
org.opendaylight.yangtools.yang.binding.DataObject> Returns an immutable map of updated or removed paths and their original states prior to this change.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>>
Returns an immutable set of removed paths.Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,
org.opendaylight.yangtools.yang.binding.DataObject> Returns a map of paths and objects which were updated by this change in the conceptual data tree if no existing objects were updated this map will be empty.
-
Constructor Details
-
DataChangesManagedByOvsdbNodeEvent
public DataChangesManagedByOvsdbNodeEvent(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, DataChangeEvent event)
-
-
Method Details
-
getCreatedData
public Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> getCreatedData()Description copied from interface:DataChangeEvent
Returns a map of paths and newly created objects, which were introduced by this change into conceptual data tree, if no new objects were introduced this map will be empty.- Specified by:
getCreatedData
in interfaceDataChangeEvent
- Returns:
- map of paths and newly created objects
-
getUpdatedData
public Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> getUpdatedData()Description copied from interface:DataChangeEvent
Returns a map of paths and objects which were updated by this change in the conceptual data tree if no existing objects were updated this map will be empty.- Specified by:
getUpdatedData
in interfaceDataChangeEvent
- Returns:
- map of paths and newly created objects
-
getRemovedPaths
Description copied from interface:DataChangeEvent
Returns an immutable set of removed paths.- Specified by:
getRemovedPaths
in interfaceDataChangeEvent
- Returns:
- set of removed paths
-
getOriginalData
public Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> getOriginalData()Description copied from interface:DataChangeEvent
Returns an immutable map of updated or removed paths and their original states prior to this change.- Specified by:
getOriginalData
in interfaceDataChangeEvent
- Returns:
- map of paths and original state of updated and removed objects.
-