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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OMRSAuditLogReportingComponent(int componentId, ComponentDevelopmentStatus componentDevelopmentStatus, String componentName, String componentDescription, String componentWikiURL)Construct the description of the reporting component.OMRSAuditLogReportingComponent(ComponentDescription template)Construct the description of the reporting component.
-
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.ComponentDevelopmentStatusgetComponentDevelopmentStatus()Return the development status of the component.intgetComponentId()Return the numerical code for this component.StringgetComponentName()Return the name of the component.StringgetComponentType()Return the short description of the component.StringgetComponentWikiURL()URL to the wiki page that describes this component.inthashCode()Return a hash code based on the values of this object.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
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
public OMRSAuditLogReportingComponent(ComponentDescription template)
Construct the description of the reporting component.- Parameters:
template- object to copy.
-
-
Method Detail
-
getComponentId
public int getComponentId()
Return the numerical code for this component.- Specified by:
getComponentIdin interfaceComponentDescription- Returns:
- int componentId
-
getComponentDevelopmentStatus
public ComponentDevelopmentStatus getComponentDevelopmentStatus()
Return the development status of the component.- Specified by:
getComponentDevelopmentStatusin interfaceComponentDescription- Returns:
- enum describing the status
-
getComponentName
public String getComponentName()
Return the name of the component. This is the name used in the audit log records.- Specified by:
getComponentNamein interfaceComponentDescription- Returns:
- String component name
-
getComponentType
public String getComponentType()
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:
getComponentTypein interfaceComponentDescription- Returns:
- String description
-
getComponentWikiURL
public String 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:
getComponentWikiURLin interfaceComponentDescription- Returns:
- String URL
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
-
-