Class TeamMemberConverter<B>

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

public class TeamMemberConverter<B> extends OpenMetadataConverterBase<B>
TeamMemberConverter generates a CollectionMember bean from a RelatedMetadataElement.
  • Constructor Details

    • TeamMemberConverter

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

    • getNewBean

      public B getNewBean(Class<B> beanClass, RelatedMetadataElement relatedMetadataElement, String methodName) throws PropertyServerException
      Using the supplied openMetadataElement, return a new instance of the bean. This is used for most beans that have a one to one correspondence with the repository instances.
      Overrides:
      getNewBean in class OpenMetadataConverterBase<B>
      Parameters:
      beanClass - name of the class to create
      relatedMetadataElement - the properties of an open metadata element plus details of the relationship used to navigate to it
      methodName - calling method
      Returns:
      bean populated with properties from the instances supplied
      Throws:
      PropertyServerException - there is a problem instantiating the bean