ENTITY locator SUBTYPE OF (feature_definition); WHERE wr1: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND NOT ( {2<= SIZEOF ( pdr. used_representation.items ) <=5} ) ) ) =0; wr2: 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='diameter' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1; wr3: 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= 'tip radius' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) <=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 | ( i.name= 'tip angle' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'PLANE_ANGLE_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1; 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 ) ) ) <=1; END_ENTITY; -- locator |
Entity data types and their attributescharacterized_objectname: label; (OPT) description: text; feature_definition - locator - |
Global rules for this entity data type- |
public interface ELocator extends EFeature_definition |
public class CLocator implements ELocator |
public class ALocator extends AEntitypublic ELocator getByIndex(int index)public ELocator getCurrentMember(SdaiIterator it) |