T - Type of modified objectpublic interface DataObjectModification<T extends DataObject> extends org.opendaylight.yangtools.concepts.Identifiable<InstanceIdentifier.PathArgument>
Represents modification of Data Object
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
DataObjectModification.ModificationType
Represents type of modification which has occured. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
T | 
getDataAfter()
Returns after-state of top level container. 
 | 
T | 
getDataBefore()
Returns before-state of top level container. 
 | 
Class<T> | 
getDataType()
Returns type of modified object. 
 | 
InstanceIdentifier.PathArgument | 
getIdentifier()  | 
DataObjectModification.ModificationType | 
getModificationType()
Returns type of modification. 
 | 
<C extends Augmentation<T> & DataObject> | 
getModifiedAugmentation(Class<C> augmentation)
Returns augmentation child modification if  
augmentation was modified by this
 modification. | 
DataObjectModification<? extends DataObject> | 
getModifiedChild(InstanceIdentifier.PathArgument childArgument)
Returns a child modification if a node identified by  
childArgument was modified by
 this modification. | 
<C extends ChildOf<? super T>> | 
getModifiedChildContainer(Class<C> child)
Returns container child modification if  
child was modified by this
 modification. | 
<C extends Identifiable<K> & ChildOf<? super T>,K extends Identifier<C>> | 
getModifiedChildListItem(Class<C> listItem,
                        K listKey)
Returns child list item modification if  
child was modified by this modification. | 
Collection<DataObjectModification<? extends DataObject>> | 
getModifiedChildren()
Returns unmodifiable collection of modified direct children. 
 | 
<C extends ChildOf<? super T>> | 
getModifiedChildren(Class<C> childType)
Returns child list item modification if  
child was modified by this modification. | 
InstanceIdentifier.PathArgument getIdentifier()
getIdentifier in interface org.opendaylight.yangtools.concepts.Identifiable<InstanceIdentifier.PathArgument>@Nonnull Class<T> getDataType()
@Nonnull DataObjectModification.ModificationType getModificationType()
@Nullable T getDataBefore()
@Nullable T getDataAfter()
@Nonnull Collection<DataObjectModification<? extends DataObject>> getModifiedChildren()
<C extends ChildOf<? super T>> Collection<DataObjectModification<C>> getModifiedChildren(@Nonnull Class<C> childType)
child was modified by this modification.childType - Type of list item - must be list item with keychild if child was modified, null otherwise.IllegalArgumentException - If supplied childType class is not valid child according
         to generated model.@Nullable <C extends ChildOf<? super T>> DataObjectModification<C> getModifiedChildContainer(@Nonnull Class<C> child)
child was modified by this
 modification.
 For accessing all modified list items consider iterating over getModifiedChildren().
child - Type of child - must be only containerchild if child was modified, null otherwise.IllegalArgumentException - If supplied child class is not valid child according
         to generated model.@Nullable <C extends Augmentation<T> & DataObject> DataObjectModification<C> getModifiedAugmentation(@Nonnull Class<C> augmentation)
augmentation was modified by this
 modification.
 For accessing all modified list items consider iterating over getModifiedChildren().
augmentation - Type of augmentation - must be only containeraugmentation if augmentation was modified, null otherwise.IllegalArgumentException - If supplied augmentation class is not valid augmentation
         according to generated model.<C extends Identifiable<K> & ChildOf<? super T>,K extends Identifier<C>> DataObjectModification<C> getModifiedChildListItem(@Nonnull Class<C> listItem, @Nonnull K listKey)
child was modified by this modification.listItem - Type of list item - must be list item with keylistKey - List item keychild if child was modified, null otherwise.IllegalArgumentException - If supplied listItem class is not valid child according
         to generated model.@Nullable DataObjectModification<? extends DataObject> getModifiedChild(InstanceIdentifier.PathArgument childArgument)
childArgument was modified by
 this modification.childArgument - Path Argument of child nodechildArgument if childArgument
         was modified, null otherwise.IllegalArgumentException - If supplied path argument is not valid child according to
         generated model.Copyright © 2018 OpenDaylight. All rights reserved.