Metadata_Metamodel_PrimitiveValue
The PrimitiveValue structure contains value of the constant element.
{
"type": "string",
"boolean_value": false,
"double_value": "number",
"long_value": 0,
"string_value": "string"
}
The PrimitiveValue.Type enumerated type defines the valid types for values in constant elements.
BOOLEAN : Indicates the value is a boolean (true or false).
DOUBLE : Indicates the value is a double (64 bit floating number).
LONG : Indicates the value is a long (64 bit signed integer).
STRING : Indicates the value is a string (a variable length sequence of characters). The encoding is UTF8.
Boolean value of the constant. This field is optional and it is only relevant when the value of PrimitiveValue.type is BOOLEAN.
Double value of the constant. This field is optional and it is only relevant when the value of PrimitiveValue.type is DOUBLE.
Long value of the constant. This field is optional and it is only relevant when the value of PrimitiveValue.type is LONG.
String value of the constant. This field is optional and it is only relevant when the value of PrimitiveValue.type is STRING.