Class TabularColumnConverter<B>
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericConverter<B>
org.odpi.openmetadata.accessservices.datamanager.converters.DataManagerOMASConverter<B>
org.odpi.openmetadata.accessservices.datamanager.converters.TabularColumnConverter<B>
TabularColumnConverter transfers the relevant properties from an Open Metadata Repository Services (OMRS)
EntityDetail object into a TabularColumnElement bean.
-
Constructor Summary
ConstructorsConstructorDescriptionTabularColumnConverter(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor -
Method Summary
Modifier and TypeMethodDescription<T> BgetNewSchemaAttributeBean(Class<B> beanClass, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail schemaAttributeEntity, Class<T> typeClass, T schemaType, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> schemaAttributeRelationships, String methodName) Extract the properties from the schema attribute entity.Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.converters.DataManagerOMASConverter
getRelatedElementMethods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericConverter
getElementStub, getElementStub, getElementStub, getElementType, getMetadataElementHeader, getNewBean, getNewBean, getNewComplexBean, getNewComplexBean, getNewRelationshipBean, getNewSchemaTypeBean, getNewSchemaTypeBean
-
Constructor Details
-
TabularColumnConverter
public TabularColumnConverter(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor- Parameters:
repositoryHelper- helper object to parse entityserviceName- name of this componentserverName- local server name
-
-
Method Details
-
getNewSchemaAttributeBean
public <T> B getNewSchemaAttributeBean(Class<B> beanClass, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail schemaAttributeEntity, Class<T> typeClass, T schemaType, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> schemaAttributeRelationships, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Extract the properties from the schema attribute entity. Each API creates a specialization of this method for its beans.- Overrides:
getNewSchemaAttributeBeanin classorg.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericConverter<B>- Type Parameters:
T- bean type used to create the schema type- Parameters:
beanClass- name of the class to createschemaAttributeEntity- entity containing the properties for the main schema attributetypeClass- name of type used to describe the schema typeschemaType- bean containing the properties of the schema type - this is filled out by the schema type converterschemaAttributeRelationships- relationships containing the links to other schema attributesmethodName- calling method- Returns:
- bean populated with properties from the instances supplied
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem instantiating the bean
-