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

java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.reconciliation.configuration.DataObjectModificationImpl<T>
All Implemented Interfaces:
org.opendaylight.mdsal.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.mdsal.binding.api.DataObjectModification<T>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.opendaylight.mdsal.binding.api.DataObjectModification

    org.opendaylight.mdsal.binding.api.DataObjectModification.ModificationType
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
     
     
     
    org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument
     
    org.opendaylight.mdsal.binding.api.DataObjectModification.ModificationType
     
    <C extends org.opendaylight.yangtools.yang.binding.Augmentation<T> & org.opendaylight.yangtools.yang.binding.DataObject>
    org.opendaylight.mdsal.binding.api.DataObjectModification<C>
    getModifiedAugmentation(Class<C> augmentation)
     
    org.opendaylight.mdsal.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.mdsal.binding.api.DataObjectModification<C>
     
    <H extends org.opendaylight.yangtools.yang.binding.ChoiceIn<? super T> & org.opendaylight.yangtools.yang.binding.DataObject, C extends org.opendaylight.yangtools.yang.binding.ChildOf<? super H>>
    org.opendaylight.mdsal.binding.api.DataObjectModification<C>
    getModifiedChildContainer(Class<H> caseType, Class<C> child)
     
    <C extends org.opendaylight.yangtools.yang.binding.KeyAware<K> & org.opendaylight.yangtools.yang.binding.ChildOf<? super T>, K extends org.opendaylight.yangtools.yang.binding.Key<C>>
    org.opendaylight.mdsal.binding.api.DataObjectModification<C>
    getModifiedChildListItem(Class<C> listItem, K listKey)
     
    <H extends org.opendaylight.yangtools.yang.binding.ChoiceIn<? super T> & org.opendaylight.yangtools.yang.binding.DataObject, C extends org.opendaylight.yangtools.yang.binding.KeyAware<K> & org.opendaylight.yangtools.yang.binding.ChildOf<? super H>, K extends org.opendaylight.yangtools.yang.binding.Key<C>>
    org.opendaylight.mdsal.binding.api.DataObjectModification<C>
    getModifiedChildListItem(Class<H> caseType, Class<C> listItem, K listKey)
     
    Collection<org.opendaylight.mdsal.binding.api.DataObjectModification<? extends org.opendaylight.yangtools.yang.binding.DataObject>>
     
    <C extends org.opendaylight.yangtools.yang.binding.ChildOf<? super T>>
    Collection<org.opendaylight.mdsal.binding.api.DataObjectModification<C>>
    getModifiedChildren(Class<C> childType)
     
    <H extends org.opendaylight.yangtools.yang.binding.ChoiceIn<? super T> & org.opendaylight.yangtools.yang.binding.DataObject, C extends org.opendaylight.yangtools.yang.binding.ChildOf<? super H>>
    Collection<org.opendaylight.mdsal.binding.api.DataObjectModification<C>>
    getModifiedChildren(Class<H> caseType, Class<C> childType)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DataObjectModificationImpl

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

    • getDataBefore

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

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

      public Class<T> getDataType()
      Specified by:
      getDataType in interface org.opendaylight.mdsal.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.mdsal.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.mdsal.binding.api.DataObjectModification.ModificationType getModificationType()
      Specified by:
      getModificationType in interface org.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
    • getModifiedChildren

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

      public <H extends org.opendaylight.yangtools.yang.binding.ChoiceIn<? super T> & org.opendaylight.yangtools.yang.binding.DataObject, C extends org.opendaylight.yangtools.yang.binding.ChildOf<? super H>> Collection<org.opendaylight.mdsal.binding.api.DataObjectModification<C>> getModifiedChildren(Class<H> caseType, Class<C> childType)
      Specified by:
      getModifiedChildren in interface org.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
    • getModifiedChildren

      public <C extends org.opendaylight.yangtools.yang.binding.ChildOf<? super T>> Collection<org.opendaylight.mdsal.binding.api.DataObjectModification<C>> getModifiedChildren(Class<C> childType)
      Specified by:
      getModifiedChildren in interface org.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
    • getModifiedChild

      public org.opendaylight.mdsal.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.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
    • getModifiedChildListItem

      public <C extends org.opendaylight.yangtools.yang.binding.KeyAware<K> & org.opendaylight.yangtools.yang.binding.ChildOf<? super T>, K extends org.opendaylight.yangtools.yang.binding.Key<C>> org.opendaylight.mdsal.binding.api.DataObjectModification<C> getModifiedChildListItem(Class<C> listItem, K listKey)
      Specified by:
      getModifiedChildListItem in interface org.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
    • getModifiedChildListItem

      public <H extends org.opendaylight.yangtools.yang.binding.ChoiceIn<? super T> & org.opendaylight.yangtools.yang.binding.DataObject, C extends org.opendaylight.yangtools.yang.binding.KeyAware<K> & org.opendaylight.yangtools.yang.binding.ChildOf<? super H>, K extends org.opendaylight.yangtools.yang.binding.Key<C>> org.opendaylight.mdsal.binding.api.DataObjectModification<C> getModifiedChildListItem(Class<H> caseType, Class<C> listItem, K listKey)
      Specified by:
      getModifiedChildListItem in interface org.opendaylight.mdsal.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.mdsal.binding.api.DataObjectModification<C> getModifiedChildContainer(Class<C> arg)
      Specified by:
      getModifiedChildContainer in interface org.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
    • getModifiedChildContainer

      public <H extends org.opendaylight.yangtools.yang.binding.ChoiceIn<? super T> & org.opendaylight.yangtools.yang.binding.DataObject, C extends org.opendaylight.yangtools.yang.binding.ChildOf<? super H>> org.opendaylight.mdsal.binding.api.DataObjectModification<C> getModifiedChildContainer(Class<H> caseType, Class<C> child)
      Specified by:
      getModifiedChildContainer in interface org.opendaylight.mdsal.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.mdsal.binding.api.DataObjectModification<C> getModifiedAugmentation(Class<C> augmentation)
      Specified by:
      getModifiedAugmentation in interface org.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
    • toString

      public String toString()
      Overrides:
      toString in class Object