Class PatchEntity
java.lang.Object
org.opendaylight.restconf.common.patch.PatchEntity
-
Constructor Summary
ConstructorsConstructorDescriptionPatchEntity(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 TypeMethodDescriptionorg.opendaylight.yangtools.yang.data.api.schema.NormalizedNodegetNode()org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.patch.rev170222.yang.patch.yang.patch.Edit.Operationorg.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier
-
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 editoperation- Patch edit operationtargetNode- Target node for Patch edit operationnode- 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.nodeis set tonullmeaning that data are not allowed for edit operation.- Parameters:
editId- Id of Patch editoperation- Patch edit operationtargetNode- 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
-
getTargetNode
public org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getTargetNode() -
getNode
public org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode getNode()
-