Enum OMRSAuditLogRecordSeverity

    • Method Detail

      • values

        public static OMRSAuditLogRecordSeverity[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OMRSAuditLogRecordSeverity c : OMRSAuditLogRecordSeverity.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OMRSAuditLogRecordSeverity valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getOrdinal

        public int getOrdinal()
        Return the code for this enum.
        Specified by:
        getOrdinal in interface AuditLogRecordSeverity
        int numeric for this enum
      • getName

        public java.lang.String getName()
        Return the name of this enum.
        Specified by:
        getName in interface AuditLogRecordSeverity
        String name
      • getDescription

        public java.lang.String getDescription()
        Return the default description of this enum. This description is in English. Natural language translations can be created using a Resource Bundle indexed by the severity code. This description is a fall back when the resource bundle is not available.
        Specified by:
        getDescription in interface AuditLogRecordSeverity
        String default description
      • toString

        public java.lang.String toString()
        toString() JSON-style
        toString in class java.lang.Enum<OMRSAuditLogRecordSeverity>
        string description
      • getSeverityList

        public static java.util.List<OMRSAuditLogReportSeverity> getSeverityList()
        Return the list of severities defined for the audit log records in this server. The Enum needs to be turned into a bean.
        list of severity values