ENTITY mechanism_base_placement SUBTYPE OF (representation_relationship_with_transformation); base_of_mechanism : mechanism; SELF\representation_relationship_with_transformation.transformation_operator : cartesian_transformation_operator_3d; DERIVE SELF\representation_relationship.rep_2 : kinematic_link_representation := representation_of_link (base_of_mechanism.base); UNIQUE ur1 : base_of_mechanism; WHERE wr1: ('KINEMATIC_STRUCTURE_SCHEMA.KINEMATIC_GROUND_REPRESENTATION' IN TYPEOF (SELF\representation_relationship.rep_1)) OR ('KINEMATIC_STRUCTURE_SCHEMA.KINEMATIC_LINK_REPRESENTATION' IN TYPEOF (SELF\representation_relationship.rep_1)); wr2: suitably_based_mechanism (SELF, base_of_mechanism); wr3: SELF\representation_relationship_with_transformation. transformation_operator IN SELF\representation_relationship.rep_1.items; END_ENTITY; -- mechanism_base_placement |
Entity data types and their attributesrepresentation_relationshipname: label; (OPT) description: text; rep_1: representation; rep_2: representation; representation_relationship_with_transformation transformation_operator: transformation; mechanism_base_placement base_of_mechanism: mechanism; (RT) transformation_operator: cartesian_transformation_operator_3d; (RT) (DER) rep_2: kinematic_link_representation; |
Global rules for this entity data type- |
public interface EMechanism_base_placement extends ERepresentation_relationship_with_transformationbase_of_mechanism (explicit attribute)boolean testBase_of_mechanism(EMechanism_base_placement type)EMechanism getBase_of_mechanism(EMechanism_base_placement type) void setBase_of_mechanism(EMechanism_base_placement type, EMechanism value) void unsetBase_of_mechanism(EMechanism_base_placement type) |
public class CMechanism_base_placement implements EMechanism_base_placementstatic EAttribute attributeBase_of_mechanism(EMechanism_base_placement type)static int usedinBase_of_mechanism(EMechanism_base_placement type, EMechanism instance, ASdaiModel domain, AMechanism_base_placement result) static EAttribute attributeRep_2(EMechanism_base_placement type) static int usedinRep_2(EMechanism_base_placement type, EKinematic_link_representation instance, ASdaiModel domain, AMechanism_base_placement result) |
public class AMechanism_base_placement extends AEntitypublic EMechanism_base_placement getByIndex(int index)public EMechanism_base_placement getCurrentMember(SdaiIterator it) |