ENTITY light_source SUPERTYPE OF (ONEOF (light_source_ambient, light_source_directional, light_source_positional, light_source_spot)) SUBTYPE OF (geometric_representation_item); light_colour : colour; WHERE wr1: SIZEOF(USEDIN(SELF,'PRESENTATION_APPEARANCE_SCHEMA.'+ 'STYLED_ITEM.ITEM')) = 0; END_ENTITY; -- light_source |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; light_source light_colour: colour; |
light_source_ambient (PRESENTATION_ORGANIZATION_SCHEMA) |
light_source_directional (PRESENTATION_ORGANIZATION_SCHEMA) |
light_source_positional (PRESENTATION_ORGANIZATION_SCHEMA) |
light_source_spot (PRESENTATION_ORGANIZATION_SCHEMA) |
Global rules for this entity data type- |
public interface ELight_source extends EGeometric_representation_itemlight_colour (explicit attribute)boolean testLight_colour(ELight_source type)EColour getLight_colour(ELight_source type) void setLight_colour(ELight_source type, EColour value) void unsetLight_colour(ELight_source type) |
public class CLight_source implements ELight_sourcestatic EAttribute attributeLight_colour(ELight_source type)static int usedinLight_colour(ELight_source type, EColour instance, ASdaiModel domain, ALight_source result) |
public class ALight_source extends AEntitypublic ELight_source getByIndex(int index)public ELight_source getCurrentMember(SdaiIterator it) |