Author: shawkins
Date: 2012-02-13 10:48:22 -0500 (Mon, 13 Feb 2012)
New Revision: 3868
Modified:
branches/7.7.x/api/src/main/java/org/teiid/metadata/MetadataFactory.java
Log:
TEIID-1936 adding a set method for the metadatastore
Modified: branches/7.7.x/api/src/main/java/org/teiid/metadata/MetadataFactory.java
===================================================================
--- branches/7.7.x/api/src/main/java/org/teiid/metadata/MetadataFactory.java 2012-02-13
15:46:55 UTC (rev 3867)
+++ branches/7.7.x/api/src/main/java/org/teiid/metadata/MetadataFactory.java 2012-02-13
15:48:22 UTC (rev 3868)
@@ -293,5 +293,17 @@
setUUID(function);
this.schema.addFunction(function);
return function;
- }
+ }
+
+ /**
+ * Set to false to disable correcting column and other names to be valid Teiid names.
+ * @param autoCorrectColumnNames
+ */
+ public void setAutoCorrectColumnNames(boolean autoCorrectColumnNames) {
+ this.autoCorrectColumnNames = autoCorrectColumnNames;
+ }
+
+ public void setMetadataStore(MetadataStore metadataStore) {
+ this.store = metadataStore;
+ }
}