public class MergeOptionsBuilder extends Object
| Constructor and Description | 
|---|
MergeOptionsBuilder()  | 
| Modifier and Type | Method and Description | 
|---|---|
MergeOptionsBuilder | 
addPath(String path)
Add a path that will included in the merge. 
 | 
MergeOptions | 
build()
Build and return the MergeOptions instance. 
 | 
static MergeOptions | 
defaultOptions()
Return the default options. 
 | 
MergeOptionsBuilder | 
setClientGeneratedIds()
Set to true if Id values are supplied by the client. 
 | 
MergeOptionsBuilder | 
setDeletePermanent()
Set that deletions should use delete permanent (rather than default which allows soft deletes). 
 | 
public MergeOptionsBuilder()
public static MergeOptions defaultOptions()
public MergeOptionsBuilder addPath(String path)
path - The path relative to the root type.public MergeOptionsBuilder setClientGeneratedIds()
This would be the case when for example a mobile creates data in it's own local database and then sync's. In this case often the id values are UUID.
public MergeOptionsBuilder setDeletePermanent()
public MergeOptions build()
Copyright © 2019. All rights reserved.