Class DataManagerOMASConverter<B>

Direct Known Subclasses:
APIConverter, APIOperationConverter, APIParameterConverter, APIParameterListConverter, ConnectionConverter, ConnectorTypeConverter, DatabaseColumnConverter, DatabaseConverter, DatabaseManagerConverter, DatabaseSchemaConverter, DatabaseTableConverter, DatabaseViewConverter, DataContainerConverter, DataFieldConverter, DataFileConverter, ElementStubConverter, EndpointConverter, EventTypeConverter, FileFolderConverter, FileSystemConverter, FormConverter, QueryConverter, RelatedElementConverter, ReportConverter, SchemaAttributeConverter, SchemaTypeConverter, TabularColumnConverter, TopicConverter, ValidValueConverter, ValidValueSetConverter

public class DataManagerOMASConverter<B> extends OpenMetadataAPIGenericConverter<B>
DataManagerOMASConverter provides the generic methods for the Data Manager beans converters. Generic classes have limited knowledge of the classes these are working on and this means creating a new instance of a class from within a generic is a little involved. This class provides the generic method for creating and initializing a Data Manager bean.
  • Constructor Details

    • DataManagerOMASConverter

      public DataManagerOMASConverter(OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
      repositoryHelper - helper object to parse entity
      serviceName - name of this component
      serverName - name of this server
  • Method Details

    • getRelatedElement

      public RelatedElement getRelatedElement(Class<B> beanClass, EntityDetail entity, Relationship relationship, String methodName) throws PropertyServerException
      Using the supplied instances, return a new instance of a relatedElement bean. This is used for beans that contain a combination of the properties from an entity and that of a connected relationship.
      beanClass - name of the class to create
      entity - entity containing the properties
      relationship - relationship containing the properties
      methodName - calling method
      bean populated with properties from the instances supplied
      PropertyServerException - there is a problem instantiating the bean