The text of Constraint: "Either the attribute global asset ID or "
"specific asset ID must be set if entity type is set to 'SelfManagedEntity'. "
"They are not existing otherwise."
The current implementation of invariant for AASd-014 is incorrect, it returns True if Entity.global_asset_ID is None and Entity.specific_asset_IDs is None but it does't check if Entity.entity_type is "SelfManagedEntity"
The text of Constraint: "Either the attribute global asset ID or " "specific asset ID must be set if entity type is set to 'SelfManagedEntity'. " "They are not existing otherwise."
The current implementation of invariant for
AASd-014
is incorrect, it returns True ifEntity.global_asset_ID
is None andEntity.specific_asset_IDs
is None but it does't check ifEntity.entity_type
is "SelfManagedEntity"