Class RecordingPeriod

java.lang.Object
tethys.deployment.RecordingPeriod
All Implemented Interfaces:
Cloneable

public class RecordingPeriod extends Object implements Cloneable
  • Constructor Details

    • RecordingPeriod

      public RecordingPeriod(long recordStart, long recordStop)
  • Method Details

    • getRecordStart

      public long getRecordStart()
    • setRecordStart

      public void setRecordStart(long recordStart)
    • getRecordStop

      public long getRecordStop()
    • setRecordStop

      public void setRecordStop(long recordStop)
    • getDuration

      public long getDuration()
    • getMatchedTethysDeployment

      public PDeployment getMatchedTethysDeployment()
    • setMatchedTethysDeployment

      public void setMatchedTethysDeployment(PDeployment closestDeployment)
    • isSelected

      public boolean isSelected()
      Returns:
      the selected
    • setSelected

      public void setSelected(boolean selected)
      Parameters:
      selected - the selected to set
    • toggleSelected

      public boolean toggleSelected()
      toggle the selected state
      Returns:
      the new state
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public RecordingPeriod clone()
      Overrides:
      clone in class Object
    • addRecordingGap

      public void addRecordingGap(RecordingPeriod gap)
      Add a gap in the recording period.
      Parameters:
      gap -
    • getRecordingGaps

      public ArrayList<RecordingPeriod> getRecordingGaps()
      Returns:
      the recordingGaps
    • getDutyCycleInfo

      public DutyCycleInfo getDutyCycleInfo()
      Returns:
      the dutyCycleInfo
    • setDutyCycleInfo

      public void setDutyCycleInfo(DutyCycleInfo dutyCycleInfo)
      Parameters:
      dutyCycleInfo - the dutyCycleInfo to set