Annotation Interface MaxMindDbParameter
Interface for a MaxMind DB parameter. This is used to mark a parameter that
should be used to create an instance of a class when decoding a MaxMind DB
file.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe default value as a string.booleanWhether to use a default when the value is missing in the database.
-
Element Details
-
name
String name- Returns:
- the name of the parameter in the MaxMind DB file
-
useDefault
boolean useDefaultWhether to use a default when the value is missing in the database.- Default:
false
-
defaultValue
String defaultValueThe default value as a string. Parsed according to the Java parameter type (e.g., "0", "false"). If empty anduseDefaultis true, the Java type's default is used (0, false, 0.0, and "" for String).- Default:
""
-