public class AddValueUniqueOperation extends Object implements PartialUpdateOperation
| Constructor and 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 and 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 © 2016. All rights reserved.