Class DataObjectModificationImpl<T extends org.opendaylight.yangtools.yang.binding.DataObject>

  • All Implemented Interfaces:
    org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T>, org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument>

    public class DataObjectModificationImpl<T extends org.opendaylight.yangtools.yang.binding.DataObject>
    extends Object
    implements org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification

        org.opendaylight.controller.md.sal.binding.api.DataObjectModification.ModificationType
    • Constructor Summary

      Constructors 
      Constructor Description
      DataObjectModificationImpl​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> nodeId, T newData, T oldData)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getDataAfter()  
      T getDataBefore()  
      Class<T> getDataType()  
      org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument getIdentifier()  
      org.opendaylight.controller.md.sal.binding.api.DataObjectModification.ModificationType getModificationType()  
      <C extends org.opendaylight.yangtools.yang.binding.Augmentation<T> & org.opendaylight.yangtools.yang.binding.DataObject>
      org.opendaylight.controller.md.sal.binding.api.DataObjectModification<C>
      getModifiedAugmentation​(Class<C> augmentation)  
      org.opendaylight.controller.md.sal.binding.api.DataObjectModification<? extends org.opendaylight.yangtools.yang.binding.DataObject> getModifiedChild​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument arg)  
      <C extends org.opendaylight.yangtools.yang.binding.ChildOf<? super T>>
      org.opendaylight.controller.md.sal.binding.api.DataObjectModification<C>
      getModifiedChildContainer​(Class<C> arg)  
      <C extends org.opendaylight.yangtools.yang.binding.Identifiable<K> & org.opendaylight.yangtools.yang.binding.ChildOf<? super T>,​K extends org.opendaylight.yangtools.yang.binding.Identifier<C>>
      org.opendaylight.controller.md.sal.binding.api.DataObjectModification<C>
      getModifiedChildListItem​(Class<C> listItem, K listKey)  
      Collection<org.opendaylight.controller.md.sal.binding.api.DataObjectModification<? extends org.opendaylight.yangtools.yang.binding.DataObject>> getModifiedChildren()  
      String toString()  
      • Methods inherited from interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification

        getModifiedChildContainer, getModifiedChildListItem, getModifiedChildren
    • Constructor Detail

      • DataObjectModificationImpl

        public DataObjectModificationImpl​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> nodeId,
                                          T newData,
                                          T oldData)
    • Method Detail

      • getDataBefore

        public T getDataBefore()
        Specified by:
        getDataBefore in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • getDataAfter

        public T getDataAfter()
        Specified by:
        getDataAfter in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • getDataType

        public Class<T> getDataType()
        Specified by:
        getDataType in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • getIdentifier

        public org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument getIdentifier()
        Specified by:
        getIdentifier in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
        Specified by:
        getIdentifier in interface org.opendaylight.yangtools.concepts.Identifiable<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • getModificationType

        public org.opendaylight.controller.md.sal.binding.api.DataObjectModification.ModificationType getModificationType()
        Specified by:
        getModificationType in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • getModifiedChildren

        public Collection<org.opendaylight.controller.md.sal.binding.api.DataObjectModification<? extends org.opendaylight.yangtools.yang.binding.DataObject>> getModifiedChildren()
        Specified by:
        getModifiedChildren in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • getModifiedChild

        public org.opendaylight.controller.md.sal.binding.api.DataObjectModification<? extends org.opendaylight.yangtools.yang.binding.DataObject> getModifiedChild​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument arg)
        Specified by:
        getModifiedChild in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • getModifiedChildListItem

        public <C extends org.opendaylight.yangtools.yang.binding.Identifiable<K> & org.opendaylight.yangtools.yang.binding.ChildOf<? super T>,​K extends org.opendaylight.yangtools.yang.binding.Identifier<C>> org.opendaylight.controller.md.sal.binding.api.DataObjectModification<C> getModifiedChildListItem​(Class<C> listItem,
                                                                                                                                                                                                                                                                                                                        K listKey)
        Specified by:
        getModifiedChildListItem in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • getModifiedChildContainer

        public <C extends org.opendaylight.yangtools.yang.binding.ChildOf<? super T>> org.opendaylight.controller.md.sal.binding.api.DataObjectModification<C> getModifiedChildContainer​(Class<C> arg)
        Specified by:
        getModifiedChildContainer in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • getModifiedAugmentation

        public <C extends org.opendaylight.yangtools.yang.binding.Augmentation<T> & org.opendaylight.yangtools.yang.binding.DataObject> org.opendaylight.controller.md.sal.binding.api.DataObjectModification<C> getModifiedAugmentation​(Class<C> augmentation)
        Specified by:
        getModifiedAugmentation in interface org.opendaylight.controller.md.sal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>