Previous snippet
UMLCompartmentableShapes that have a modelElement stereotyped by Allocated or one of its specializations may have a compartment titled “allocatedElements” and a compartment titled “allocatedToElements.” These compartments contain UMLLabels with modelElements that are the values of the allocatedElements and allocatedToElements properties, respectively, of the Allocated stereotype.