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

public class ToDoConverter<B> extends OpenMetadataConverterBase<B>
ToDoConverter generates a ToDoElement from a "To Do" entity
  • Constructor Details

    • ToDoConverter

      public ToDoConverter(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

    • getNewComplexBean

      public B getNewComplexBean(Class<B> beanClass, OpenMetadataElement primaryElement, List<RelatedMetadataElement> relationships, String methodName) throws PropertyServerException
      Using the supplied instances, return a new instance of the bean. It is used for beans such as an Annotation or To Do bean which combine knowledge from the element and its linked relationships.
      Overrides:
      getNewComplexBean in class OpenMetadataConverterBase<B>
      Parameters:
      beanClass - name of the class to create
      primaryElement - element 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
      Throws:
      PropertyServerException - there is a problem instantiating the bean