@Test public void testTypeSystemConstructors() throws Exception { LeoTypeSystemDescription ftsd0 = new LeoTypeSystemDescription("desc.gov.va.vinci.leo.types.TestTypeSystem", true); assertNotNull(ftsd0); TypeDescription td0 = ftsd0.getType("gov.va.vinci.leo.types.TestType"); assertNotNull(td0); FeatureDescription[] features = td0.getFeatures(); assertTrue(features.length > 0); assertTrue("name".equals(features[0].getName())); String testType1 = "gov.va.vinci.leo.types.TestType1"; LeoTypeSystemDescription ftsd1 = new LeoTypeSystemDescription(testType1, "Test Type 1", "uima.tcas.Annotation"); assertNotNull(ftsd1); TypeDescription td1 = ftsd1.getType(testType1); assertNotNull(td1); LeoTypeSystemDescription ftsd2 = new LeoTypeSystemDescription(td1); assertNotNull(ftsd2); }
public TypeDescription getType(String aTypeName) { if (this.myTypeSystemDescription == null) return null; return this.myTypeSystemDescription.getType(aTypeName); }
LeoTypeSystemDescription { public TypeDescription getType(String aTypeName) { if (this.myTypeSystemDescription == null) return null; return this.myTypeSystemDescription.getType(aTypeName); } }
LeoTypeSystemDescription { public TypeDescription getType(String aTypeName) { if (this.myTypeSystemDescription == null) return null; return this.myTypeSystemDescription.getType(aTypeName); } LeoTypeSystemDescription(TypeDescription... types);  LeoTypeSystemDescription(TypeSystemDescription td);  LeoTypeSystemDescription(String descriptor, boolean byName);  LeoTypeSystemDescription(String aType, String aDescription, String aSupertypeName); }
LeoTypeSystemDescription { public TypeDescription getType(String aTypeName) { if (this.myTypeSystemDescription == null) return null; return this.myTypeSystemDescription.getType(aTypeName); } LeoTypeSystemDescription(TypeDescription... types);  LeoTypeSystemDescription(TypeSystemDescription td);  LeoTypeSystemDescription(String descriptor, boolean byName);  LeoTypeSystemDescription(String aType, String aDescription, String aSupertypeName); TypeSystemDescription getTypeSystemDescription(); LeoTypeSystemDescription addTypeSystemDescription(TypeSystemDescription aTypeSystemDescription); LeoTypeSystemDescription addTypeSystemDescription(LeoTypeSystemDescription aLeoTypeSystemDescription); LeoTypeSystemDescription addType(String aName, String aDescription, String aSuperType); LeoTypeSystemDescription addType(TypeDescription aTypeDescription); TypeDescription getType(String aTypeName); TypeDescription[] getTypes(); String getDescriptorLocator(); void toXML(String filename); void jCasGen(String srcDirectory, String binDirectory); }
LeoTypeSystemDescription { public TypeDescription getType(String aTypeName) { if (this.myTypeSystemDescription == null) return null; return this.myTypeSystemDescription.getType(aTypeName); } LeoTypeSystemDescription(TypeDescription... types);  LeoTypeSystemDescription(TypeSystemDescription td);  LeoTypeSystemDescription(String descriptor, boolean byName);  LeoTypeSystemDescription(String aType, String aDescription, String aSupertypeName); TypeSystemDescription getTypeSystemDescription(); LeoTypeSystemDescription addTypeSystemDescription(TypeSystemDescription aTypeSystemDescription); LeoTypeSystemDescription addTypeSystemDescription(LeoTypeSystemDescription aLeoTypeSystemDescription); LeoTypeSystemDescription addType(String aName, String aDescription, String aSuperType); LeoTypeSystemDescription addType(TypeDescription aTypeDescription); TypeDescription getType(String aTypeName); TypeDescription[] getTypes(); String getDescriptorLocator(); void toXML(String filename); void jCasGen(String srcDirectory, String binDirectory); static final Logger log; }