@Test public void testCSITypeSystemDescription() throws Exception { TypeDescription typeDescription = TypeLibrarian.getCSITypeSystemDescription(); assertEquals("gov.va.vinci.leo.types.CSI", typeDescription.getName()); FeatureDescription[] featureDescriptions = typeDescription.getFeatures(); assertNotNull(featureDescriptions); assertEquals(5, featureDescriptions.length); }
public static TypeDescription getCSITypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.CSI", "CSI Annotation", "uima.tcas.Annotation") .addFeature("ID", "ID", "uima.cas.String") .addFeature("Locator", "Locator for document.", "uima.cas.String") .addFeature("RowData", "Row data for document (if any)", "uima.cas.StringArray") .addFeature("PropertiesKeys", "Property keys", "uima.cas.StringArray") .addFeature("PropertiesValues", "Property Values", "uima.cas.StringArray") .getTypeDescription(); }
TypeLibrarian { public static TypeDescription getCSITypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.CSI", "CSI Annotation", "uima.tcas.Annotation") .addFeature("ID", "ID", "uima.cas.String") .addFeature("Locator", "Locator for document.", "uima.cas.String") .addFeature("RowData", "Row data for document (if any)", "uima.cas.StringArray") .addFeature("PropertiesKeys", "Property keys", "uima.cas.StringArray") .addFeature("PropertiesValues", "Property Values", "uima.cas.StringArray") .getTypeDescription(); } }
TypeLibrarian { public static TypeDescription getCSITypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.CSI", "CSI Annotation", "uima.tcas.Annotation") .addFeature("ID", "ID", "uima.cas.String") .addFeature("Locator", "Locator for document.", "uima.cas.String") .addFeature("RowData", "Row data for document (if any)", "uima.cas.StringArray") .addFeature("PropertiesKeys", "Property keys", "uima.cas.StringArray") .addFeature("PropertiesValues", "Property Values", "uima.cas.StringArray") .getTypeDescription(); }  }
TypeLibrarian { public static TypeDescription getCSITypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.CSI", "CSI Annotation", "uima.tcas.Annotation") .addFeature("ID", "ID", "uima.cas.String") .addFeature("Locator", "Locator for document.", "uima.cas.String") .addFeature("RowData", "Row data for document (if any)", "uima.cas.StringArray") .addFeature("PropertiesKeys", "Property keys", "uima.cas.StringArray") .addFeature("PropertiesValues", "Property Values", "uima.cas.StringArray") .getTypeDescription(); }  static TypeDescription getValidationAnnotationTypeSystemDescription(); static TypeDescription getRelationshipAnnotationTypeSystemDescription(); static TypeDescription getCSITypeSystemDescription(); static TypeDescription getTypeSystemDescription(String className, FeatureNameType... params); }
TypeLibrarian { public static TypeDescription getCSITypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.CSI", "CSI Annotation", "uima.tcas.Annotation") .addFeature("ID", "ID", "uima.cas.String") .addFeature("Locator", "Locator for document.", "uima.cas.String") .addFeature("RowData", "Row data for document (if any)", "uima.cas.StringArray") .addFeature("PropertiesKeys", "Property keys", "uima.cas.StringArray") .addFeature("PropertiesValues", "Property Values", "uima.cas.StringArray") .getTypeDescription(); }  static TypeDescription getValidationAnnotationTypeSystemDescription(); static TypeDescription getRelationshipAnnotationTypeSystemDescription(); static TypeDescription getCSITypeSystemDescription(); static TypeDescription getTypeSystemDescription(String className, FeatureNameType... params);  }