@Test public void testValidationAnnotationTypeSystem() throws Exception { TypeDescription typeDescription = TypeLibrarian.getValidationAnnotationTypeSystemDescription(); assertEquals("gov.va.vinci.leo.types.ValidationAnnotation", typeDescription.getName()); FeatureDescription[] featureDescriptions = typeDescription.getFeatures(); assertNotNull(featureDescriptions); assertEquals(4, featureDescriptions.length); }
public static TypeDescription getValidationAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.ValidationAnnotation", "Validation Annotations", "uima.tcas.Annotation") .addFeature("ReferenceAnnotationGuid", "The GUID of the annotation this validation annotation references.", "uima.cas.String") .addFeature("ValidationValue", "The validation value for this annotation.", "uima.cas.String") .addFeature("ValidationComment", "The validation comment (if any) for this annotation.", "uima.cas.String") .addFeature("CreatedBy", "The userId that created this annotation.", "uima.cas.String") .getTypeDescription(); }
TypeLibrarian { public static TypeDescription getValidationAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.ValidationAnnotation", "Validation Annotations", "uima.tcas.Annotation") .addFeature("ReferenceAnnotationGuid", "The GUID of the annotation this validation annotation references.", "uima.cas.String") .addFeature("ValidationValue", "The validation value for this annotation.", "uima.cas.String") .addFeature("ValidationComment", "The validation comment (if any) for this annotation.", "uima.cas.String") .addFeature("CreatedBy", "The userId that created this annotation.", "uima.cas.String") .getTypeDescription(); } }
TypeLibrarian { public static TypeDescription getValidationAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.ValidationAnnotation", "Validation Annotations", "uima.tcas.Annotation") .addFeature("ReferenceAnnotationGuid", "The GUID of the annotation this validation annotation references.", "uima.cas.String") .addFeature("ValidationValue", "The validation value for this annotation.", "uima.cas.String") .addFeature("ValidationComment", "The validation comment (if any) for this annotation.", "uima.cas.String") .addFeature("CreatedBy", "The userId that created this annotation.", "uima.cas.String") .getTypeDescription(); }  }
TypeLibrarian { public static TypeDescription getValidationAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.ValidationAnnotation", "Validation Annotations", "uima.tcas.Annotation") .addFeature("ReferenceAnnotationGuid", "The GUID of the annotation this validation annotation references.", "uima.cas.String") .addFeature("ValidationValue", "The validation value for this annotation.", "uima.cas.String") .addFeature("ValidationComment", "The validation comment (if any) for this annotation.", "uima.cas.String") .addFeature("CreatedBy", "The userId that created this annotation.", "uima.cas.String") .getTypeDescription(); }  static TypeDescription getValidationAnnotationTypeSystemDescription(); static TypeDescription getRelationshipAnnotationTypeSystemDescription(); static TypeDescription getCSITypeSystemDescription(); static TypeDescription getTypeSystemDescription(String className, FeatureNameType... params); }
TypeLibrarian { public static TypeDescription getValidationAnnotationTypeSystemDescription() { return TypeDescriptionBuilder.create("gov.va.vinci.leo.types.ValidationAnnotation", "Validation Annotations", "uima.tcas.Annotation") .addFeature("ReferenceAnnotationGuid", "The GUID of the annotation this validation annotation references.", "uima.cas.String") .addFeature("ValidationValue", "The validation value for this annotation.", "uima.cas.String") .addFeature("ValidationComment", "The validation comment (if any) for this annotation.", "uima.cas.String") .addFeature("CreatedBy", "The userId that created this annotation.", "uima.cas.String") .getTypeDescription(); }  static TypeDescription getValidationAnnotationTypeSystemDescription(); static TypeDescription getRelationshipAnnotationTypeSystemDescription(); static TypeDescription getCSITypeSystemDescription(); static TypeDescription getTypeSystemDescription(String className, FeatureNameType... params);  }