Class OMRSAuditLogReportSeverity
java.lang.Object
org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditLogReportSeverity
- All Implemented Interfaces:
Serializable
,AuditLogRecordSeverity
public class OMRSAuditLogReportSeverity
extends Object
implements AuditLogRecordSeverity, Serializable
AuditLogReportSeverity provides information about the different types of severities defined for the audit log.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the short description of the component.getName()
Return the name of the component.int
Return the numerical code for this enum.int
hashCode()
Create a hash code for this element type.void
setDescription
(String description) Set up the short description of the component.void
Set up the name of the component.void
setOrdinal
(int ordinal) Set up the numerical code for this enum.toString()
toString, JSON-style
-
Constructor Details
-
OMRSAuditLogReportSeverity
public OMRSAuditLogReportSeverity()Default constructor -
OMRSAuditLogReportSeverity
Copy/clone constructor.- Parameters:
template
- object to copy.
-
-
Method Details
-
getOrdinal
public int getOrdinal()Return the numerical code for this enum.- Specified by:
getOrdinal
in interfaceAuditLogRecordSeverity
- Returns:
- int componentId
-
setOrdinal
public void setOrdinal(int ordinal) Set up the numerical code for this enum.- Parameters:
ordinal
- identifier
-
getName
Return the name of the component. This is the name used in the audit log records.- Specified by:
getName
in interfaceAuditLogRecordSeverity
- Returns:
- String component name
-
setName
Set up the name of the component. This is the name used in the audit log records.- Parameters:
name
- String component name
-
getDescription
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:
getDescription
in interfaceAuditLogRecordSeverity
- Returns:
- String description
-
setDescription
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:
description
- String description
-
toString
toString, JSON-style -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-