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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OMRSAuditLogReportSeverity()Default constructorOMRSAuditLogReportSeverity(AuditLogRecordSeverity template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetDescription()Return the short description of the component.StringgetName()Return the name of the component.intgetOrdinal()Return the numerical code for this enum.inthashCode()Create a hash code for this element type.voidsetDescription(String description)Set up the short description of the component.voidsetName(String name)Set up the name of the component.voidsetOrdinal(int ordinal)Set up he numerical code for this enum.StringtoString()toString, JSON-style
-
-
-
Constructor Detail
-
OMRSAuditLogReportSeverity
public OMRSAuditLogReportSeverity()
Default constructor
-
OMRSAuditLogReportSeverity
public OMRSAuditLogReportSeverity(AuditLogRecordSeverity template)
Copy/clone constructor.- Parameters:
template- object to copy.
-
-
Method Detail
-
getOrdinal
public int getOrdinal()
Return the numerical code for this enum.- Specified by:
getOrdinalin interfaceAuditLogRecordSeverity- Returns:
- int componentId
-
setOrdinal
public void setOrdinal(int ordinal)
Set up he numerical code for this enum.- Parameters:
ordinal- identifier
-
getName
public String getName()
Return the name of the component. This is the name used in the audit log records.- Specified by:
getNamein interfaceAuditLogRecordSeverity- Returns:
- String component name
-
setName
public void setName(String name)
Set up the name of the component. This is the name used in the audit log records.- Parameters:
name- String component name
-
getDescription
public String 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:
getDescriptionin interfaceAuditLogRecordSeverity- Returns:
- String description
-
setDescription
public void setDescription(String description)
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
public String toString()
toString, JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-