ENTITY pattern_omit_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 ) =1 ) ) ) =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.'+ '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 ) =2 ) ) ) =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 ( 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 ); 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= '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 ); END_ENTITY; -- pattern_omit_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_omit_membership - |
Global rules for this entity data type- |
public interface EPattern_omit_membership extends EFeature_component_relationship |
public class CPattern_omit_membership implements EPattern_omit_membership |
public class APattern_omit_membership extends AEntitypublic EPattern_omit_membership getByIndex(int index)public EPattern_omit_membership getCurrentMember(SdaiIterator it) |