ENTITY visual_appearance_representation SUBTYPE OF (representation); WHERE wr1: ( {3<= SIZEOF ( SELF.items ) <=9} ) AND ( SIZEOF ( QUERY ( i <* items | ( 'SURFACE_CONDITIONS_MIM.'+ 'DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF ( i ) ) AND ( i.name IN [ 'colour id' , 'colour name' , 'lustre' , 'pattern' , 'transparency', 'orientation'] ) ) ) + SIZEOF ( QUERY ( i <* items | ( SIZEOF ( ['SURFACE_CONDITIONS_MIM.'+ 'MEASURE_REPRESENTATION_ITEM' , 'SURFACE_CONDITIONS_MIM.'+ 'VALUE_RANGE']* TYPEOF ( i ) ) =1 ) AND ( i.name IN ['refraction index' , 'opacity'] ) ) ) + SIZEOF ( QUERY ( i <* items | ( 'SURFACE_CONDITIONS_MIM.'+ 'DOCUMENT_FILE' IN TYPEOF ( i ) ) AND ( i.name IN [ 'texture map' ] ) ) ) = SIZEOF ( SELF.items ) ); wr2: SIZEOF ( QUERY ( i <* SELF.items | i.name = 'colour id' )) =1; wr3: SIZEOF ( QUERY ( i <* SELF.items | i.name ='lustre' ) )=1; wr4: SIZEOF ( QUERY ( i <* SELF.items | i.name = 'colour name') ) <=1; wr5: SIZEOF ( QUERY ( i <* SELF.items | i.name ='pattern' ) )<=1; wr6: SIZEOF ( QUERY ( i <* SELF.items | i.name ='transparency') ) <=1; wr7: SIZEOF ( QUERY ( i <* SELF.items | i.name = 'texture map') ) <=1; wr8: SIZEOF ( QUERY ( i <* SELF.items | i.name ='refraction index' ) )<=1; wr9: SIZEOF ( QUERY ( i <* SELF.items | i.name ='opacity') ) <=1; wr10: SIZEOF ( QUERY ( i <* SELF.items | i.name ='orientation') ) <=1; wr11: ( 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; -- visual_appearance_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; visual_appearance_representation - |
visual_appearance (SURFACE_CONDITIONS_XIM) |
Global rules for this entity data type- |
public interface EVisual_appearance_representation extends ERepresentation |
public class CVisual_appearance_representation implements EVisual_appearance_representation |
public class AVisual_appearance_representation extends AEntitypublic EVisual_appearance_representation getByIndex(int index)public EVisual_appearance_representation getCurrentMember(SdaiIterator it) |