Class AnnotationReviewBuilder

java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.commonservices.generichandlers.AnnotationReviewBuilder

public class AnnotationReviewBuilder extends OpenMetadataAPIGenericBuilder
AnnotationReviewBuilder supports the creation of the entities and relationships that describe an Governance Action Framework (GAF) AnnotationReview and the link to the annotation.
  • Constructor Details

    • AnnotationReviewBuilder

      public AnnotationReviewBuilder(int annotationStatus, Date reviewDate, String steward, String reviewComment, String typeGUID, String typeName, Map<String,Object> extendedProperties, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
      Create a builder to convert the properties of the annotation review bean into repository services instances.
      Parameters:
      annotationStatus - status of annotation
      reviewDate - date annotation reviewed
      steward - name of steward
      reviewComment - comments from the steward
      typeGUID - type GUID to use for the entity
      typeName - type name to use for the entity
      extendedProperties - properties from the subtype.
      repositoryHelper - helper methods
      serviceName - name of this OMAS
      serverName - name of local server
  • Method Details

    • getReviewLinkInstanceProperties

      public InstanceProperties getReviewLinkInstanceProperties(String methodName) throws InvalidParameterException
      Return the supplied bean properties that represent a name in an InstanceProperties object.
      Parameters:
      methodName - name of the calling method
      Returns:
      InstanceProperties object
      Throws:
      InvalidParameterException - no support for AnnotationStatus Enum
    • getInstanceProperties

      public InstanceProperties getInstanceProperties(String methodName)
      Return the supplied bean properties that represent a name in an InstanceProperties object.
      Overrides:
      getInstanceProperties in class OpenMetadataAPIGenericBuilder
      Parameters:
      methodName - name of the calling method
      Returns:
      InstanceProperties object