public enum MetadataMergeAction extends Enum<MetadataMergeAction>
MetadataCommon which specifies what to do when a duplicate data object, attribute, collection
or reference is encountered during the merging performed by the CompositeMetadataProvider.| Enum Constant and Description |
|---|
MERGE
The default behavior.
|
NO_OVERRIDE
If a match is found (same data object or attribute name), the existing object will be left alone.
|
REMOVE
If a match is found (same data object or attribute name), the existing object will be removed.
|
REPLACE
If a match is found (same data object or attribute name), the existing object will be replaced completely by this
one.
|
| Modifier and Type | Method and Description |
|---|---|
static MetadataMergeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataMergeAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataMergeAction MERGE
public static final MetadataMergeAction REPLACE
public static final MetadataMergeAction REMOVE
public static final MetadataMergeAction NO_OVERRIDE
public static MetadataMergeAction[] values()
for (MetadataMergeAction c : MetadataMergeAction.values()) System.out.println(c);
public static MetadataMergeAction 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 nullCopyright © 2005–2016 The Kuali Foundation. All rights reserved.