|
ENTITY planar_shape_representation SUBTYPE OF (shape_representation); WHERE WR1: SIZEOF ( SELF.items ) =1; WR2: SIZEOF ( QUERY ( i <* SELF.items | 'AUTOMOTIVE_DESIGN.'+ 'PLANE' IN TYPEOF ( i ) ) ) =1; WR3: SELF.name IN [ 'profile limit' , 'maximum feature limit' ]; WR4: ( SELF.name<> 'maximum feature limit' ) OR ( SIZEOF ( QUERY ( pdr <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.PROPERTY_DEFINITION_REPRESENTATION.USED_REPRESENTATION' ) | SIZEOF ( QUERY ( sa <* get_shape_aspects ( pdr. definition\property_definition. definition ) | SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'INSTANCED_FEATURE' , 'AUTOMOTIVE_DESIGN.'+ 'PLACED_FEATURE']* TYPEOF ( sa ) ) =1 ) ) =1 ) ) =1 ); WR5: ( SELF.name<> 'profile limit' ) OR ( SIZEOF ( QUERY ( pdr <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.PROPERTY_DEFINITION_REPRESENTATION.USED_REPRESENTATION' ) | SIZEOF ( QUERY ( sa <* get_shape_aspects ( pdr. definition\property_definition. definition ) | SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'OPEN_PATH_PROFILE' , 'AUTOMOTIVE_DESIGN.'+ 'PARTIAL_CIRCULAR_PROFILE' , 'AUTOMOTIVE_DESIGN.'+ 'ROUNDED_U_PROFILE' , 'AUTOMOTIVE_DESIGN.'+ 'SQUARE_U_PROFILE' , 'AUTOMOTIVE_DESIGN.'+ 'TEE_PROFILE' , 'AUTOMOTIVE_DESIGN.'+ 'VEE_PROFILE']* TYPEOF ( sa ) ) =1 ) ) =1 ) ) =1 ); END_ENTITY; -- planar_shape_representation |
Entity data types and their attributesrepresentationname: label; items: SET [1:?] OF representation_item; context_of_items: representation_context; (DER) id: identifier; (DER) description: text; shape_representation - planar_shape_representation - |
Global rules for this entity data type- |