PartialUpdateOperation, Serializablepublic class AddValueUniqueOperation extends Object implements PartialUpdateOperation
| Constructor | Description |
|---|---|
AddValueUniqueOperation(String objectID,
String attributeToAddIn,
String valueToAddIfDoesntExists) |
Add a value to an existing array, only if the value is not yet present
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getObjectID() |
|
Map<String,?> |
toSerialize() |
public AddValueUniqueOperation(String objectID, String attributeToAddIn, String valueToAddIfDoesntExists)
objectID - the id of the object to updateattributeToAddIn - the name of the attribute to add the valuevalueToAddIfDoesntExists - the value to appendpublic String getObjectID()
getObjectID in interface PartialUpdateOperationpublic Map<String,?> toSerialize()
toSerialize in interface PartialUpdateOperationCopyright © 2018. All rights reserved.