Class EnterpriseAccessConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.EnterpriseAccessConfig
EnterpriseAccessConfig describes the properties that control the enterprise access services that the
OMRS provides to the Open Metadata Access Services (OMASs).
- enterpriseMetadataCollectionName - name of the combined metadata collection covered by the connected open metadata repositories. Used for messages.
- enterpriseMetadataCollectionId - unique identifier for the combined metadata collection covered by the connected open metadata repositories.
- enterpriseOMRSTopicConnection - connection for the enterprise OMRS Topic connector.
- enterpriseOMRSTopicProtocolVersion - the protocol version for the events passed on the enterprise OMRS topic.
- remoteEnterpriseOMRSTopicConnection - connection for the remote (external) enterprise OMRS Topic connector.
-
Constructor Summary
ConstructorDescriptionDefault Constructor does nothing.EnterpriseAccessConfig
(String enterpriseMetadataCollectionName, String enterpriseMetadataCollectionId, Connection enterpriseOMRSTopicConnection, OpenMetadataEventProtocolVersion enterpriseOMRSTopicProtocolVersion, Connection remoteEnterpriseOMRSTopicConnection) Constructor to set up all configuration values.EnterpriseAccessConfig
(EnterpriseAccessConfig template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the unique identifier for the combined metadata collection covered by the connected open metadata repositories.Return the name of the combined metadata collection covered by the connected open metadata repositories.Return the connection for the Enterprise OMRS Topic connector.Return the protocol version to use on the EnterpriseOMRSTopicConnector.Return the optional connection for an external topic for enterprise events.int
hashCode()
Return a hash code based on the values of this object.void
setEnterpriseMetadataCollectionId
(String enterpriseMetadataCollectionId) Set up the unique identifier for the combined metadata collection covered by the connected open metadata repositories.void
setEnterpriseMetadataCollectionName
(String enterpriseMetadataCollectionName) Set up the name of the combined metadata collection covered by the connected open metadata repositories.void
setEnterpriseOMRSTopicConnection
(Connection enterpriseOMRSTopicConnection) Set up the connection for the Enterprise OMRS Topic connector.void
setEnterpriseOMRSTopicProtocolVersion
(OpenMetadataEventProtocolVersion enterpriseOMRSTopicProtocolVersion) Set up the protocol version to use on the EnterpriseOMRSTopicConnector.void
setRemoteEnterpriseOMRSTopicConnection
(Connection remoteEnterpriseOMRSTopicConnection) Set up the optional connection for an external topic for enterprise events.toString()
Standard toString method.
-
Constructor Details
-
EnterpriseAccessConfig
public EnterpriseAccessConfig()Default Constructor does nothing. -
EnterpriseAccessConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
EnterpriseAccessConfig
public EnterpriseAccessConfig(String enterpriseMetadataCollectionName, String enterpriseMetadataCollectionId, Connection enterpriseOMRSTopicConnection, OpenMetadataEventProtocolVersion enterpriseOMRSTopicProtocolVersion, Connection remoteEnterpriseOMRSTopicConnection) Constructor to set up all configuration values.- Parameters:
enterpriseMetadataCollectionName
- name of the combined metadata collection covered by the connected open metadata repositories. Used for messages.enterpriseMetadataCollectionId
- unique identifier for the combined metadata collection covered by the connected open metadata repositories.enterpriseOMRSTopicConnection
- connection for the OMRS Topic connector.enterpriseOMRSTopicProtocolVersion
- protocol version enumremoteEnterpriseOMRSTopicConnection
- connection to publish OMRS events to external parties
-
-
Method Details
-
getEnterpriseMetadataCollectionName
Return the name of the combined metadata collection covered by the connected open metadata repositories. Used for messages.- Returns:
- String name
-
setEnterpriseMetadataCollectionName
Set up the name of the combined metadata collection covered by the connected open metadata repositories. Used for messages.- Parameters:
enterpriseMetadataCollectionName
- String name
-
getEnterpriseMetadataCollectionId
Return the unique identifier for the combined metadata collection covered by the connected open metadata repositories.- Returns:
- Unique identifier (guid)
-
setEnterpriseMetadataCollectionId
Set up the unique identifier for the combined metadata collection covered by the connected open metadata repositories.- Parameters:
enterpriseMetadataCollectionId
- Unique identifier (guid)
-
getEnterpriseOMRSTopicConnection
Return the connection for the Enterprise OMRS Topic connector.- Returns:
- Connection object
-
setEnterpriseOMRSTopicConnection
Set up the connection for the Enterprise OMRS Topic connector.- Parameters:
enterpriseOMRSTopicConnection
- Connection object
-
getEnterpriseOMRSTopicProtocolVersion
Return the protocol version to use on the EnterpriseOMRSTopicConnector.- Returns:
- protocol version enum
-
setEnterpriseOMRSTopicProtocolVersion
public void setEnterpriseOMRSTopicProtocolVersion(OpenMetadataEventProtocolVersion enterpriseOMRSTopicProtocolVersion) Set up the protocol version to use on the EnterpriseOMRSTopicConnector.- Parameters:
enterpriseOMRSTopicProtocolVersion
- protocol version enum
-
getRemoteEnterpriseOMRSTopicConnection
Return the optional connection for an external topic for enterprise events.- Returns:
- connection
-
setRemoteEnterpriseOMRSTopicConnection
Set up the optional connection for an external topic for enterprise events.- Parameters:
remoteEnterpriseOMRSTopicConnection
- connection
-
toString
Standard toString method. -
equals
Validate that an object is equal depending on their stored values. -
hashCode
public int hashCode()Return a hash code based on the values of this object.
-