Package omero.gateway.model
Class ScreenData
- java.lang.Object
-
- omero.gateway.model.DataObject
-
- omero.gateway.model.ScreenData
-
public class ScreenData extends DataObject
The data that makes up an OME Screen along with links to its contained Plates and the Experimenter that owns this Screen.- Since:
- 3.0-Beta3
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDESCRIPTIONIdentifies theScreenI.DESCRIPTIONfield.static java.lang.StringNAMEIdentifies theScreenI.NAMEfield.static java.lang.StringPLATE_LINKSIdentifies theScreenI.PLATELINKSfield.
-
Constructor Summary
Constructors Constructor Description ScreenData()Creates a new instance.ScreenData(omero.model.Screen screen)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.Long,java.lang.Long>getAnnotationsCounts()Returns the number of annotations linked to the object, key: id of the user, value: number of annotation.java.lang.StringgetDescription()Returns the description of the screen.java.lang.StringgetName()Returns the name of the screen.java.util.Set<PlateData>getPlates()Returns the plates contained in this screen.java.lang.StringgetProtocolDescription()Returns the description of the protocol.java.lang.StringgetProtocolIdentifier()Returns the identifier of the protocol.java.lang.StringgetReagentSetDescripion()Returns the description of the reagent set.java.lang.StringgetReagentSetIdentifier()Returns the identifier of the Reagent set.voidsetDescription(java.lang.String description)Sets the description of the screen.voidsetName(java.lang.String name)Sets the name of the screen.voidsetPlates(java.util.Set<PlateData> value)Sets the plates contained in this screen.voidsetProtocolDescription(java.lang.String value)Sets the description of the protocol.voidsetProtocolIdentifier(java.lang.String value)Sets the identifier of the protocol.voidsetReagentSetDescripion(java.lang.String value)Sets the identifier of the reagent.voidsetReagentSetIdentifier(java.lang.String value)Sets the identifier of the reagent.-
Methods inherited from class omero.gateway.model.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
Identifies theScreenI.NAMEfield.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Identifies theScreenI.DESCRIPTIONfield.- See Also:
- Constant Field Values
-
PLATE_LINKS
public static final java.lang.String PLATE_LINKS
Identifies theScreenI.PLATELINKSfield.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScreenData
public ScreenData()
Creates a new instance.
-
ScreenData
public ScreenData(omero.model.Screen screen)
Creates a new instance.- Parameters:
screen- Back pointer to theScreenmodel object. Mustn't benull.- Throws:
java.lang.IllegalArgumentException- If the object isnull.
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Sets the name of the screen.- Parameters:
name- The name of the screen. Mustn't benull.- Throws:
java.lang.IllegalArgumentException- If the name isnull.
-
getName
public java.lang.String getName()
Returns the name of the screen.- Returns:
- See above.
-
setDescription
public void setDescription(java.lang.String description)
Sets the description of the screen.- Parameters:
description- The description of the screen.
-
getDescription
public java.lang.String getDescription()
Returns the description of the screen.- Returns:
- See above.
-
getAnnotationsCounts
public java.util.Map<java.lang.Long,java.lang.Long> getAnnotationsCounts()
Returns the number of annotations linked to the object, key: id of the user, value: number of annotation. The map may benullif no annotation.- Returns:
- See above.
-
getPlates
public java.util.Set<PlateData> getPlates()
Returns the plates contained in this screen.- Returns:
- See above.
-
setPlates
public void setPlates(java.util.Set<PlateData> value)
Sets the plates contained in this screen.- Parameters:
value- The set of plates.
-
getProtocolDescription
public java.lang.String getProtocolDescription()
Returns the description of the protocol.- Returns:
- See above.
-
setProtocolDescription
public void setProtocolDescription(java.lang.String value)
Sets the description of the protocol.- Parameters:
value- The value to set.
-
getProtocolIdentifier
public java.lang.String getProtocolIdentifier()
Returns the identifier of the protocol.- Returns:
- See above.
-
setProtocolIdentifier
public void setProtocolIdentifier(java.lang.String value)
Sets the identifier of the protocol.- Parameters:
value- The value to set.
-
getReagentSetDescripion
public java.lang.String getReagentSetDescripion()
Returns the description of the reagent set.- Returns:
- See above.
-
setReagentSetDescripion
public void setReagentSetDescripion(java.lang.String value)
Sets the identifier of the reagent.- Parameters:
value- The value to set.
-
getReagentSetIdentifier
public java.lang.String getReagentSetIdentifier()
Returns the identifier of the Reagent set.- Returns:
- See above.
-
setReagentSetIdentifier
public void setReagentSetIdentifier(java.lang.String value)
Sets the identifier of the reagent.- Parameters:
value- The value to set.
-
-