public abstract class PatchOperation<R extends RestModel,T> extends Object implements ResourcePatchOperation<R>
| Constructor and Description |
|---|
PatchOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Class<T[]> |
getArrayClassForEvaluation()
This method should return the typed array to be used in the
LateObjectEvaluator evaluation of json arrays.
|
protected abstract Class<T> |
getClassForEvaluation()
This method should return the object type to be used in the
LateObjectEvaluator evaluation of json objects.
|
abstract R |
perform(R resource,
Operation operation)
Updates the rest model by applying the patch operation.
|
public abstract R perform(R resource, Operation operation)
perform in interface ResourcePatchOperation<R extends RestModel>resource - the rest model.operation - the patch operation.PatchBadRequestExceptionprotected abstract Class<T[]> getArrayClassForEvaluation()
Copyright © 2019 DuraSpace. All rights reserved.