public interface YangCompositeEncoding
Protocols like RESTCONF, have split the schema specific information across different components in the protocol encoding.
There is a resource identifier, which is part of the RESTCONF request URL. and there is the information about the resource being operated on in the request, this is part of the request body.
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceIdentifier()
Retrieves the resource identifier on which the operation is being
performed.
|
YangResourceIdentifierType |
getResourceIdentifierType()
Retrieves the representation format of the resource identifier.
|
String |
getResourceInformation()
Retrieves the resource information in the protocol encoding format.
|
void |
setResourceIdentifier(String resourceId)
Sets resource identifier.
|
void |
setResourceIdentifierType(YangResourceIdentifierType idType)
Sets the resource identifier type.
|
void |
setResourceInformation(String resourceInfo)
Sets the resource information.
|
String getResourceIdentifier()
YangResourceIdentifierType getResourceIdentifierType()
String getResourceInformation()
void setResourceIdentifier(String resourceId)
resourceId - resource identifiervoid setResourceInformation(String resourceInfo)
resourceInfo - resource informationvoid setResourceIdentifierType(YangResourceIdentifierType idType)
idType - resource identifier