public class ValidValueConverter<B> extends AssetManagerConverterBase<B>
ValidValueConverter generates a ValidValueElement from a ValidValue entity
  • Constructor Details

    • ValidValueConverter

      public ValidValueConverter(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, OpenMetadataElement openMetadataElement, 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
      openMetadataElement - openMetadataElement containing the properties
      methodName - calling method
      Returns:
      bean populated with properties from the instances supplied
      Throws:
      PropertyServerException - there is a problem instantiating the bean