Class RecordingPeriod

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

public class RecordingPeriod extends Object implements Cloneable
  • Constructor Details Link icon

    • RecordingPeriod Link icon

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

    • getRecordStart Link icon

      public long getRecordStart()
    • setRecordStart Link icon

      public void setRecordStart(long recordStart)
    • getRecordStop Link icon

      public long getRecordStop()
    • setRecordStop Link icon

      public void setRecordStop(long recordStop)
    • getDuration Link icon

      public long getDuration()
    • getMatchedTethysDeployment Link icon

      public PDeployment getMatchedTethysDeployment()
    • setMatchedTethysDeployment Link icon

      public void setMatchedTethysDeployment(PDeployment closestDeployment)
    • isSelected Link icon

      public boolean isSelected()
      Returns:
      the selected
    • setSelected Link icon

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

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

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

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

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

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

      public DutyCycleInfo getDutyCycleInfo()
      Returns:
      the dutyCycleInfo
    • setDutyCycleInfo Link icon

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