ENTITY bead_end SUBTYPE OF (shape_aspect); WHERE wr1: 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_DEFINITION' IN TYPEOF ( SELF.of_shape. definition ); wr2: SELF.description IN ['linear' , 'open' , 'radiused']; wr3: ( SELF.description<>'linear' ) XOR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) ) ) >0 ); wr4: ( SELF.description<>'linear' ) 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 ); wr5: ( SELF.description<>'linear' ) 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= 'end length' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1 ); wr6: ( SELF.description<>'linear' ) 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 = 'end shape' ) AND ( i\descriptive_representation_item. description IN ['straight' , 'tapered'] ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF ( i ) ) ) ) =1 ) ) ) =1 ); wr7: SIZEOF ( QUERY ( sar <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'SHAPE_ASPECT_RELATIONSHIP.'+ 'RELATING_SHAPE_ASPECT' ) | ( 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_RELATIONSHIP' IN TYPEOF ( sar ) ) AND ( sar. name = 'bead end usage' ) AND ( sar. description IN [ 'starting' , 'ending' ] ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'BEAD' 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 = 'bead end occurrence' ) ) ) =1; END_ENTITY; -- bead_end |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; bead_end - |
Global rules for this entity data type- |
public interface EBead_end extends EShape_aspect |
public class CBead_end implements EBead_end |
public class ABead_end extends AEntitypublic EBead_end getByIndex(int index)public EBead_end getCurrentMember(SdaiIterator it) |