Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DeltaBuilder: support for delete+add order instead of just add+delete
Main reason is that delete+add actually matches semantics/behavior.
- Loading branch information
Showing
5 changed files
with
54 additions
and
26 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
infra/prism-api/src/main/java/com/evolveum/midpoint/prism/delta/builder/S_MaybeAdd.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright (c) 2010-2015 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
|
||
package com.evolveum.midpoint.prism.delta.builder; | ||
|
||
import java.util.Collection; | ||
|
||
import com.evolveum.midpoint.prism.PrismValue; | ||
|
||
public interface S_MaybeAdd extends S_ItemEntry { | ||
|
||
S_ItemEntry add(Object... realValues); | ||
S_ItemEntry addRealValues(Collection<?> realValues); | ||
S_ItemEntry add(PrismValue... values); | ||
S_ItemEntry add(Collection<? extends PrismValue> values); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters