ENTITY slot_end SUBTYPE OF (shape_aspect); WHERE wr1: 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_DEFINITION' IN TYPEOF ( SELF.of_shape. definition ); wr2: SELF.description IN ['open' , 'radiused' , 'flat' , 'woodruff']; wr3: ( SELF.description IN ['open' , 'radiused'] ) XOR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) ) ) =0 ); wr4: NOT ( SELF.description IN ['flat' , 'woodruff'] ) XOR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) ) ) =1 ); wr5: ( SELF.description<>'flat' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( pdr. used_representation.items ) =2 ) ) ) =1 ); wr6: ( SELF.description<>'flat' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name= 'first radius' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1 ); wr7: ( SELF.description<>'flat' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name= 'second radius' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1 ); wr8: ( SELF.description<>'woodruff' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( pdr. used_representation.items ) =1 ) ) ) =1 ); wr9: ( SELF.description<>'woodruff' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name='radius' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1 ); wr10: SIZEOF ( QUERY ( sar <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'SHAPE_ASPECT_RELATIONSHIP.'+ 'RELATING_SHAPE_ASPECT' ) | ( 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_RELATIONSHIP' IN TYPEOF ( sar ) ) AND ( sar. name IN [ 'starting' , 'ending' ] ) AND ( sar. description = 'slot end usage' ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'SLOT' IN TYPEOF ( sar. related_shape_aspect.of_shape. definition ) ) AND ( sar. related_shape_aspect.of_shape. definition\characterized_object. name = 'end condition' ) AND ( sar. related_shape_aspect.of_shape. definition\characterized_object. description = 'slot end occurrence' ) ) ) =1; END_ENTITY; -- slot_end |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; slot_end - |
Global rules for this entity data type- |
public interface ESlot_end extends EShape_aspect |
public class CSlot_end implements ESlot_end |
public class ASlot_end extends AEntitypublic ESlot_end getByIndex(int index)public ESlot_end getCurrentMember(SdaiIterator it) |