|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.util.IlEnum
ilog.tgo.model.IltAlarm.AbstractSeverity
protected abstract static class IltAlarm.AbstractSeverity
| Field Summary | |
|---|---|
protected String |
_description
An arbitrary string describing the severity. |
protected String |
_message
Message from catalog |
protected int |
_severity
A numerical value for the severity. |
| Fields inherited from class ilog.util.IlEnum |
|---|
metainfo |
| Constructor Summary | |
|---|---|
protected |
IltAlarm.AbstractSeverity()
|
| Method Summary | |
|---|---|
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 ILOG JTGO catalog. |
void |
setName(String name)
Sets the severity name. |
void |
setSeverity(int value)
Sets the severity attribute. |
| Methods inherited from class ilog.util.IlEnum |
|---|
getName, intern, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.tgo.model.IltAlarmSeverity |
|---|
equals, getCategory, getName, intern |
| Field Detail |
|---|
protected int _severity
protected String _description
protected String _message
| Constructor Detail |
|---|
protected IltAlarm.AbstractSeverity()
| Method Detail |
|---|
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.public String getDescription(IlpContext appContext)
IltAlarmSeverity
getDescription in interface IltAlarmSeveritypublic 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)
setName in class IlEnumpublic 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
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||