ENTITY bead_end SUBTYPE OF (shape_aspect); WHERE wr1: 'AIC_MACHINING_FEATURE.FEATURE_COMPONENT_DEFINITION' IN TYPEOF(SELF.of_shape.definition); wr2: SELF.description IN ['linear','open','radiused']; wr3: (SELF.description <> 'linear') XOR (SIZEOF( QUERY( pdr <* get_shape_aspect_property_definition_representations(SELF) | ('SHAPE_ASPECT_DEFINITION_SCHEMA.SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF(pdr.used_representation)) )) > 0); wr4: (SELF.description <> 'linear') OR (SIZEOF( QUERY( pdr <* get_shape_aspect_property_definition_representations(SELF) | ('SHAPE_ASPECT_DEFINITION_SCHEMA.SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF(pdr.used_representation)) AND (SIZEOF(pdr.used_representation.items) = 2) )) = 1); wr5: (SELF.description <> 'linear') OR (SIZEOF( QUERY( pdr <* get_shape_aspect_property_definition_representations(SELF) | ('SHAPE_ASPECT_DEFINITION_SCHEMA.SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF(pdr.used_representation)) AND (SIZEOF( QUERY( i <* pdr.used_representation.items | (i.name='end length') AND (SIZEOF(['QUALIFIED_MEASURE_SCHEMA.MEASURE_REPRESENTATION_ITEM', 'MEASURE_SCHEMA.LENGTH_MEASURE_WITH_UNIT']*TYPEOF(i) ) = 2) )) = 1) )) = 1); wr6: (SELF.description <> 'linear') OR (SIZEOF( QUERY( pdr <* get_shape_aspect_property_definition_representations(SELF) | ('SHAPE_ASPECT_DEFINITION_SCHEMA.SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF(pdr.used_representation)) AND (SIZEOF( QUERY( i <* pdr.used_representation.items | (i.name = 'end shape') AND (i\descriptive_representation_item.description IN ['straight','tapered']) AND ('QUALIFIED_MEASURE_SCHEMA.DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF(i)) )) = 1) )) = 1); wr7: SIZEOF( QUERY( sar <* USEDIN( SELF, 'PRODUCT_PROPERTY_DEFINITION_SCHEMA.' + 'SHAPE_ASPECT_RELATIONSHIP.RELATING_SHAPE_ASPECT') | ('AIC_MACHINING_FEATURE.FEATURE_COMPONENT_RELATIONSHIP' IN TYPEOF(sar)) AND (sar.name = 'bead end usage') AND (sar.description IN ['starting' ,'ending' ]) AND ('FORM_FEATURE_IN_PANEL_MIM.BEAD' IN TYPEOF(sar.related_shape_aspect.of_shape.definition)) AND (sar.related_shape_aspect.of_shape.definition\characterized_object.name = 'end condition') AND (sar.related_shape_aspect.of_shape.definition\characterized_object.description = 'bead end occurrence') )) = 1; END_ENTITY; -- bead_end |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; bead_end - |
Global rules for this entity data type- |
public interface EBead_end extends EShape_aspect |
public class CBead_end implements EBead_end |
public class ABead_end extends AEntitypublic EBead_end getByIndex(int index)public EBead_end getCurrentMember(SdaiIterator it) |