public class IdentityPatch extends java.lang.Object implements java.lang.Iterable<IdentityPatchOperation>
| Constructor and Description |
|---|
IdentityPatch()
Creates a new IdentityPatch instance with an empty list of patch operations.
|
IdentityPatch(java.util.List<IdentityPatchOperation> patchOperations)
Creates a new IdentityPatch instance initialized with the specified list of patch operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPatchOperation(IdentityPatchOperation identityPatchOp)
Adds the specified patch operation to the list of patch operations managed by this class.
|
void |
addPatchOperations(java.util.List<IdentityPatchOperation> identityPatchOperationList)
Adds the specified patch operations to the list of patch operations managed by this class.
|
boolean |
isEmpty()
Indicates whether the list of patch operations managed by this class is empty.
|
java.util.Iterator<IdentityPatchOperation> |
iterator()
Returns an iterator over the patch operations list managed by this class in proper sequence.
|
public IdentityPatch()
public IdentityPatch(java.util.List<IdentityPatchOperation> patchOperations)
patchOperations - A list of patch operations.public java.util.Iterator<IdentityPatchOperation> iterator()
iterator in interface java.lang.Iterable<IdentityPatchOperation>public void addPatchOperation(IdentityPatchOperation identityPatchOp)
identityPatchOp - A patch operation object.public void addPatchOperations(java.util.List<IdentityPatchOperation> identityPatchOperationList)
identityPatchOperationList - A list of patch operation objects.public boolean isEmpty()
true if the list of patch operations managed by this class is empty. Returns false
otherwise.