Package csw.params.core.models
Class ExposureIdWithObsId
- java.lang.Object
-
- csw.params.core.models.ExposureIdWithObsId
-
- All Implemented Interfaces:
ExposureId
,java.io.Serializable
,scala.Equals
,scala.Product
public class ExposureIdWithObsId extends java.lang.Object implements ExposureId, scala.Product, java.io.Serializable
An ExposureIdWithObsId is an ExposureId with an included ObsId. Instances are created through the ExposureId object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExposureIdWithObsId(scala.Option<ObsId> obsId, 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 level
-
-
-
Constructor Detail
-
ExposureIdWithObsId
public ExposureIdWithObsId(scala.Option<ObsId> obsId, Subsystem subsystem, java.lang.String det, TYPLevel typLevel, ExposureNumber exposureNumber)
-
-
Method Detail
-
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
-
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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-