Class RegisteredGovernanceServiceConverter
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.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
ConstructorDescriptionRegisteredGovernanceServiceConverter
(OMRSRepositoryHelper repositoryHelper, String serviceName) Constructor captures the repository content needed to create the endpoint object. -
Method Summary
Modifier and TypeMethodDescriptiongetBean
(GovernanceServiceElement governanceService, List<Relationship> relationships) Request the bean is extracted from the repository entity.
-
Constructor Details
-
RegisteredGovernanceServiceConverter
public RegisteredGovernanceServiceConverter(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 RegisteredGovernanceServiceElement getBean(GovernanceServiceElement governanceService, List<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
-