Class RelatedMetadataElementSummaryConverter<B>
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.converters.OpenMetadataConverterBase<B>
org.odpi.openmetadata.frameworks.governanceaction.converters.RelatedMetadataElementSummaryConverter<B>
ToDoConverter generates a ToDoElement from a "To Do" entity
-
Constructor Summary
ConstructorsConstructorDescriptionRelatedMetadataElementSummaryConverter(PropertyHelper propertyHelper, String serviceName, String serverName) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetNewBean(Class<B> beanClass, RelatedMetadataElement relatedMetadataElement, String methodName) Using the supplied openMetadataElement, return a new instance of the bean.getNewBeans(Class<B> beanClass, RelatedMetadataElementList relatedMetadataElements, String methodName) Using the supplied openMetadataElement, 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, getNewComplexBean, getNewComplexBean, getNewComplexBean, getNewRelatedMetadataElementsBean, getNewSchemaAttributeBean, getRelatedElement, getRelatedElement, getRelatedElementSummary
-
Constructor Details
-
RelatedMetadataElementSummaryConverter
public RelatedMetadataElementSummaryConverter(PropertyHelper propertyHelper, String serviceName, String serverName) Constructor- Parameters:
propertyHelper- helper object to parse entityserviceName- name of this componentserverName- local server name
-
-
Method Details
-
getNewBean
public B getNewBean(Class<B> beanClass, RelatedMetadataElement relatedMetadataElement, 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.- Overrides:
getNewBeanin classOpenMetadataConverterBase<B>- Parameters:
beanClass- name of the class to createrelatedMetadataElement- openMetadataElement 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
-
getNewBeans
public List<B> getNewBeans(Class<B> beanClass, RelatedMetadataElementList relatedMetadataElements, 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 createrelatedMetadataElements- list of relatedMetadataElements 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
-