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>
-
-
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.mdsal.binding.api.DataObjectModification.ModificationType
getModificationType()
<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>getModifiedChildContainer(Class<C> arg)
<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.Identifiable<K> & org.opendaylight.yangtools.yang.binding.ChildOf<? super T>,K extends org.opendaylight.yangtools.yang.binding.Identifier<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.Identifiable<K> & org.opendaylight.yangtools.yang.binding.ChildOf<? super H>,K extends org.opendaylight.yangtools.yang.binding.Identifier<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>>
getModifiedChildren()
<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)
String
toString()
-
-
-
Method Detail
-
getDataBefore
public T getDataBefore()
- Specified by:
getDataBefore
in interfaceorg.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-
getDataAfter
public T getDataAfter()
- Specified by:
getDataAfter
in interfaceorg.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-
getDataType
public Class<T> getDataType()
- Specified by:
getDataType
in interfaceorg.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 interfaceorg.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
- Specified by:
getIdentifier
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.opendaylight.mdsal.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.mdsal.binding.api.DataObjectModification<C> getModifiedChildListItem(Class<C> listItem, K listKey)
- Specified by:
getModifiedChildListItem
in interfaceorg.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.Identifiable<K> & org.opendaylight.yangtools.yang.binding.ChildOf<? super H>,K extends org.opendaylight.yangtools.yang.binding.Identifier<C>> org.opendaylight.mdsal.binding.api.DataObjectModification<C> getModifiedChildListItem(Class<H> caseType, Class<C> listItem, K listKey)
- Specified by:
getModifiedChildListItem
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.opendaylight.mdsal.binding.api.DataObjectModification<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-
-