JBoss.orgCommunity Documentation

Chapter 7. New Model Wizards

7.1. Creating New Relational Source Model
7.1.1. Generate File Translator Procedures
7.1.2. Generate Web Service Translator Procedures
7.1.3. Copy From Existing Model
7.2. Creating New Relational View Model
7.2.1. Copy From Existing Model
7.2.2. Transform From Existing Model
7.2.3. Create From XML Schema
7.3. Creating XML Document View Model
7.3.1. Copy From Existing Model
7.3.2. Build XML Documents From XML Schema
7.4. Creating XML Schema Model
7.4.1. Copy From Existing Model
7.5. Creating Web Service View Model
7.5.1. Copy From Existing Model
7.5.2. Build From Existing WSDL File(s) or URL
7.5.3. Build From Relational Models
7.5.4. Build From XML Document View Models
7.6. Creating New Extensions Model
7.6.1. Copy From Existing Model

Models are the primary resource used by the Teiid Designer. Creating models can be accomplished by either directly importing existing metadata or by creating them using one of several New Model wizard options. This section describes these wizards in detail.

Use one of the following options to launch the New Model Wizard.

New Model Wizard

Note

Model names are required to be unique within Designer. When specifying model names in new model wizards and dialogues error messages will be presented and you will prevented from entering an existing name.

Import Wizard Selection Dialog

Figure 7.1. Import Wizard Selection Dialog


Create New Relational Source Model

Note

You can change the target location (i.e. project or folder) by selecting the Browse... button and selecting a project or folder within your workspace.

  • In addition to creating a new empty relational source model, the following builder options are available:

    • Copy from existing model of the same model class.

This builder option allows construction of a relational model containing one or more of the procedures required for accessing file-based data via a file translator.

This builder option allows construction of a relational model containing one or more of the procedures required for accessing web-service-based XML data via a web s translator.

This builder option performs a structural copy of the contents of an existing model to a newly defined model. You can choose a full copy or select individual model components for copy.

Create New Relational View Model

Note

You can change the target location (i.e. project or folder) by selecting the Browse... button and selecting a project or folder within your workspace.

  • In addition to creating a new empty relational view model, the following builder options are available:

    • Copy from existing model of the same model class.

    • Transform from existing model.

This builder option performs a structural copy of the contents of an existing model to a newly defined model. You can choose a full copy or select individual model components for copy.

Create XML Document View Model

Note

You can change the target location (i.e. project or folder) by selecting the Browse... button and selecting a project or folder within your workspace.

  • In addition to creating a new empty xml document view model, the following builder options are available:

    • Copy from existing model of the same model class.

    • Build XML documents from XML schema.

This builder option performs a structural copy of the contents of an existing model to a newly defined model. You can choose a full copy or select individual model components for copy.

This option creates an XML View document model based on a selected XML schema and its dependencies.

Create XML Schema Model

Note

You can change the target location (i.e. project or folder) by selecting the Browse... button and selecting a project or folder within your workspace.

  • In addition to creating a new empty xml schema model, the following builder option is available:

    • Copy from existing model of the same model class.

This builder option performs a structural copy of the contents of an existing model to a newly defined model. You can choose a full copy or select individual model components for copy.

Create Web Service View Model

Note

You can change the target location (i.e. project or folder) by selecting the Browse... button and selecting a project or folder within your workspace.

  • In addition to creating a new empty web service view model, the following builder options are available:

    • Copy from existing model of the same model class.

    • Build from existing WSDL file(s) or URL.

This builder option performs a structural copy of the contents of an existing model to a newly defined model. You can choose a full copy or select individual model components for copy.

Create New Extensions Model

Note

You can change the target location (i.e. project or folder) by selecting the Browse... button and selecting a project or folder within your workspace.

  • In addition to creating a new empty extensions model, the following builder option is available:

    • Copy from existing model of the same model class.

This builder option performs a structural copy of the contents of an existing model to a newly defined model. You can choose a full copy or select individual model components for copy.