public abstract class AbstractPatch extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ResourceType |
resourceType
this resource type is used to get the attribute definitions of the values from the patch operations
|
| Constructor and Description |
|---|
AbstractPatch(ResourceType resourceType) |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonNode |
getAttributeFromObject(com.fasterxml.jackson.databind.JsonNode parentNode,
String attributeName)
gets or creates a new attribute from or into the given parent node based on the given attribute name
|
protected SchemaAttribute |
getSchemaAttribute(String key)
tries to resolve that attribute path and gets the schema of the attribute
|
protected final ResourceType resourceType
public AbstractPatch(ResourceType resourceType)
protected SchemaAttribute getSchemaAttribute(String key)
key - the attribute name of which the definition should be extractedprotected com.fasterxml.jackson.databind.JsonNode getAttributeFromObject(com.fasterxml.jackson.databind.JsonNode parentNode,
String attributeName)
parentNode - the parent node that might already hold the specified node or will get a node in the type
of the attributes definitionattributeName - the attribute nameCopyright © 2019. All rights reserved.