ENTITY vector SUBTYPE OF (geometric_representation_item); orientation : direction; magnitude : length_measure; WHERE wr1: magnitude >= 0.0; END_ENTITY; -- vector |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; vector orientation: direction; magnitude: length_measure; |
Global rules for this entity data type- |
public interface EVector extends EGeometric_representation_itemorientation (explicit attribute)boolean testOrientation(EVector type)EDirection getOrientation(EVector type) void setOrientation(EVector type, EDirection value) void unsetOrientation(EVector type) magnitude (explicit attribute)boolean testMagnitude(EVector type)double getMagnitude(EVector type) void setMagnitude(EVector type, double value) void unsetMagnitude(EVector type) |
public class CVector implements EVectorstatic EAttribute attributeOrientation(EVector type)static int usedinOrientation(EVector type, EDirection instance, ASdaiModel domain, AVector result) static EAttribute attributeMagnitude(EVector type) |
public class AVector extends AEntitypublic EVector getByIndex(int index)public EVector getCurrentMember(SdaiIterator it) |