ENTITY mechanism_representation SUBTYPE OF (representation); SELF\representation.context_of_items : geometric_representation_context; SELF\representation.items : SET [1:?] OF pair_representation_relationship; represented_topology : kinematic_topology_representation_select; DERIVE represented_joints : SET [1:?] OF kinematic_joint := collect_joints(items); WHERE wr1: (('KINEMATIC_TOPOLOGY_SCHEMA.KINEMATIC_TOPOLOGY_STRUCTURE' IN TYPEOF(represented_topology)) AND (represented_joints :=: represented_topology.items)) OR (('KINEMATIC_TOPOLOGY_SCHEMA.KINEMATIC_TOPOLOGY_DIRECTED_STRUCTURE' IN TYPEOF(represented_topology)) AND (represented_joints :=: get_kinematic_joints_from_oriented_joints(represented_topology.items))) OR (('KINEMATIC_TOPOLOGY_SCHEMA.KINEMATIC_TOPOLOGY_NETWORK_STRUCTURE' IN TYPEOF(represented_topology)) AND (represented_joints :=: get_kinematic_joints_from_kinematic_loops(represented_topology.items))); END_ENTITY; -- mechanism_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_representation (RT) context_of_items: geometric_representation_context; (RT) items: SET [1:?] OF pair_representation_relationship; represented_topology: kinematic_topology_representation_select; (DER) represented_joints: SET [1:?] OF kinematic_joint; |
Global rules for this entity data type- |
public interface EMechanism_representation extends ERepresentationrepresented_topology (explicit attribute)int testRepresented_topology(EMechanism_representation type)case 1 EEntity getRepresented_topology(EMechanism_representation type) void setRepresented_topology(EMechanism_representation type, EEntity value, EEntity node1) void unsetRepresented_topology(EMechanism_representation type) represented_joints (derived attribute)AKinematic_joint getRepresented_joints(EMechanism_representation type)boolean testRepresented_joints(EMechanism_representation type) |
public class CMechanism_representation implements EMechanism_representationstatic EAttribute attributeRepresented_topology(EMechanism_representation type)static int usedinRepresented_topology(EMechanism_representation type, EEntity instance, ASdaiModel domain, AMechanism_representation result) static EAttribute attributeRepresented_joints(EMechanism_representation type) static int usedinRepresented_joints(EMechanism_representation type, EKinematic_joint instance, ASdaiModel domain, AMechanism_representation result) |
public class AMechanism_representation extends AEntitypublic EMechanism_representation getByIndex(int index)public EMechanism_representation getCurrentMember(SdaiIterator it) |