public enum MergeType extends Enum<MergeType>
MessageDataOutput| Enum Constant and Description |
|---|
DIFFERENCE
Append only the not in data of the new message data input object
|
NONE
Do nothing, also used as default merge type
|
REPLACE
Replace matching data with the merged one of the new message data input object
|
REPLACE_OR_ADD
Replace matching data or set if not exists
|
| Modifier and Type | Method and Description |
|---|---|
static MergeType |
fromName(String method)
Get the merge type based on method name
|
int |
getId()
Get the merge type id
|
static MergeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeType NONE
public static final MergeType DIFFERENCE
public static final MergeType REPLACE
public static final MergeType REPLACE_OR_ADD
public static MergeType[] values()
for (MergeType c : MergeType.values()) System.out.println(c);
public static MergeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getId()
Copyright © 2022. All rights reserved.