×

SYSTEM AND ARTICLE OF MANUFACTURE FOR DEFINING AND GENERATING A VIEWTYPE FOR A BASE MODEL

  • US 20090112920A1
  • Filed: 01/06/2009
  • Published: 04/30/2009
  • Est. Priority Date: 12/22/2004
  • Status: Active Grant
First Claim
Patent Images

1. An article of manufacture including a program for processing a base model, wherein the program when executed by a processor is capable of causing operations to be performed, the operations comprising:

  • displaying a user interface with an option of selecting an existing ViewType or creation of a new ViewType;

    in response to receiving selection of creation of the new ViewType,receiving selection of the base model, wherein the base model represents a set of classes, attributes of the classes, and associations between classes; and

    traversing the base model to create a ViewType comprising a ViewType object, one or more ViewList objects corresponding to classes in the base model, and one or more ViewElem objects corresponding to attributes or associations in the base model, wherein the ViewType object has an association to at least one ViewList object, describes main attributes of the ViewType, and includes a model attribute that names the base model on which the ViewType is based, wherein each of the ViewList objects includes an attribute that names a base model class represented by that ViewList object and includes an association to a ViewElem object for each of the attributes and associations in the base model class that are defined in the ViewType, and wherein each of the ViewElem objects includes an attribute for a name of the attribute or association in the base model class represented by that ViewElem object;

    building a tree type of structure with a root using the ViewType, wherein each node of the tree type of structure represents one of a ViewType instance for either the root of the ViewType or for a nested ViewType, a ViewList instance that maps to a class in the base model, or a ViewElem instance that maps to an attribute of a class in the base model;

    providing controls in the user interface for listing and selecting classes and attributes available for adding to the tree type of structure at a selected class or attribute;

    displaying the tree type of structure with the controls in the user interface;

    in response to selection of a class or attribute in the tree type of structure, providing additional information about the selected class or attribute in the user interface adjacent to the tree type of structure;

    receiving modifications to the tree type of structure via the controls in the user interface, wherein the modifications are selected from the group consisting of;

    adding, removing, and updating nodes in the tree type of structure; and

    modifying the ViewType based on the modifications to the tree type of structure.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×