public class BehaviourImpl extends java.lang.Object implements Behaviour, java.io.Serializable
HIGH_BELL_VOLUME, KLAXON_VOLUME, LOW_BELL_VOLUME, SILENT_VOLUME, volumes| Constructor and Description |
|---|
BehaviourImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getColumnsToDisplay()
Get the column names to be displayed.
|
java.lang.String |
getDailyPrinter()
Get the printer name for alarm daily printing.
|
java.lang.String |
getKlaxonVolume()
Get the alarm klaxon volume.
|
boolean |
isAlarmAutoKlaxon()
Check the alarm auto klaxon flag.
|
boolean |
isAlarmAutoTerminated()
Check the alarm auto terminate flag.
|
boolean |
isAlarmDistinguished()
Check the alarm distinction flag.
|
boolean |
isDailyPrinting()
Check the alarm daily printing flag.
|
void |
setAlarmAutoKlaxon(boolean newAlarmAutoKlaxon)
Set the alarm auto klaxon flag.
|
void |
setAlarmAutoTerminated(boolean newAlarmAutoTerminated)
Set the alarm auto terminate flag.
|
void |
setAlarmDistinguished(boolean newAlarmDistinguished)
Set the alarm distinction flag.
|
void |
setColumnsToDisplay(java.lang.String[] newColumnNames)
Set newColumnNames
|
void |
setDailyPrinter(java.lang.String newPrinter)
Set the printer name for alarm daily printing.
|
void |
setDailyPrinting(boolean newDailyPrinting)
Set the alarm daily printing flag.
|
void |
setKlaxonVolume(java.lang.String newKlaxonVolume)
Set the alarm klaxon volume.
|
java.lang.String |
toString() |
public java.lang.String getDailyPrinter()
BehaviourgetDailyPrinter in interface Behaviourpublic void setDailyPrinter(java.lang.String newPrinter)
BehavioursetDailyPrinter in interface BehaviournewPrinter - the daily printing printer namepublic boolean isDailyPrinting()
BehaviourisDailyPrinting in interface Behaviourpublic void setDailyPrinting(boolean newDailyPrinting)
BehavioursetDailyPrinting in interface BehaviournewDailyPrinting - if true daily printing is enabled.public boolean isAlarmDistinguished()
BehaviourisAlarmDistinguished in interface Behaviourpublic void setAlarmDistinguished(boolean newAlarmDistinguished)
BehavioursetAlarmDistinguished in interface BehaviournewAlarmDistinguished - if true alarm distinction is enabled.public boolean isAlarmAutoTerminated()
BehaviourisAlarmAutoTerminated in interface Behaviourpublic void setAlarmAutoTerminated(boolean newAlarmAutoTerminated)
BehavioursetAlarmAutoTerminated in interface BehaviournewAlarmAutoTerminated - if true alarm auto terminate is enabled.public boolean isAlarmAutoKlaxon()
BehaviourisAlarmAutoKlaxon in interface Behaviourpublic void setAlarmAutoKlaxon(boolean newAlarmAutoKlaxon)
BehavioursetAlarmAutoKlaxon in interface BehaviournewAlarmAutoKlaxon - if true alarm auto klaxon is enabled.public java.lang.String getKlaxonVolume()
BehaviourgetKlaxonVolume in interface Behaviourpublic void setKlaxonVolume(java.lang.String newKlaxonVolume)
BehavioursetKlaxonVolume in interface BehaviournewKlaxonVolume - the alarm klaxon volume.public java.lang.String[] getColumnsToDisplay()
BehaviourgetColumnsToDisplay in interface Behaviourpublic void setColumnsToDisplay(java.lang.String[] newColumnNames)
BehavioursetColumnsToDisplay in interface BehaviournewColumnNames - the column names.public java.lang.String toString()
toString in class java.lang.Object