pops.ale.epc.spec
Class ECBoundarySpec

java.lang.Object
  extended by pops.ale.epc.spec.Spec
      extended by pops.ale.epc.spec.ECBoundarySpec

public class ECBoundarySpec
extends Spec

An ECBoundarySpec specifies how the beginning and end of event cycles are to be determined.

Author:
pops, R.DAGHER

Field Summary
protected  ECTime duration
          (Optional) Specifies an interval of time for stopping an event cycle for this ECSpec, relative to the start of the event cycle.
 
Constructor Summary
ECBoundarySpec(ECTrigger[] startTriggerList, ECTime repeatPeriod, ECTrigger[] stopTriggerList, ECTime duration, ECTime stableSetInterval, boolean whenDataAvailable)
          Constructor
ECBoundarySpec(java.util.Properties loadFromProp)
          Constructor for building spec using a Java property File
 
Method Summary
 ECTime getDuration()
          Getter for duration
 ECTime getRepeatPeriod()
          Getter for repeatPeriod
 ECTime getStableSetInterval()
          Getter for stableSetInterval
 ECTrigger[] getStartTriggerList()
          Getter for startTriggerList
 ECTrigger[] getStopTriggerList()
          Getter for stopTriggerList
 boolean isWhenDataAvailable()
          Getter for whenDataAvailable
 void loadFromProp(java.util.Properties spec_property)
          Set up fields from a Java property object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

duration

protected ECTime duration
(Optional) Specifies an interval of time for stopping an event cycle for this ECSpec, relative to the start of the event cycle. If omitted or equal to zero, has no effect on the stopping of the event cycle.

Constructor Detail

ECBoundarySpec

public ECBoundarySpec(java.util.Properties loadFromProp)
Constructor for building spec using a Java property File

Parameters:
loadFromProp - Java property object containing specification data
Throws:
TBD

ECBoundarySpec

public ECBoundarySpec(ECTrigger[] startTriggerList,
                      ECTime repeatPeriod,
                      ECTrigger[] stopTriggerList,
                      ECTime duration,
                      ECTime stableSetInterval,
                      boolean whenDataAvailable)
Constructor

Parameters:
startTriggerList -
repeatPeriod -
stopTriggerList -
duration -
stableSetInterval -
whenDataAvailable -
Method Detail

loadFromProp

public void loadFromProp(java.util.Properties spec_property)
Set up fields from a Java property object

Specified by:
loadFromProp in class Spec
Parameters:
spec_property - Java property object containing specification data
Throws:
TBD

getStartTriggerList

public ECTrigger[] getStartTriggerList()
Getter for startTriggerList

Returns:
the startTriggerList

getRepeatPeriod

public ECTime getRepeatPeriod()
Getter for repeatPeriod

Returns:
the repeatPeriod

getStopTriggerList

public ECTrigger[] getStopTriggerList()
Getter for stopTriggerList

Returns:
the stopTriggerList

getDuration

public ECTime getDuration()
Getter for duration

Returns:
the duration

getStableSetInterval

public ECTime getStableSetInterval()
Getter for stableSetInterval

Returns:
the stableSetInterval

isWhenDataAvailable

public boolean isWhenDataAvailable()
Getter for whenDataAvailable

Returns:
the whenDataAvailable