Class OMRSAuditLogRecordOriginator
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogRecordOriginator
- All Implemented Interfaces:
Serializable
OMRSAuditLogRecordOriginator describes the server that originated an audit log record. This is useful if
an organization is aggregating messages from different servers together.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by parsing engines and other consumers. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Returns the unique identifier (guid) of the originating repository's metadata collection.Return the name of the organization that runs/owns the server.Return the display name for the server that is used in events, messages and UIs to make it easier for people to understand the origin of metadata.Return the descriptive string describing the type of the server.int
hashCode()
Return a hash code based on the values of this object.void
setMetadataCollectionId
(String metadataCollectionId) Sets up the unique identifier (guid) of the originating repository.void
setOrganizationName
(String organizationName) Set up the name of the organization that runs/owns the server.void
setServerName
(String serverName) Set up the display name for the server that is used in events, messages and UIs to make it easier for people to understand the origin of metadata.void
setServerType
(String serverType) Set up the descriptive string describing the type of the server.toString()
Standard toString method.
-
Field Details
-
SERVER_NAME_PROPERTY
Property name for server name -
SERVER_TYPE_PROPERTY
Property name for server type -
ORGANIZATION_NAME_PROPERTY
Property name for Organization -
METADATA_COLLECTION_ID_PROPERTY
Property name for metadata collection id
-
-
Constructor Details
-
OMRSAuditLogRecordOriginator
public OMRSAuditLogRecordOriginator()Default constructor used by parsing engines and other consumers.
-
-
Method Details
-
getServerName
Return the display name for the server that is used in events, messages and UIs to make it easier for people to understand the origin of metadata.- Returns:
- String server name
-
setServerName
Set up the display name for the server that is used in events, messages and UIs to make it easier for people to understand the origin of metadata.- Parameters:
serverName
- String server name
-
getServerType
Return the descriptive string describing the type of the server. This might be the name of the product, or similar identifier.- Returns:
- String server type
-
setServerType
Set up the descriptive string describing the type of the server. This might be the name of the product, or similar identifier.- Parameters:
serverType
- String server type
-
getOrganizationName
Return the name of the organization that runs/owns the server.- Returns:
- String organization name
-
setOrganizationName
Set up the name of the organization that runs/owns the server.- Parameters:
organizationName
- String organization name
-
getMetadataCollectionId
Returns the unique identifier (guid) of the originating repository's metadata collection.- Returns:
- String guid
-
setMetadataCollectionId
Sets up the unique identifier (guid) of the originating repository.- Parameters:
metadataCollectionId
- String guid
-
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.
-