Class OMRSAuditLogRecordOriginator
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogRecordOriginator
-
- All Implemented Interfaces:
Serializable
public class OMRSAuditLogRecordOriginator extends Object implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringMETADATA_COLLECTION_ID_PROPERTYstatic StringORGANIZATION_NAME_PROPERTYstatic StringSERVER_NAME_PROPERTYstatic StringSERVER_TYPE_PROPERTY
-
Constructor Summary
Constructors Constructor Description OMRSAuditLogRecordOriginator()Default constructor used by parsing engines and other consumers.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Validate that an object is equal depending on their stored values.StringgetMetadataCollectionId()Returns the unique identifier (guid) of the originating repository's metadata collection.StringgetOrganizationName()Return the name of the organization that runs/owns the server.StringgetServerName()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.StringgetServerType()Return the descriptive string describing the type of the server.inthashCode()Return a hash code based on the values of this object.voidsetMetadataCollectionId(String metadataCollectionId)Sets up the unique identifier (guid) of the originating repository.voidsetOrganizationName(String organizationName)Set up the name of the organization that runs/owns the server.voidsetServerName(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.voidsetServerType(String serverType)Set up the descriptive string describing the type of the server.StringtoString()Standard toString method.
-
-
-
Method Detail
-
getServerName
public String 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
public 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.- Parameters:
serverName- String server name
-
getServerType
public String 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
public void setServerType(String serverType)
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
public String getOrganizationName()
Return the name of the organization that runs/owns the server.- Returns:
- String organization name
-
setOrganizationName
public void setOrganizationName(String organizationName)
Set up the name of the organization that runs/owns the server.- Parameters:
organizationName- String organization name
-
getMetadataCollectionId
public String getMetadataCollectionId()
Returns the unique identifier (guid) of the originating repository's metadata collection.- Returns:
- String guid
-
setMetadataCollectionId
public void setMetadataCollectionId(String metadataCollectionId)
Sets up the unique identifier (guid) of the originating repository.- Parameters:
metadataCollectionId- String guid
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
-
-