pub fn element_class(
schema: &Schema,
obj: &Object,
class: ClassId,
profiles: ProfileMask,
) -> ClassIdExpand description
The class an object is written as in a file serving profiles.
The most specific class (the object’s own or an ancestor) that the profiles declare and
whose mandatory attributes the model supplies.
An SSH file thus writes <cim:Equipment rdf:about="…"> for an
ACLineSegment (SSH does not declare ACLineSegment); the most specific class would
fail the profile’s SHACL shapes. Falls back to the object’s own class.