@Test public void testRelationshipAnnotationTypeSystemDescription() throws Exception { TypeDescription typeDescription = TypeLibrarian.getRelationshipAnnotationTypeSystemDescription(); assertEquals("gov.va.vinci.knowtator.types.RelationshipAnnotation", typeDescription.getName()); FeatureDescription[] featureDescriptions = typeDescription.getFeatures(); assertNotNull(featureDescriptions); assertEquals(2, featureDescriptions.length); }
public static TypeDescription getRelationshipAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.knowtator.types.RelationshipAnnotation", "RelationshipAnnotation Annotation", "uima.tcas.Annotation") .addFeature("Source", "Source", "uima.tcas.Annotation") .addFeature("Target", "Target", "uima.cas.FSArray", "uima.tcas.Annotation", Boolean.FALSE) .getTypeDescription(); }
TypeLibrarian { public static TypeDescription getRelationshipAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.knowtator.types.RelationshipAnnotation", "RelationshipAnnotation Annotation", "uima.tcas.Annotation") .addFeature("Source", "Source", "uima.tcas.Annotation") .addFeature("Target", "Target", "uima.cas.FSArray", "uima.tcas.Annotation", Boolean.FALSE) .getTypeDescription(); } }
TypeLibrarian { public static TypeDescription getRelationshipAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.knowtator.types.RelationshipAnnotation", "RelationshipAnnotation Annotation", "uima.tcas.Annotation") .addFeature("Source", "Source", "uima.tcas.Annotation") .addFeature("Target", "Target", "uima.cas.FSArray", "uima.tcas.Annotation", Boolean.FALSE) .getTypeDescription(); }  }
TypeLibrarian { public static TypeDescription getRelationshipAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.knowtator.types.RelationshipAnnotation", "RelationshipAnnotation Annotation", "uima.tcas.Annotation") .addFeature("Source", "Source", "uima.tcas.Annotation") .addFeature("Target", "Target", "uima.cas.FSArray", "uima.tcas.Annotation", Boolean.FALSE) .getTypeDescription(); }  static TypeDescription getValidationAnnotationTypeSystemDescription(); static TypeDescription getRelationshipAnnotationTypeSystemDescription(); static TypeDescription getCSITypeSystemDescription(); static TypeDescription getTypeSystemDescription(String className, FeatureNameType... params); }
TypeLibrarian { public static TypeDescription getRelationshipAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.knowtator.types.RelationshipAnnotation", "RelationshipAnnotation Annotation", "uima.tcas.Annotation") .addFeature("Source", "Source", "uima.tcas.Annotation") .addFeature("Target", "Target", "uima.cas.FSArray", "uima.tcas.Annotation", Boolean.FALSE) .getTypeDescription(); }  static TypeDescription getValidationAnnotationTypeSystemDescription(); static TypeDescription getRelationshipAnnotationTypeSystemDescription(); static TypeDescription getCSITypeSystemDescription(); static TypeDescription getTypeSystemDescription(String className, FeatureNameType... params);  }