
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45


목차
18.1 ODMG 객체 모델의 개요
18.2 Object Definition Language DDL
18.3 Object Query Language OQL
18.4 C++ Binding의 개요
18.5 Object Database 개념 설계
18.6 요약
18.2 Object Definition Language DDL
18.3 Object Query Language OQL
18.4 C++ Binding의 개요
18.5 Object Database 개념 설계
18.6 요약
본문내용
객체 모델의 기본 building blocks은 다음 두가지임Objects Literals
객체는 다음 네가지 특성을 가짐 Identifier: unique system-wide identifier Name: 특정한 데이타베이스나 프로그램 내에서 유일하며, 이름을 가지지 않을 수도 있음 Lifetime: persistent vs transient
Structure: 타입 생성자에 의하 어떻게 객체가 생성되는 지와 객체가 원자 객체인가의 여부를 명시함리터럴객체 식별자를 갖지 않는 값리터럴의 세가지 유형 1. atomic: 미리 정의된 기본 타입의 값 (e.g., short, float, boolean, char)2. structured: 타입 생성자에 의해 생성된 값
g., date, struct variables)3. collection: 값 혹은 객체의 collection
e.g., array, set)Collection objectsCollection interface를 상속 받음
Collectioninterface에는 collection 객체에서 필요한 연산들이 정의되어 있음예 : Collction interface에 정의된 연산들cardinality()
is_empty()insert_element()remove_element()contains_element()
create_iterator()
객체는 다음 네가지 특성을 가짐 Identifier: unique system-wide identifier Name: 특정한 데이타베이스나 프로그램 내에서 유일하며, 이름을 가지지 않을 수도 있음 Lifetime: persistent vs transient
Structure: 타입 생성자에 의하 어떻게 객체가 생성되는 지와 객체가 원자 객체인가의 여부를 명시함리터럴객체 식별자를 갖지 않는 값리터럴의 세가지 유형 1. atomic: 미리 정의된 기본 타입의 값 (e.g., short, float, boolean, char)2. structured: 타입 생성자에 의해 생성된 값
g., date, struct variables)3. collection: 값 혹은 객체의 collection
e.g., array, set)Collection objectsCollection interface를 상속 받음
Collectioninterface에는 collection 객체에서 필요한 연산들이 정의되어 있음예 : Collction interface에 정의된 연산들cardinality()
is_empty()insert_element()remove_element()contains_element()
create_iterator()