Package fr.igred.omero.repository
Class ScreenWrapper
- java.lang.Object
-
- fr.igred.omero.GenericObjectWrapper<T>
-
- fr.igred.omero.repository.GenericRepositoryObjectWrapper<ScreenData>
-
- fr.igred.omero.repository.ScreenWrapper
-
public class ScreenWrapper extends GenericRepositoryObjectWrapper<ScreenData>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fr.igred.omero.repository.GenericRepositoryObjectWrapper
GenericRepositoryObjectWrapper.ReplacePolicy
-
-
Field Summary
Fields Modifier and Type Field Description static String
ANNOTATION_LINK
-
Fields inherited from class fr.igred.omero.GenericObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description ScreenWrapper(ScreenData screen)
Constructor of the class ScreenWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
annotationLinkType()
Returns the type of annotation link for this objectScreenData
asScreenData()
String
getDescription()
Gets the screen descriptionString
getName()
Gets the screen name.List<PlateWrapper>
getPlates()
Returns the plates contained in this screen.List<PlateWrapper>
getPlates(String name)
Returns the plates contained in this screen, with the specified name.String
getProtocolDescription()
Returns the description of the protocol.String
getProtocolIdentifier()
Returns the identifier of the protocol.String
getReagentSetDescription()
Returns the description of the reagent set.String
getReagentSetIdentifier()
Returns the identifier of the Reagent set.void
setDescription(String description)
Sets the description of the screen.void
setName(String name)
Sets the name of the screen.void
setProtocolDescription(String value)
Sets the description of the protocol.void
setProtocolIdentifier(String value)
Sets the identifier of the protocol.void
setReagentSetDescription(String value)
Sets the identifier of the reagent.void
setReagentSetIdentifier(String value)
Sets the identifier of the reagent.-
Methods inherited from class fr.igred.omero.repository.GenericRepositoryObjectWrapper
addAndReplaceFile, addAndReplaceFile, addFile, addFileAnnotation, addMapAnnotation, addPairKeyValue, addTable, addTag, addTag, addTag, addTag, addTags, addTags, copyAnnotationLinks, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getTable, getTables, getTags, getValue, removeLink, unlink
-
Methods inherited from class fr.igred.omero.GenericObjectWrapper
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
-
-
-
Field Detail
-
ANNOTATION_LINK
public static final String ANNOTATION_LINK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScreenWrapper
public ScreenWrapper(ScreenData screen)
Constructor of the class ScreenWrapper.- Parameters:
screen
- The ScreenData contained in the ScreenWrapper.
-
-
Method Detail
-
annotationLinkType
protected String annotationLinkType()
Returns the type of annotation link for this object- Specified by:
annotationLinkType
in classGenericRepositoryObjectWrapper<ScreenData>
- Returns:
- See above.
-
getName
public String getName()
Gets the screen name.- Specified by:
getName
in classGenericRepositoryObjectWrapper<ScreenData>
- Returns:
- See above.
-
setName
public void setName(String name)
Sets the name of the screen.- Parameters:
name
- The name of the screen. Mustn't benull
.- Throws:
IllegalArgumentException
- If the name isnull
.
-
asScreenData
public ScreenData asScreenData()
- Returns:
- the ScreenData contained.
-
getDescription
public String getDescription()
Gets the screen description- Specified by:
getDescription
in classGenericRepositoryObjectWrapper<ScreenData>
- Returns:
- See above.
-
setDescription
public void setDescription(String description)
Sets the description of the screen.- Parameters:
description
- The description of the screen.
-
getPlates
public List<PlateWrapper> getPlates()
Returns the plates contained in this screen.- Returns:
- See above.
-
getPlates
public List<PlateWrapper> getPlates(String name)
Returns the plates contained in this screen, with the specified name.- Parameters:
name
- The expected plates name.- Returns:
- See above.
-
getProtocolDescription
public String getProtocolDescription()
Returns the description of the protocol.- Returns:
- See above.
-
setProtocolDescription
public void setProtocolDescription(String value)
Sets the description of the protocol.- Parameters:
value
- The value to set.
-
getProtocolIdentifier
public String getProtocolIdentifier()
Returns the identifier of the protocol.- Returns:
- See above.
-
setProtocolIdentifier
public void setProtocolIdentifier(String value)
Sets the identifier of the protocol.- Parameters:
value
- The value to set.
-
getReagentSetDescription
public String getReagentSetDescription()
Returns the description of the reagent set.- Returns:
- See above.
-
setReagentSetDescription
public void setReagentSetDescription(String value)
Sets the identifier of the reagent.- Parameters:
value
- The value to set.
-
getReagentSetIdentifier
public String getReagentSetIdentifier()
Returns the identifier of the Reagent set.- Returns:
- See above.
-
setReagentSetIdentifier
public void setReagentSetIdentifier(String value)
Sets the identifier of the reagent.- Parameters:
value
- The value to set.
-
-