Enum CometDataMapping.IdMapping
- java.lang.Object
-
- java.lang.Enum<CometDataMapping.IdMapping>
-
- com.priint.pubserver.comet.bridge.datamapping.CometDataMapping.IdMapping
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CometDataMapping.IdMapping>
- Enclosing interface:
- CometDataMapping
public static enum CometDataMapping.IdMapping extends java.lang.Enum<CometDataMapping.IdMapping>
Enumeration flag to specify type of mapping.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUCKETUse the bucket IDsBUCKET_AND_PLANNINGUse the bucket ID and planning ID as parentPLANNINGUse the planning IDs
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CometDataMapping.IdMappingvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CometDataMapping.IdMapping[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLANNING
public static final CometDataMapping.IdMapping PLANNING
Use the planning IDs
-
BUCKET
public static final CometDataMapping.IdMapping BUCKET
Use the bucket IDs
-
BUCKET_AND_PLANNING
public static final CometDataMapping.IdMapping BUCKET_AND_PLANNING
Use the bucket ID and planning ID as parent
-
-
Method Detail
-
values
public static CometDataMapping.IdMapping[] 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 (CometDataMapping.IdMapping c : CometDataMapping.IdMapping.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CometDataMapping.IdMapping valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-