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.Stringdet()The detector name associated with the exposure.ExposureNumberexposureNumber()The number of the exposure in a series.scala.Option<ObsId>obsId()The Observation Id for the exposure.Subsystemsubsystem()The Subsystem that produced the exposure.java.lang.StringtoString()TYPLeveltypLevel()The exposure type and calibration levelUTCTimeutcTime()
-
-
-
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:ExposureIdThe Subsystem that produced the exposure.- Specified by:
subsystemin interfaceExposureId- Returns:
- a valid
Subsystem
-
det
public java.lang.String det()
Description copied from interface:ExposureIdThe detector name associated with the exposure.- Specified by:
detin interfaceExposureId- Returns:
- detector description as a
String
-
typLevel
public TYPLevel typLevel()
Description copied from interface:ExposureIdThe exposure type and calibration level- Specified by:
typLevelin interfaceExposureId- Returns:
- a
TYPLevel
-
exposureNumber
public ExposureNumber exposureNumber()
Description copied from interface:ExposureIdThe number of the exposure in a series.- Specified by:
exposureNumberin interfaceExposureId- Returns:
- the number as an
ExposureNumber
-
obsId
public scala.Option<ObsId> obsId()
Description copied from interface:ExposureIdThe Observation Id for the exposure.- Specified by:
obsIdin interfaceExposureId- Returns:
- an
ObsIdas an option
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-