@Test public void testGenerateTypeSystemDescriptorByPath() throws Exception { TypeSystemDescription desc = TypeSystemFactory.generateTypeSystemDescription(rootDirectory + "src/test/resources/desc/gov/va/vinci/leo/types/CSI.xml", false); validateConstructorResult(desc); }
public static TypeSystemDescription generateTypeSystemDescription(String descriptor, boolean byName) throws Exception { MetaDataObject mdo; if (byName) { mdo = MetaDataObjectFactory.createMetaDataObject(LeoUtils.createURL(descriptor)); } else { mdo = MetaDataObjectFactory.createMetaDataObject(descriptor); } return ((TypeSystemDescription) mdo); }
TypeSystemFactory { public static TypeSystemDescription generateTypeSystemDescription(String descriptor, boolean byName) throws Exception { MetaDataObject mdo; if (byName) { mdo = MetaDataObjectFactory.createMetaDataObject(LeoUtils.createURL(descriptor)); } else { mdo = MetaDataObjectFactory.createMetaDataObject(descriptor); } return ((TypeSystemDescription) mdo); } }
TypeSystemFactory { public static TypeSystemDescription generateTypeSystemDescription(String descriptor, boolean byName) throws Exception { MetaDataObject mdo; if (byName) { mdo = MetaDataObjectFactory.createMetaDataObject(LeoUtils.createURL(descriptor)); } else { mdo = MetaDataObjectFactory.createMetaDataObject(descriptor); } return ((TypeSystemDescription) mdo); }  }
TypeSystemFactory { public static TypeSystemDescription generateTypeSystemDescription(String descriptor, boolean byName) throws Exception { MetaDataObject mdo; if (byName) { mdo = MetaDataObjectFactory.createMetaDataObject(LeoUtils.createURL(descriptor)); } else { mdo = MetaDataObjectFactory.createMetaDataObject(descriptor); } return ((TypeSystemDescription) mdo); }  static TypeSystemDescription generateTypeSystemDescription(String descriptor, boolean byName); static TypeSystemDescription generateTypeSystemDescription(); }
TypeSystemFactory { public static TypeSystemDescription generateTypeSystemDescription(String descriptor, boolean byName) throws Exception { MetaDataObject mdo; if (byName) { mdo = MetaDataObjectFactory.createMetaDataObject(LeoUtils.createURL(descriptor)); } else { mdo = MetaDataObjectFactory.createMetaDataObject(descriptor); } return ((TypeSystemDescription) mdo); }  static TypeSystemDescription generateTypeSystemDescription(String descriptor, boolean byName); static TypeSystemDescription generateTypeSystemDescription();  }