Class AbstractModification
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.modification.AbstractModification
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Modification
- Direct Known Subclasses:
DeleteModification
,WriteModification
public abstract class AbstractModification extends Object implements Modification
Base class to be used for all simple modifications that can be applied to a DOMStoreTransaction.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.opendaylight.controller.cluster.datastore.modification.Modification
COMPOSITE, DELETE, MERGE, WRITE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractModification(short version)
protected
AbstractModification(short version, YangInstanceIdentifier path)
protected
AbstractModification(YangInstanceIdentifier path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YangInstanceIdentifier
getPath()
short
getVersion()
protected void
setPath(YangInstanceIdentifier path)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.controller.cluster.datastore.modification.Modification
apply, apply, getType, readExternal, writeExternal, writeTo
-
-
-
-
Constructor Detail
-
AbstractModification
protected AbstractModification(short version)
-
AbstractModification
protected AbstractModification(short version, YangInstanceIdentifier path)
-
AbstractModification
protected AbstractModification(YangInstanceIdentifier path)
-
-
Method Detail
-
setPath
protected void setPath(YangInstanceIdentifier path)
-
getPath
public YangInstanceIdentifier getPath()
-
getVersion
public short getVersion()
-
-