Package de.caluga.morphium.driver.bson
Enum BsonEncoder.UUIDRepresentation
- java.lang.Object
-
- java.lang.Enum<BsonEncoder.UUIDRepresentation>
-
- de.caluga.morphium.driver.bson.BsonEncoder.UUIDRepresentation
-
- All Implemented Interfaces:
Serializable,Comparable<BsonEncoder.UUIDRepresentation>
- Enclosing class:
- BsonEncoder
public static enum BsonEncoder.UUIDRepresentation extends Enum<BsonEncoder.UUIDRepresentation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description C_SHARP_LEGACYJAVA_LEGACYPYTHON_LEGACYSTANDARDUNSPECIFIED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BsonEncoder.UUIDRepresentationvalueOf(String name)Returns the enum constant of this type with the specified name.static BsonEncoder.UUIDRepresentation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final BsonEncoder.UUIDRepresentation UNSPECIFIED
-
STANDARD
public static final BsonEncoder.UUIDRepresentation STANDARD
-
C_SHARP_LEGACY
public static final BsonEncoder.UUIDRepresentation C_SHARP_LEGACY
-
JAVA_LEGACY
public static final BsonEncoder.UUIDRepresentation JAVA_LEGACY
-
PYTHON_LEGACY
public static final BsonEncoder.UUIDRepresentation PYTHON_LEGACY
-
-
Method Detail
-
values
public static BsonEncoder.UUIDRepresentation[] 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 (BsonEncoder.UUIDRepresentation c : BsonEncoder.UUIDRepresentation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BsonEncoder.UUIDRepresentation 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 nameNullPointerException- if the argument is null
-
-