Class DataContainerConverter<B>

public class DataContainerConverter<B> extends DataManagerOMASConverter<B>
DataContainerConverter transfers the relevant properties from an Open Metadata Repository Services (OMRS) EntityDetail object into a DataContainerElement bean.
  • Constructor Details

    • DataContainerConverter

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

    • getNewSchemaAttributeBean

      public <T> B getNewSchemaAttributeBean(Class<B> beanClass, EntityDetail schemaAttributeEntity, Class<T> typeClass, T schemaType, List<Relationship> schemaAttributeRelationships, String methodName) throws PropertyServerException
      Extract the properties from the schema attribute entity. Each API creates a specialization of this method for its beans.
      getNewSchemaAttributeBean in class OpenMetadataAPIGenericConverter<B>
      Type Parameters:
      T - bean type used to create the schema type
      beanClass - name of the class to create
      schemaAttributeEntity - entity containing the properties for the main schema attribute
      typeClass - name of type used to describe the schema type
      schemaType - bean containing the properties of the schema type - this is filled out by the schema type converter
      schemaAttributeRelationships - relationships containing the links to other schema attributes
      methodName - calling method
      bean populated with properties from the instances supplied
      PropertyServerException - there is a problem instantiating the bean