Metadata_Metamodel_ConstantValue
Metadata_Metamodel_ConstantValue
The ConstantValue structure contains the metamodel information of the constant element.
JSON Example
{
"category": "string",
"primitive_value": {
"type": "string",
"boolean_value": false,
"double_value": "number",
"long_value": 0,
"string_value": "string"
},
"list_value": [
{
"type": "string",
"boolean_value": false,
"double_value": "number",
"long_value": 0,
"string_value": "string"
}
]
}
category
Required
The ConstantValue.Category enumerated type defines enumeration values for the valid kinds of values.
PRIMITIVE : Indicates the type of constant value is primitive.
LIST : Indicates the type of constant value is a list.
primitive_value
Optional
The PrimitiveValue structure contains value of the constant element.
array of Metadata_Metamodel_PrimitiveValue
list_value
Optional
List value of the constant element. This field is optional and it is only relevant when the value of ConstantValue.category is LIST.