W3C home > Mailing lists > Public > public-rif-wg@w3.org > March 2009

ISSUE-94 (Objects): How to represent objects filelds and methods in RIF [PRD ]

From: Rule Interchange Format Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 2 Mar 2009 17:21:09 +0000 (GMT)
To: public-rif-wg@w3.org
Message-Id: <20090302172109.1D9326B62C@tibor.w3.org>

ISSUE-94 (Objects): How to represent objects filelds and methods in RIF [PRD ]

http://www.w3.org/2005/rules/wg/track/issues/94

Raised by: Christian de Sainte Marie
On product: PRD 

During F2F11 in NYC, one of the questions that were tabled and not further discussed was the representation, in RIF, of object methods.

During F2F12, in Portland, the question of the representation of single-valued attributes, such as objects' attributes, has been discussed, with the conclusion that the single essential difference between a multi-valued attribute (as represenetd by a RIF Frame) and a single-valued attribute, is in the semantic of asserting a value: the assertion adds a new value to the attribute's values in the case of a multi-valued attribute; it replaces the attribute's previous value, if the attribute is single-valued. Re representation, the discussion revolved around how to indicate that a frame attribute is single-valued, e.g.:
- using specific syntax;
- using an annotation;
- adding a specific action for assertion with replacement semantics and leaving it to the consumer to determine the cardinality of attributes, based on the actions that affect them.

The two questions (methods and attributes) are related because most OO programming languages handle uniformally the representation of attribute references and for method calls.

Whether they are related in RIF will depend on proposed resolutions for this issue...
Received on Monday, 2 March 2009 17:21:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:34:03 GMT