Interface DataChangeEvent
- All Known Implementing Classes:
DataChangesManagedByOvsdbNodeEvent
public interface DataChangeEvent
-
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.
-
Method Details
-
getCreatedData
Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> getCreatedData()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.- Returns:
- map of paths and newly created objects
-
getUpdatedData
Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> getUpdatedData()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.- Returns:
- map of paths and newly created objects
-
getRemovedPaths
Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>> getRemovedPaths()Returns an immutable set of removed paths.- Returns:
- set of removed paths
-
getOriginalData
Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> getOriginalData()Returns an immutable map of updated or removed paths and their original states prior to this change.- Returns:
- map of paths and original state of updated and removed objects.
-