Class RegisteredGovernanceServiceConverter
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.converters.RegisteredGovernanceServiceConverter
RegisteredGovernanceServiceConverter transfers the relevant properties from a GovernanceServiceElement bean
and the Open Metadata Repository Services (OMRS) Relationship object into a RegisteredGovernanceService bean.
-
Constructor Summary
ConstructorsConstructorDescriptionRegisteredGovernanceServiceConverter(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName) Constructor captures the repository content needed to create the endpoint object. -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.frameworks.governanceaction.properties.RegisteredGovernanceServiceElementgetBean(org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceServiceElement governanceService, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> relationships) Request the bean is extracted from the repository entity.
-
Constructor Details
-
RegisteredGovernanceServiceConverter
public RegisteredGovernanceServiceConverter(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName) Constructor captures the repository content needed to create the endpoint object.- Parameters:
repositoryHelper- helper object to parse entity/relationship objectsserviceName- name of this component
-
-
Method Details
-
getBean
public org.odpi.openmetadata.frameworks.governanceaction.properties.RegisteredGovernanceServiceElement getBean(org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceServiceElement governanceService, List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> relationships) Request the bean is extracted from the repository entity.- Parameters:
governanceService- properties to convertrelationships- list of relationships with the request types- Returns:
- output bean
-