Package csw.params.core.models
Class StandaloneExposureId
- java.lang.Object
-
- csw.params.core.models.StandaloneExposureId
-
- All Implemented Interfaces:
ExposureId
,java.io.Serializable
,scala.Equals
,scala.Product
public class StandaloneExposureId extends java.lang.Object implements ExposureId, scala.Product, java.io.Serializable
A standalone ExposureId is an exposureId without an ObsId. Instances are created using the ExposureId object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StandaloneExposureId(UTCTime utcTime, Subsystem subsystem, java.lang.String det, TYPLevel typLevel, ExposureNumber exposureNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
det()
The detector name associated with the exposure.ExposureNumber
exposureNumber()
The number of the exposure in a series.scala.Option<ObsId>
obsId()
The Observation Id for the exposure.Subsystem
subsystem()
The Subsystem that produced the exposure.java.lang.String
toString()
TYPLevel
typLevel()
The exposure type and calibration levelUTCTime
utcTime()
-
-
-
Constructor Detail
-
StandaloneExposureId
public StandaloneExposureId(UTCTime utcTime, Subsystem subsystem, java.lang.String det, TYPLevel typLevel, ExposureNumber exposureNumber)
-
-
Method Detail
-
utcTime
public UTCTime utcTime()
-
subsystem
public Subsystem subsystem()
Description copied from interface:ExposureId
The Subsystem that produced the exposure.- Specified by:
subsystem
in interfaceExposureId
- Returns:
- a valid
Subsystem
-
det
public java.lang.String det()
Description copied from interface:ExposureId
The detector name associated with the exposure.- Specified by:
det
in interfaceExposureId
- Returns:
- detector description as a
String
-
typLevel
public TYPLevel typLevel()
Description copied from interface:ExposureId
The exposure type and calibration level- Specified by:
typLevel
in interfaceExposureId
- Returns:
- a
TYPLevel
-
exposureNumber
public ExposureNumber exposureNumber()
Description copied from interface:ExposureId
The number of the exposure in a series.- Specified by:
exposureNumber
in interfaceExposureId
- Returns:
- the number as an
ExposureNumber
-
obsId
public scala.Option<ObsId> obsId()
Description copied from interface:ExposureId
The Observation Id for the exposure.- Specified by:
obsId
in interfaceExposureId
- Returns:
- an
ObsId
as an option
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-