Issue 6530: status of objects and tuples (ocl2-rtf) Source: Ecole Polytechnique Federale de Lausanne (Mr. Alfred Strohmeier, ) Nature: Uncategorized Issue Severity: Summary: Description: Provide a notation for the status of an object Rationale: It would be convenient to have a notation for denoting the status of an object. The type of such a status is a tuple. With such a notation it would be possible to compare the status of two objects or to compare the status of an object with a tuple. If not available, comparisons have to be performed on an attribute by attribute basis. Consider e.g. p, p1 and p2 are Person(s) p1.all = p2.all -- the 2 persons have same status, i.e. is nicer and less error-prone than comparing all attributes: p1.firstName = p2.firstName and p1.name = p2.name and ... It would also be possible to compare with a tuple: p.all = Tuple = Tuple {firstName = 'Alfred', name = 'Strohmeier', ...} Resolution: Revised Text: Actions taken: November 10, 2003: received issue Discussion: Discussion: Asking for an improvement of the language. Better solved in a RTF End of Annotations:===== tatus of objects and tuples Author: Alfred Strohmeier (alfred.strohmeier@epfl.ch) Description: Provide a notation for the status of an object Rationale: It would be convenient to have a notation for denoting the status of an object. The type of such a status is a tuple. With such a notation it would be possible to compare the status of two objects or to compare the status of an object with a tuple. If not available, comparisons have to be performed on an attribute by attribute basis. Consider e.g. p, p1 and p2 are Person(s) p1.all = p2.all -- the 2 persons have same status, i.e. is nicer and less error-prone than comparing all attributes: p1.firstName = p2.firstName and p1.name = p2.name and ... It would also be possible to compare with a tuple: p.all = Tuple = Tuple {firstName = 'Alfred', name = 'Strohmeier', ...}