ENTITY mechanism_state_representation SUBTYPE OF (representation); SELF\representation.items : SET [1:?] OF pair_value; represented_mechanism : mechanism_representation; DERIVE SELF\representation.context_of_items : geometric_representation_context := represented_mechanism.context_of_items; END_ENTITY; -- mechanism_state_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; mechanism_state_representation (RT) items: SET [1:?] OF pair_value; represented_mechanism: mechanism_representation; (RT) (DER) context_of_items: geometric_representation_context; |
Global rules for this entity data type- |
public interface EMechanism_state_representation extends ERepresentationrepresented_mechanism (explicit attribute)boolean testRepresented_mechanism(EMechanism_state_representation type)EMechanism_representation getRepresented_mechanism(EMechanism_state_representation type) void setRepresented_mechanism(EMechanism_state_representation type, EMechanism_representation value) void unsetRepresented_mechanism(EMechanism_state_representation type) |
public class CMechanism_state_representation implements EMechanism_state_representationstatic EAttribute attributeRepresented_mechanism(EMechanism_state_representation type)static int usedinRepresented_mechanism(EMechanism_state_representation type, EMechanism_representation instance, ASdaiModel domain, AMechanism_state_representation result) static EAttribute attributeContext_of_items(EMechanism_state_representation type) static int usedinContext_of_items(EMechanism_state_representation type, EGeometric_representation_context instance, ASdaiModel domain, AMechanism_state_representation result) |
public class AMechanism_state_representation extends AEntitypublic EMechanism_state_representation getByIndex(int index)public EMechanism_state_representation getCurrentMember(SdaiIterator it) |