[teiid-designer-dev] other model types

Steven Hawkins shawkins at redhat.com
Thu Mar 25 21:36:23 EDT 2010


Just to clarify, model is an element under vdb and has a type attribute that allows for the enumerated values {PHYSICAL, VIRTUAL, FUNCTION}.  Given the assumption that the new vdb.xml file replaces both the ConfigurationInfo.def and the MetaMatrix-VdbManifestModel.xmi, I am trying to ensure that the vdb.xml contains all the necessary information.  So to have entries for all possible models (and there by a place holder for property elements), there needs to be an enumeration value for each model type.

On the other hand if you are saying Designer no longer has use for the information that was in MetaMatrix-VdbManifestModel.xmi, then Teiid does not need to have model entries for anything other than PHYSICAL, VIRTUAL, or FUNCTION model types.


----- Original Message -----
From: "John Verhaeg" <jverhaeg at redhat.com>
To: "Steven Hawkins" <shawkins at redhat.com>
Cc: "teiid-designer-dev" <teiid-designer-dev at lists.jboss.org>
Sent: Thursday, March 25, 2010 5:03:22 PM GMT -06:00 US/Canada Central
Subject: Re: [teiid-designer-dev] other model types


On Mar 25, 2010, at 5:00 PM, Steven Hawkins wrote:

> Now we have:
> 
> Barry - include them all
> 
> and
> 
> John - include them only if there is some ui reason
> 
> So they should be included then, because Designer is a ui and used to use those values for something?  
> 
> Just to make sure my assumptions are correct, if there is additional values you guys want to track, then they will be set as properties on the model in the vdb.xml rather than going into a separate model manifest (such as the old entries for model, path, uuid, or update time)?  And if that is the case then it seems like you will want model entries in the vdb.xml for these other model types.


Yes, the property support is a good point.  Unless Barry knows of a specific reason why the types are anything more than just a UI concern, it seems like we'd just use the generic property name-value pair support in the vdb.xml to support anything specific to the UI.  Why would you guys support UI-only model types in the main schema if they're not useful in the runtime?

JPAV





More information about the teiid-designer-dev mailing list