public class SurveyReportConverter<B> extends StewardshipActionConverterBase<B>
SurveyReportConverter converts GAF elements into a survey report bean.
  • Constructor Details

    • SurveyReportConverter

      public SurveyReportConverter(PropertyHelper propertyHelper, String serviceName, String serverName)
      Constructor
      Parameters:
      propertyHelper - helper object to parse entity
      serviceName - name of this component
      serverName - local server name
  • Method Details

    • getSurveyReport

      public SurveyReport getSurveyReport(Class<B> beanClass, OpenMetadataElement primaryElement, List<RelatedMetadataElement> relationships, String methodName) throws PropertyServerException
      Using the supplied instances, return a new instance of the SurveyReport bean.
      Parameters:
      beanClass - class of bean that has been requested
      primaryElement - entity that is the root of the collection of entities that make up the content of the bean
      relationships - relationships linking the entities
      methodName - calling method
      Returns:
      bean populated with properties from the instances supplied in the constructor
      Throws:
      PropertyServerException - there is a problem instantiating the bean