ENTITY geometric_tolerance_with_defined_area_unit SUBTYPE OF (geometric_tolerance_with_defined_unit); area_type : area_unit_type; second_unit_size : OPTIONAL length_measure_with_unit; WHERE wr1: NOT (EXISTS(second_unit_size) XOR (area_type = rectangular)); END_ENTITY; -- geometric_tolerance_with_defined_area_unit |
Entity data types and their attributesgeometric_tolerancename: label; (OPT) description: text; (OPT) magnitude: length_measure_with_unit; toleranced_shape_aspect: geometric_tolerance_target; (DER) controlling_shape: product_definition_shape; geometric_tolerance_with_defined_unit unit_size: length_measure_with_unit; geometric_tolerance_with_defined_area_unit area_type: area_unit_type; (OPT) second_unit_size: length_measure_with_unit; |
Global rules for this entity data type- |
public interface EGeometric_tolerance_with_defined_area_unit extends EGeometric_tolerance_with_defined_unitarea_type (explicit attribute)boolean testArea_type(EGeometric_tolerance_with_defined_area_unit type)int getArea_type(EGeometric_tolerance_with_defined_area_unit type) void setArea_type(EGeometric_tolerance_with_defined_area_unit type, int value) void unsetArea_type(EGeometric_tolerance_with_defined_area_unit type) second_unit_size (explicit attribute)boolean testSecond_unit_size(EGeometric_tolerance_with_defined_area_unit type)ELength_measure_with_unit getSecond_unit_size(EGeometric_tolerance_with_defined_area_unit type) void setSecond_unit_size(EGeometric_tolerance_with_defined_area_unit type, ELength_measure_with_unit value) void unsetSecond_unit_size(EGeometric_tolerance_with_defined_area_unit type) |
public class CGeometric_tolerance_with_defined_area_unit implements EGeometric_tolerance_with_defined_area_unitstatic EAttribute attributeArea_type(EGeometric_tolerance_with_defined_area_unit type)static EAttribute attributeSecond_unit_size(EGeometric_tolerance_with_defined_area_unit type) static int usedinSecond_unit_size(EGeometric_tolerance_with_defined_area_unit type, ELength_measure_with_unit instance, ASdaiModel domain, AGeometric_tolerance_with_defined_area_unit result) |
public class AGeometric_tolerance_with_defined_area_unit extends AEntitypublic EGeometric_tolerance_with_defined_area_unit getByIndex(int index)public EGeometric_tolerance_with_defined_area_unit getCurrentMember(SdaiIterator it) |