persistent class Ens.AlarmRequest
extends Ens.Request
parameter DOMAIN = "Ensemble";
Use our own domain for localization
property DiscardOnShutdown
as %Boolean [ InitialExpression = 0 ];
property Duration
as %String [ Calculated ];
This property is deprecated, use property 'Timeout' instead
property DurationInSeconds
as %Float;
property Timeout
as %String;
Timeout takes both the Duration and Until specification
property Until
as %String [ Calculated ];
This property is deprecated, use property 'Timeout' instead
method DurationGet()
as %Status
This is a Get accessor method for the Duration property.
method DurationInSecondsFromNow()
as %Float
This method computes the duration-in-seconds from the current time to the set time in the future
It is different from the DurationInSeconds property which is a static value equal to the duration
from the time of the creation of the object to the set time in the future.
method DurationSet(pDuration As %String)
as %Status
This is a Set accessor method for the Duration property.
method TimeoutSet(pTimeout As %String)
as %Status
This is a Set accessor method for the Timeout property.
method UntilGet()
as %Status
This is a Get accessor method for the Until property.
method UntilSet(pTimeout As %String)
as %Status
This is a Set accessor method for the Until property.
method isDuration()
as %Boolean