Class SurveyReportConverter<B>

java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.converters.OpenMetadataConverterBase<B>
org.odpi.openmetadata.frameworks.surveyaction.converters.SurveyReportConverter<B>

public class SurveyReportConverter<B> extends OpenMetadataConverterBase<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, RelatedMetadataElementList 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