protected abstract static class IltAlarm.AbstractSeverity extends IlEnum implements IltAlarmSeverity, ilog.cpl.util.internal.IlpMutableLabel
| Modifier and Type | Field and Description |
|---|---|
protected String |
_description
An arbitrary string describing the severity.
|
protected String |
_message
Message from catalog
|
protected int |
_severity
A numerical value for the severity.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSeverity() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
void |
copy(IltAlarm.AbstractSeverity from)
Copies the attributes from the given severity to this instance.
|
String |
getDescription(IlpContext appContext)
Deprecated.
Use getLabel(Locale) instead.
|
String |
getLabel(Locale locale)
Returns a localized description of the severity.
|
int |
getSeverity()
Returns the severity index.
|
int |
hashCode()
Support for hash tables
|
void |
setDescription(String description)
Deprecated.
Use setLabel(String) instead.
|
void |
setLabel(String label)
Sets the label.
|
void |
setMessage(String description)
Sets the description of the severity as a message from
the JTGO catalog.
|
void |
setName(String name)
Sets the severity name.
|
void |
setSeverity(int value)
Sets the severity attribute.
|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitequals, getCategory, getName, internprotected int _severity
protected String _description
protected String _message
public String getLabel(Locale locale)
getLabel in interface ilog.cpl.util.internal.IlpLabellocale - The locale used to retrieve the label.Localepublic void setLabel(String label)
setLabel in interface ilog.cpl.util.internal.IlpMutableLabellabel - The new label to be set.@Deprecated public String getDescription(IlpContext appContext)
IltAlarmSeveritygetDescription in interface IltAlarmSeverity@Deprecated public void setDescription(String description)
public void setMessage(String description)
public int getSeverity()
getSeverity in interface IltAlarmSeveritypublic void setSeverity(int value)
public void setName(String name)
public int compareTo(Object o)
compareTo in interface Comparablepublic int hashCode()
hashCode in interface IltAlarmSeverityhashCode in class Objectpublic void copy(IltAlarm.AbstractSeverity from)
from - Source severity© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.