Class ImageChannel
- java.lang.Object
-
- ch.systemsx.cisd.openbis.plugin.screening.shared.api.v1.dto.ImageChannel
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ImageChannel>
@JsonObject("ImageChannel") public class ImageChannel extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ImageChannel>A class that represents an image channel.- Since:
- 1.9
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageChannel(java.lang.String code, java.lang.String label)ImageChannel(java.lang.String code, java.lang.String label, java.lang.String description, java.lang.Integer wavelength, java.util.List<ImageTransformationInfo> transformations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ImageChannel imageChannel)booleanequals(java.lang.Object obj)java.lang.StringgetCode()Returns the channel code.java.lang.StringgetLabel()Returns the channel label.java.util.List<ImageTransformationInfo>getTransformations()Returns the transformations defined for this channel.inthashCode()java.lang.StringtoString()java.lang.StringtryGetDescription()Returns the channel' description ornull, if this channel has no description.java.lang.IntegertryGetWavelength()Returns the channel's wavelength ornull, if the wavelength is not known.
-
-
-
Constructor Detail
-
ImageChannel
public ImageChannel(java.lang.String code, java.lang.String label)
-
ImageChannel
public ImageChannel(java.lang.String code, java.lang.String label, java.lang.String description, java.lang.Integer wavelength, java.util.List<ImageTransformationInfo> transformations)
-
-
Method Detail
-
getCode
public java.lang.String getCode()
Returns the channel code.
-
getLabel
public java.lang.String getLabel()
Returns the channel label.
-
tryGetDescription
public java.lang.String tryGetDescription()
Returns the channel' description ornull, if this channel has no description.
-
tryGetWavelength
public java.lang.Integer tryGetWavelength()
Returns the channel's wavelength ornull, if the wavelength is not known.
-
getTransformations
public java.util.List<ImageTransformationInfo> getTransformations()
Returns the transformations defined for this channel. May be empty, if there are no transformations defined.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(ImageChannel imageChannel)
- Specified by:
compareToin interfacejava.lang.Comparable<ImageChannel>
-
-