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- |
public interface EPlanar_shape_representation extends EShape_representation |
public class CPlanar_shape_representation implements EPlanar_shape_representation |
public class APlanar_shape_representation extends AEntitypublic EPlanar_shape_representation getByIndex(int index)public EPlanar_shape_representation getCurrentMember(SdaiIterator it) |