Class AuditLogReportingComponent
java.lang.Object
org.odpi.openmetadata.frameworks.auditlog.AuditLogReportingComponent
- All Implemented Interfaces:
ComponentDescription
AuditLogReportingComponent describes the component issuing the audit log record.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for JacksonAuditLogReportingComponent(int componentId, ComponentDevelopmentStatus componentDevelopmentStatus, String componentName, String componentDescription, String componentWikiURL) Construct the description of the reporting component.Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanValidate that an object is equal depending on their stored values.Return the short description of the component.Return the development status of the component.intReturn the numerical code for this component.Return the name of the component.Return the URL link to the wiki page that describes this component.inthashCode()Return a hash code based on the values of this object.voidsetComponentDescription(String componentDescription) Set up the short description of the component.voidsetComponentDevelopmentStatus(ComponentDevelopmentStatus componentDevelopmentStatus) Set up the development status of the component.voidsetComponentId(int componentId) Set up the numerical code for this component.voidsetComponentName(String componentName) Set up the name of the component.voidsetComponentWikiURL(String componentWikiURL) Set up the URL link to the wiki page that describes this component.toString()Standard toString method.
-
Constructor Details
-
AuditLogReportingComponent
public AuditLogReportingComponent()Default constructor for Jackson -
AuditLogReportingComponent
Copy/clone constructor- Parameters:
template- object to copy
-
AuditLogReportingComponent
public AuditLogReportingComponent(int componentId, ComponentDevelopmentStatus componentDevelopmentStatus, String componentName, String componentDescription, String componentWikiURL) Construct the description of the reporting component.- Parameters:
componentId- numerical identifier for the componentcomponentDevelopmentStatus- development statuscomponentName- display name for the componentcomponentDescription- description of the componentcomponentWikiURL- link to more information
-
-
Method Details
-
getComponentId
public int getComponentId()Return the numerical code for this component.- Specified by:
getComponentIdin interfaceComponentDescription- Returns:
- int componentId
-
setComponentId
public void setComponentId(int componentId) Set up the numerical code for this component.- Parameters:
componentId- int componentId
-
getComponentDevelopmentStatus
Return the development status of the component.- Specified by:
getComponentDevelopmentStatusin interfaceComponentDescription- Returns:
- enum describing the status
-
setComponentDevelopmentStatus
Set up the development status of the component.- Parameters:
componentDevelopmentStatus- enum describing the status
-
getComponentName
Return the name of the component.- Specified by:
getComponentNamein interfaceComponentDescription- Returns:
- String component name
-
setComponentName
Set up the name of the component.- Parameters:
componentName- 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:
getComponentDescriptionin interfaceComponentDescription- Returns:
- String description
-
setComponentDescription
Set up 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.- Parameters:
componentDescription- String description
-
getComponentWikiURL
Return the URL link 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
-
setComponentWikiURL
Set up the URL link to the wiki page that describes this component. This provides more information to the log reader on the operation of the component.- Parameters:
componentWikiURL- 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.
-