Class AuditLogReportingComponent
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.auditlog.AuditLogReportingComponent
-
- All Implemented Interfaces:
Serializable,ComponentDescription
public class AuditLogReportingComponent extends Object implements Serializable, ComponentDescription
AuditLogReportingComponent describes the component issuing the audit log record.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuditLogReportingComponent()Default constructor for JacksonAuditLogReportingComponent(int componentId, ComponentDevelopmentStatus componentDevelopmentStatus, String componentName, String componentDescription, String componentWikiURL)Construct the description of the reporting component.AuditLogReportingComponent(ComponentDescription template)Copy/clone constructor
-
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()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.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
AuditLogReportingComponent
public AuditLogReportingComponent()
Default constructor for Jackson
-
AuditLogReportingComponent
public AuditLogReportingComponent(ComponentDescription template)
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 Detail
-
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
public ComponentDevelopmentStatus getComponentDevelopmentStatus()
Return the development status of the component.- Specified by:
getComponentDevelopmentStatusin interfaceComponentDescription- Returns:
- enum describing the status
-
setComponentDevelopmentStatus
public void setComponentDevelopmentStatus(ComponentDevelopmentStatus componentDevelopmentStatus)
Set up the development status of the component.- Parameters:
componentDevelopmentStatus- enum describing the status
-
getComponentName
public String getComponentName()
Return the name of the component.- Specified by:
getComponentNamein interfaceComponentDescription- Returns:
- String component name
-
setComponentName
public void setComponentName(String componentName)
Set up the name of the component.- Parameters:
componentName- 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
-
setComponentDescription
public void setComponentDescription(String componentDescription)
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
public String 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
public void setComponentWikiURL(String componentWikiURL)
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
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
-
-