Package cern.nxcals.api.custom.domain
Class BeamMode
- java.lang.Object
-
- cern.nxcals.api.custom.domain.BeamMode
-
public final class BeamMode extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BeamMode(@NonNull TimeWindow validity, @NonNull java.lang.String beamModeValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getBeamModeValue()
@NonNull TimeWindow
getValidity()
int
hashCode()
BeamMode
limitTo(TimeWindow limit)
java.lang.String
toString()
-
-
-
Constructor Detail
-
BeamMode
public BeamMode(@NonNull @NonNull TimeWindow validity, @NonNull @NonNull java.lang.String beamModeValue)
-
-
Method Detail
-
limitTo
public BeamMode limitTo(TimeWindow limit)
-
getValidity
@NonNull public @NonNull TimeWindow getValidity()
-
getBeamModeValue
@NonNull public @NonNull java.lang.String getBeamModeValue()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-