|
ENTITY pattern_offset_membership SUBTYPE OF (feature_component_relationship); WHERE wr1: SIZEOF ( [ 'automotive_design.' + 'circular_pattern' , 'automotive_design.' + 'rectangular_pattern' ] * TYPEOF ( SELF . relating_shape_aspect . of_shape . definition ) ) = 1 ; wr2: SIZEOF ( QUERY ( sar <* USEDIN ( SELF . related_shape_aspect , 'automotive_design.shape_aspect_relationship.related_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) AND ( 'automotive_design.' + 'modified_pattern' IN TYPEOF ( sar . relating_shape_aspect . of_shape . definition ) ) AND ( sar . description = 'modified pattern' ) ) ) >= 1 ; wr3: SIZEOF ( get_property_definition_representations ( SELF . related_shape_aspect . of_shape . definition ) ) = 1 ; wr4: NOT ( 'automotive_design.' + 'circular_pattern' IN TYPEOF ( SELF . relating_shape_aspect . of_shape . definition ) ) OR ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF . related_shape_aspect . of_shape . definition ) | ( SIZEOF ( pdr . used_representation . items ) = 2 ) ) ) = 1 ) ; wr5: NOT ( 'automotive_design.' + 'circular_pattern' IN TYPEOF ( SELF . relating_shape_aspect . of_shape . definition ) ) OR ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF . related_shape_aspect . of_shape . definition ) | ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'index number' ) AND ( 'automotive_design.' + 'measure_representation_item' IN TYPEOF ( i ) ) AND ( 'automotive_design.' + 'count_measure' IN TYPEOF ( i \ measure_with_unit . value_component ) ) ) ) = 1 ) ) ) = 1 ) ; wr6: NOT ( 'automotive_design.' + 'circular_pattern' IN TYPEOF ( SELF . relating_shape_aspect . of_shape . definition ) ) OR ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF . related_shape_aspect . of_shape . definition ) | ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'offset' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'plane_angle_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) = 1 ) ; wr7: NOT ( 'automotive_design.' + 'rectangular_pattern' IN TYPEOF ( SELF . relating_shape_aspect . of_shape . definition ) ) OR ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF . related_shape_aspect . of_shape . definition ) | ( SIZEOF ( pdr . used_representation . items ) = 3 ) ) ) = 1 ) ; wr8: NOT ( 'automotive_design.' + 'rectangular_pattern' IN TYPEOF ( SELF . relating_shape_aspect . of_shape . definition ) ) OR ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF . related_shape_aspect . of_shape . definition ) | ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'row index' ) AND ( 'automotive_design.' + 'measure_representation_item' IN TYPEOF ( i ) ) AND ( 'automotive_design.' + 'count_measure' IN TYPEOF ( i \ measure_with_unit . value_component ) ) ) ) = 1 ) ) ) = 1 ) ; wr9: NOT ( 'automotive_design.' + 'rectangular_pattern' IN TYPEOF ( SELF . relating_shape_aspect . of_shape . definition ) ) OR ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF . related_shape_aspect . of_shape . definition ) | ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'column index' ) AND ( 'automotive_design.' + 'measure_representation_item' IN TYPEOF ( i ) ) AND ( 'automotive_design.' + 'count_measure' IN TYPEOF ( i \ measure_with_unit . value_component ) ) ) ) = 1 ) ) ) = 1 ) ; wr10: NOT ( 'automotive_design.' + 'rectangular_pattern' IN TYPEOF ( SELF . relating_shape_aspect . of_shape . definition ) ) OR ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF . related_shape_aspect . of_shape . definition ) | ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'offset distance' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) = 1 ) ; wr11: NOT ( 'automotive_design.' + 'rectangular_pattern' IN TYPEOF ( SELF . relating_shape_aspect . of_shape . definition ) ) OR ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF . related_shape_aspect . of_shape . definition ) | ( 'automotive_design.' + 'direction_shape_representation' IN TYPEOF ( pdr . used_representation ) ) AND ( pdr . used_representation . name = 'offset direction' ) ) ) = 1 ) ; END_ENTITY; -- pattern_offset_membership |
Entity data types and their attributesshape_aspect_relationshipname: label; (OPT) description: text; relating_shape_aspect: shape_aspect; related_shape_aspect: shape_aspect; (DER) id: identifier; feature_component_relationship - pattern_offset_membership - |
Global rules for this entity data type- |
public interface EPattern_offset_membership extends EFeature_component_relationship |
public class CPattern_offset_membership implements EPattern_offset_membership |
public class APattern_offset_membership extends AEntitypublic EPattern_offset_membership getByIndex(int index)public EPattern_offset_membership getCurrentMember(SdaiIterator it) |