ENTITY featured_shape SUBTYPE OF (product_definition_shape); WHERE wr1: 'AUTOMOTIVE_DESIGN.'+ 'PRODUCT_DEFINITION' IN TYPEOF ( SELF.definition ); wr2: ( SIZEOF ( USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'PROPERTY_DEFINITION_RELATIONSHIP.'+'RELATED_PROPERTY_DEFINITION' ) ) =1 ) AND ( SIZEOF ( QUERY ( pdr <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'PROPERTY_DEFINITION_RELATIONSHIP.'+ 'RELATED_PROPERTY_DEFINITION' ) | ( pdr. name = 'featured shape sequence' ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'PRODUCT_DEFINITION_SHAPE' IN TYPEOF ( pdr. relating_property_definition ) ) AND ( pdr. relating_property_definition:<>:SELF ) ) ) =1 ); wr3: SIZEOF ( QUERY ( pdr <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'PROPERTY_DEFINITION_RELATIONSHIP.'+ 'RELATED_PROPERTY_DEFINITION' ) | SELF.definition:=:pdr. relating_property_definition.definition ) ) =1; wr4: SIZEOF ( QUERY ( sa <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'SHAPE_ASPECT.'+ 'OF_SHAPE' ) | SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'PLACED_FEATURE' , 'AUTOMOTIVE_DESIGN.'+ 'INSTANCED_FEATURE']* TYPEOF ( sa ) ) =1 ) ) >=1; END_ENTITY; -- featured_shape |
Entity data types and their attributesproperty_definitionname: label; (OPT) description: text; definition: characterized_definition; (DER) id: identifier; product_definition_shape - featured_shape - |
Global rules for this entity data type- |
public interface EFeatured_shape extends EProduct_definition_shape |
public class CFeatured_shape implements EFeatured_shape |
public class AFeatured_shape extends AEntitypublic EFeatured_shape getByIndex(int index)public EFeatured_shape getCurrentMember(SdaiIterator it) |