ODMG 3.0 Structured objects vs Structured Literal
От: Аноним  
Дата: 13.09.07 10:40
Оценка:
Кто-нить читал спецификацию ODMG 3? В чём отличие SO от SL. И там и там есть даты, интервалы. Никак понять не могу
Re: ODMG 3.0 Structured objects vs Structured Literal
От: dshe  
Дата: 18.09.07 11:04
Оценка:
Здравствуйте, Аноним, Вы писали:

А>Кто-нить читал спецификацию ODMG 3? В чём отличие SO от SL. И там и там есть даты, интервалы. Никак понять не могу


Полагаю, что разница в том же, что и вообще между Object'ами и Literal'ами

Literals do not have their own identifiers and cannot stand alone as objects; they are
embedded in objects and cannot be individually referenced. Literal values are sometimes
described as being constant. An earlier release of the ODMG Object Model
described literals as being immutable. The value of a literal cannot change. Examples
of literal values are the numbers 7 and 3.141596, the characters A and B, and the strings
Fred and April 1. By contrast, objects, which have identifiers, have been described as
being mutable. Changing the values of the attributes of an object, or the relationships
in which it participates, does not change the identity of the object.

Structured здесь всего лишь означает, что Object'ы и Literal'ы состоят из полей.
--
Дмитро
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.