public abstract class MetadataValueReplacePatchOperation<DSO extends DSpaceObject> extends ReplacePatchOperation<MetadataValueRest>
| Constructor and Description |
|---|
MetadataValueReplacePatchOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<MetadataValueRest[]> |
getArrayClassForEvaluation() |
protected Class<MetadataValueRest> |
getClassForEvaluation() |
protected abstract DSpaceObjectService<DSO> |
getDSpaceObjectService() |
protected void |
replaceValue(Context context,
DSO source,
String target,
List<MetadataValue> list,
MetadataValueRest object,
int index) |
protected void |
setDeclaredField(Context context,
DSO source,
Object value,
String metadata,
String namedField,
List<MetadataValue> metadataByMetadataString,
int index) |
performevaluateArrayObject, evaluateSingleObject, getAbsolutePathprotected Class<MetadataValueRest[]> getArrayClassForEvaluation()
getArrayClassForEvaluation in class PatchOperation<MetadataValueRest>protected Class<MetadataValueRest> getClassForEvaluation()
getClassForEvaluation in class PatchOperation<MetadataValueRest>protected void replaceValue(Context context, DSO source, String target, List<MetadataValue> list, MetadataValueRest object, int index) throws SQLException
SQLExceptionprotected void setDeclaredField(Context context, DSO source, Object value, String metadata, String namedField, List<MetadataValue> metadataByMetadataString, int index) throws IllegalAccessException, SQLException
IllegalAccessExceptionSQLExceptionprotected abstract DSpaceObjectService<DSO> getDSpaceObjectService()
Copyright © 2019 DuraSpace. All rights reserved.