# US 2006/0136805 A1 · Using viewtypes for accessing instance data structured by a base model

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0136805 A1
- Document ID: US20060136805A1
- Status: Published application
- Kind: A1
- Application number: 11/021,898
- Filed: 2004-12-22
- Published: 2006-06-22
- Earliest claimed: 2004-12-22
- Assignees: International Business Machines Corporation
- Inventors: Sharon Conn; Amy Silberbauer; Philip Boyer
- Web page: https://patentgrep.com/patent/US20060136805A1

## CPC

- G06F 16/284: {Relational databases}
- Y10S 707/99943: Generating database or data structure, e.g. via user interface
- Y10S 707/99944: Object-oriented database structure
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

Disclosed is a technique for manipulating instance data of a base model. A ViewType, a root object representing an object of the base model, and an operation are received. Whether the ViewType and the root object are compatible is determined. When the ViewType and the root object are compatible, the operation is applied to the instance data of the base model while using the ViewType to traverse the instance data.

## Claims

### Claim 1

A method for manipulating instance data described by a base model, comprising:
receiving a ViewType, a root object representing an object of the base model, and an operation;
determining whether the ViewType and the root object are compatible; and
when the ViewType and the root object are compatible, applying the operation to the instance data of the base model while using the ViewType to traverse the instance data.

### Claim 2 (depends on 1)

The method of claim 1, wherein the operation is applied in a root-to-leaf order.

### Claim 3 (depends on 1)

The method of claim 1, wherein the operation is applied in a leaf-to-root order.

### Claim 4 (depends on 1)

The method of claim 1, wherein the instance data comprises one or more objects.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
traversing an attribute of an object where the attribute maps to a ViewElem in a ViewList representing the object in the ViewType; and
traversing an association of the object where the association maps to a ViewElem in a ViewList representing the object in the ViewType and wherein the association mapped by the ViewElem has a target object with a type that is compatible with the object type represented by the nested ViewList of the ViewElem.

### Claim 6

An article of manufacture including a program for manipulating instance data described by a base model, wherein the program is capable of causing operations to be performed, the operations comprising:
receiving a ViewType, a root object representing an object of the base model, and an operation;
determining whether the ViewType and the root object are compatible; and
when the ViewType and the root object are compatible, applying the operation to the instance data of the base model while using the ViewType to traverse the instance data.

### Claim 7 (depends on 6)

The article of manufacture of claim 6, wherein the operation is applied in a root-to-leaf order.

### Claim 8 (depends on 6)

The article of manufacture of claim 6, wherein the operation is applied in a leaf-to-root order.

### Claim 9 (depends on 6)

The article of manufacture of claim 6, wherein the instance data comprises one or more objects.

### Claim 10 (depends on 9)

The article of manufacture of claim 9, wherein the program is capable of causing operations further comprising:
traversing an attribute of an object where the attribute maps to a ViewElem in a ViewList representing the object in the ViewType; and
traversing an association of the object where the association maps to a ViewElem in a ViewList representing the object in the ViewType and wherein the association mapped by the ViewElem has a target object with a type that is compatible with the object type represented by the nested ViewList of the ViewElem.

### Claim 11

A system for manipulating instance data described by a base model, comprising:
circuitry capable of performing operations, the operations comprising:
receiving a ViewType, a root object representing an object of the base model, and an operation;
determining whether the ViewType and the root object are compatible; and
when the ViewType and the root object are compatible, applying the operation to the instance data of the base model while using the ViewType to traverse the instance data.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operation is applied in a root-to-leaf order.

### Claim 13 (depends on 11)

The system of claim 11, wherein the operation is applied in a leaf-to-root order.

### Claim 14 (depends on 11)

The system of claim 11, wherein the instance data comprises one or more objects.

### Claim 15 (depends on 14)

The system of claim 14, wherein the circuitry is capable of causing operations further comprising:
traversing an attribute of an object where the attribute maps to a ViewElem in a ViewList representing the object in the ViewType; and
traversing an association of the object where the association maps to a ViewElem in a ViewList representing the object in the ViewType and wherein the association mapped by the ViewElem has a target object with a type that is compatible with the object type represented by the nested ViewList of the ViewElem.
