Class MetadataRelationshipSummaryConverter<B>
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.converters.OpenMetadataConverterBase<B>
org.odpi.openmetadata.frameworks.governanceaction.converters.MetadataRelationshipSummaryConverter<B>
ToDoConverter generates a ToDoElement from a "To Do" entity
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataRelationshipSummaryConverter(PropertyHelper propertyHelper, String serviceName, String serverName) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetNewBeans(Class<B> beanClass, OpenMetadataRelationshipList openMetadataRelationships, String methodName) Using the supplied openMetadataElement, return a new instance of the bean.getNewRelatedMetadataElementsBean(Class<B> beanClass, OpenMetadataRelationship relationship, String methodName) Using the supplied relationship, return a new instance of the bean.Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.converters.OpenMetadataConverterBase
getElementClassifications, getElementStub, getElementStub, getElementSummary, getMetadataElementHeader, getNewBean, getNewBean, getNewBean, getNewComplexBean, getNewComplexBean, getNewComplexBean, getNewSchemaAttributeBean, getRelatedElement, getRelatedElement, getRelatedElementSummary
-
Constructor Details
-
MetadataRelationshipSummaryConverter
public MetadataRelationshipSummaryConverter(PropertyHelper propertyHelper, String serviceName, String serverName) Constructor- Parameters:
propertyHelper- helper object to parse entityserviceName- name of this componentserverName- local server name
-
-
Method Details
-
getNewRelatedMetadataElementsBean
public B getNewRelatedMetadataElementsBean(Class<B> beanClass, OpenMetadataRelationship relationship, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Using the supplied relationship, return a new instance of the bean. It is used for beans that represent a simple relationship between two entities.- Overrides:
getNewRelatedMetadataElementsBeanin classOpenMetadataConverterBase<B>- Parameters:
beanClass- name of the class to createrelationship- relationship linking the entitiesmethodName- 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
-
getNewBeans
public List<B> getNewBeans(Class<B> beanClass, OpenMetadataRelationshipList openMetadataRelationships, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.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.- Parameters:
beanClass- name of the class to createopenMetadataRelationships- list of openMetadataRelationships containing the propertiesmethodName- 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
-