Class PatchEntity

java.lang.Object
org.opendaylight.restconf.common.patch.PatchEntity

public class PatchEntity extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    PatchEntity(String editId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.patch.rev170222.yang.patch.yang.patch.Edit.Operation operation, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier targetNode)
    Constructor to create PatchEntity for Patch operations which do not allow value leaf representing data to be present.
    PatchEntity(String editId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.patch.rev170222.yang.patch.yang.patch.Edit.Operation operation, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier targetNode, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode node)
    Constructor to create PatchEntity for Patch operations which require value leaf representing data to be present.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode
     
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.patch.rev170222.yang.patch.yang.patch.Edit.Operation
     
    org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier
     

    Methods inherited from class java.lang.Object

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

    • PatchEntity

      public PatchEntity(String editId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.patch.rev170222.yang.patch.yang.patch.Edit.Operation operation, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier targetNode, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode node)
      Constructor to create PatchEntity for Patch operations which require value leaf representing data to be present.
      Parameters:
      editId - Id of Patch edit
      operation - Patch edit operation
      targetNode - Target node for Patch edit operation
      node - Data defined by value leaf used by edit operation
    • PatchEntity

      public PatchEntity(String editId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.patch.rev170222.yang.patch.yang.patch.Edit.Operation operation, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier targetNode)
      Constructor to create PatchEntity for Patch operations which do not allow value leaf representing data to be present. node is set to null meaning that data are not allowed for edit operation.
      Parameters:
      editId - Id of Patch edit
      operation - Patch edit operation
      targetNode - Target node for Patch edit operation
  • Method Details

    • getOperation

      public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.patch.rev170222.yang.patch.yang.patch.Edit.Operation getOperation()
    • getEditId

      public String getEditId()
    • getTargetNode

      public org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getTargetNode()
    • getNode

      public org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode getNode()