|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MetadataMergeAction> org.kuali.rice.krad.data.metadata.MetadataMergeAction
public enum MetadataMergeAction
A component of 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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MetadataMergeAction MERGE
public static final MetadataMergeAction REPLACE
public static final MetadataMergeAction REMOVE
public static final MetadataMergeAction NO_OVERRIDE
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |