Package org.apache.johnzon.core
Enum RejectDuplicateKeysMode
- java.lang.Object
- 
- java.lang.Enum<RejectDuplicateKeysMode>
- 
- org.apache.johnzon.core.RejectDuplicateKeysMode
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<RejectDuplicateKeysMode>
 
 public enum RejectDuplicateKeysMode extends Enum<RejectDuplicateKeysMode> 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceRejectDuplicateKeysMode.Put
 - 
Field SummaryFields Modifier and Type Field Description (package private) static List<String>CONFIG_KEYSprivate RejectDuplicateKeysMode.Putput
 - 
Constructor SummaryConstructors Modifier Constructor Description privateRejectDuplicateKeysMode(RejectDuplicateKeysMode.Put put)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RejectDuplicateKeysModefrom(Map<String,?> config)RejectDuplicateKeysMode.Putput()static RejectDuplicateKeysModevalueOf(String name)Returns the enum constant of this type with the specified name.static RejectDuplicateKeysMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
DEFAULTpublic static final RejectDuplicateKeysMode DEFAULT 
 - 
TRUEpublic static final RejectDuplicateKeysMode TRUE 
 - 
FIRSTpublic static final RejectDuplicateKeysMode FIRST 
 
- 
 - 
Field Detail- 
putprivate final RejectDuplicateKeysMode.Put put 
 
- 
 - 
Constructor Detail- 
RejectDuplicateKeysModeprivate RejectDuplicateKeysMode(RejectDuplicateKeysMode.Put put) 
 
- 
 - 
Method Detail- 
valuespublic static RejectDuplicateKeysMode[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RejectDuplicateKeysMode c : RejectDuplicateKeysMode.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static RejectDuplicateKeysMode valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
frompublic static RejectDuplicateKeysMode from(Map<String,?> config) 
 - 
putpublic RejectDuplicateKeysMode.Put put() 
 
- 
 
-