|
ENTITY barring_hole SUBTYPE OF (feature_definition); WHERE wr1: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . name = 'hole profile' ) AND ( sa . description = 'closed profile occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.' + 'shape_aspect_relationship.' + 'related_shape_aspect' ) | ( 'automotive_design.' + 'shape_defining_relationship' IN TYPEOF ( sar ) ) AND ( sar . description = 'profile usage' ) AND ( SIZEOF ( [ 'automotive_design.' + 'circular_closed_profile' , 'automotive_design.' + 'ngon_closed_profile' , 'automotive_design.' + 'rectangular_closed_profile' , 'automotive_design.' + 'closed_path_profile' ] * TYPEOF ( sar . relating_shape_aspect ) ) = 1 ) ) ) = 1 ) ) ) = 1 ; wr2: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . name = 'barring profile' ) AND ( sa . description = 'closed profile occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.' + 'shape_aspect_relationship.' + 'related_shape_aspect' ) | ( 'automotive_design.' + 'shape_defining_relationship' IN TYPEOF ( sar ) ) AND ( sar . description = 'profile usage' ) ) ) = 1 ) ) ) = 1 ; wr3: ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) ) = 1 ) AND ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND { 1 <= SIZEOF ( pdr . used_representation . items ) <= 2 } ) ) = 1 ) ; wr4: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | NOT ( i . name IN [ 'orientation' , 'base radius' ] ) ) ) > 0 ) ) ) = 0 ; wr5: SIZEOF ( QUERY ( pdr <* get_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 = 'base radius' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) <> 1 ) ) ) = 0 ; END_ENTITY; -- barring_hole |
Entity data types and their attributescharacterized_objectname: label; (OPT) description: text; feature_definition - barring_hole - |
Global rules for this entity data type- |
public interface EBarring_hole extends EFeature_definition |
public class CBarring_hole implements EBarring_hole |
public class ABarring_hole extends AEntitypublic EBarring_hole getByIndex(int index)public EBarring_hole getCurrentMember(SdaiIterator it) |