Class OMRSAuditLogReportingComponent
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogReportingComponent
- All Implemented Interfaces:
Serializable
,ComponentDescription
public class OMRSAuditLogReportingComponent
extends Object
implements Serializable, ComponentDescription
OMRSAuditLogReportingComponent describes the component issuing the audit log record.
- See Also:
-
Constructor Summary
ConstructorDescriptionOMRSAuditLogReportingComponent
(int componentId, ComponentDevelopmentStatus componentDevelopmentStatus, String componentName, String componentDescription, String componentWikiURL) Construct the description of the reporting component.Construct the description of the reporting component. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the short description of the component.Return the development status of the component.int
Return the numerical code for this component.Return the name of the component.URL to the wiki page that describes this component.int
hashCode()
Return a hash code based on the values of this object.toString()
Standard toString method.
-
Constructor Details
-
OMRSAuditLogReportingComponent
public OMRSAuditLogReportingComponent(int componentId, ComponentDevelopmentStatus componentDevelopmentStatus, String componentName, String componentDescription, String componentWikiURL) Construct the description of the reporting component.- Parameters:
componentId
- numerical identifier for the component.componentDevelopmentStatus
- status of the component's implementationcomponentName
- display name for the component.componentDescription
- description of the component.componentWikiURL
- link to more information.
-
OMRSAuditLogReportingComponent
Construct the description of the reporting component.- Parameters:
template
- object to copy.
-
-
Method Details
-
getComponentId
public int getComponentId()Return the numerical code for this component.- Specified by:
getComponentId
in interfaceComponentDescription
- Returns:
- int componentId
-
getComponentDevelopmentStatus
Return the development status of the component.- Specified by:
getComponentDevelopmentStatus
in interfaceComponentDescription
- Returns:
- enum describing the status
-
getComponentName
Return the name of the component. This is the name used in the audit log records.- Specified by:
getComponentName
in interfaceComponentDescription
- Returns:
- String component name
-
getComponentDescription
Return the short description of the component. This is an English description. Natural language support for these values can be added to UIs using a resource bundle indexed with the component id. This value is provided as a default if the resource bundle is not available.- Specified by:
getComponentDescription
in interfaceComponentDescription
- Returns:
- String description
-
getComponentWikiURL
URL to the wiki page that describes this component. This provides more information to the log reader on the operation of the component.- Specified by:
getComponentWikiURL
in interfaceComponentDescription
- Returns:
- String URL
-
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.
-