ENTITY hardness_representation SUBTYPE OF (representation); WHERE wr1: ( {2<= SIZEOF ( SELF.items ) <=4} ) AND ( SIZEOF ( QUERY ( i <* items | ( 'SURFACE_CONDITIONS_MIM.'+ 'DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF ( i ) ) AND ( i.name IN [ 'measuring method' , 'measuring position' ] ) ) ) + SIZEOF ( QUERY ( i <* items | ( SIZEOF ( ['SURFACE_CONDITIONS_MIM.'+ 'MEASURE_REPRESENTATION_ITEM' , 'SURFACE_CONDITIONS_MIM.'+ 'VALUE_RANGE']* TYPEOF ( i ) ) =1 ) AND ( i.name IN ['depth' , 'hardness'] ) ) ) = SIZEOF ( SELF.items ) ); wr2: SIZEOF ( QUERY ( i <* SELF.items | i.name = 'measuring method' ) ) =1; wr3: SIZEOF ( QUERY ( i <* SELF.items | i.name ='hardness' ) ) =1; wr4: SIZEOF ( QUERY ( i <* SELF.items | i.name = 'measuring position' ) ) <=1; wr5: SIZEOF ( QUERY ( i <* SELF.items | i.name ='depth' ) ) <=1; wr6: ( SIZEOF ( USEDIN ( SELF , 'SURFACE_CONDITIONS_MIM.'+'PROPERTY_DEFINITION_REPRESENTATION.'+ 'USED_REPRESENTATION' ) ) =1 ) AND ( SIZEOF ( QUERY ( pdr <* USEDIN ( SELF , 'SURFACE_CONDITIONS_MIM.'+'PROPERTY_DEFINITION_REPRESENTATION.'+ 'USED_REPRESENTATION' ) | SIZEOF ( QUERY ( gpa <* USEDIN ( pdr. definition , 'SURFACE_CONDITIONS_MIM.'+'GENERAL_PROPERTY_ASSOCIATION.'+ 'DERIVED_DEFINITION' ) | ( 'SURFACE_CONDITIONS_MIM.'+ 'GENERAL_PROPERTY' IN TYPEOF ( gpa. base_definition ) ) AND ( gpa. base_definition.name ='surface_condition' ) ) ) =1 ) ) =1 ); END_ENTITY; -- hardness_representation |
Entity data types and their attributesrepresentationname: label; items: SET [1:?] OF representation_item; context_of_items: representation_context; (DER) id: identifier; (DER) description: text; hardness_representation - |
hardness (SURFACE_CONDITIONS_XIM) |
Global rules for this entity data type- |
public interface EHardness_representation extends ERepresentation |
public class CHardness_representation implements EHardness_representation |
public class AHardness_representation extends AEntitypublic EHardness_representation getByIndex(int index)public EHardness_representation getCurrentMember(SdaiIterator it) |