Package org.teiid.query.metadata.TransformationMetadata

Examples of org.teiid.query.metadata.TransformationMetadata.Resource


    Table table = mf1.addTable("doc");
    table.setSchemaPaths(Arrays.asList("../../x.xsd"));
    table.setResourcePath("/a/b/doc.xmi");
   
    HashMap<String, Resource> resources = new HashMap<String, Resource>();
    resources.put("/x.xsd", new Resource(Mockito.mock(VirtualFile.class), true));
   
    CompositeMetadataStore cms = new CompositeMetadataStore(Arrays.asList(mf.getMetadataStore(), mf1.getMetadataStore()));
   
    VDBMetaData vdb = new VDBMetaData();
    vdb.setName("vdb");
View Full Code Here


        // remove the leading vdb name from the entry
        String path = f.getPathName().substring(root.getPathName().length());
        if (!path.startsWith("/")) { //$NON-NLS-1$
          path = "/" + path; //$NON-NLS-1$
        }
        visibilityMap.put(path, new Resource(f, isFileVisible(f.getPathName(), vdb)));
      }
    }
    this.vdbEntries = visibilityMap;
  }
View Full Code Here

TOP

Related Classes of org.teiid.query.metadata.TransformationMetadata.Resource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.