Class UnmodifiableExperimentMetadata
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.design.UnmodifiableExperimentMetadata
-
- All Implemented Interfaces:
ExperimentMetadata,Metadata,Serializable
public class UnmodifiableExperimentMetadata extends Object implements ExperimentMetadata, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface fr.ens.biologie.genomique.eoulsan.design.ExperimentMetadata
BUILD_CONTRAST_KEY, COMPARISONS_KEY, CONTRAST_FILE_KEY, CONTRAST_KEY, DESIGN_FILE_KEY, MODEL_KEY, REFERENCE_KEY, SKIP_KEY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String key)Test if the key is in md.booleancontainsBuildContrast()Test if the buildContrast option exists.booleancontainsComparisons()Test if the comparisons option exists.booleancontainsContrast()Test if the contrast option exists.booleancontainsContrastFile()Test if the contrastFile option exists.booleancontainsDesignFile()Test if the designFile option exists.booleancontainsModel()Test if the model option exists.booleancontainsReference()Test if the reference option exists.booleancontainsSkip()Test if the skip option exists.Set<Map.Entry<String,String>>entrySet()Get an entry set of the metadata.booleanequals(Object obj)Stringget(String key)Get the value according the key.booleangetAsBoolean(String key)Get the value according the key as a boolean.List<String>getAsList(String key)Get the value according the key as a list.StringgetComparisons()Get the comparisons DEseq2 option.StringgetContrastFile()Get the contrastFile DEseq2 option.StringgetDesignFile()Get the designFile DEseq2 option.StringgetModel()Get the model DEseq2 option.StringgetReference()Get the reference option.StringgetTrimmed(String key)Get the trimmed value according the key.inthashCode()booleanisBuildContrast()Get the buildContrast DEseq2 option.booleanisContrast()Get the contrast DEseq2 option.booleanisEmpty()Test if there is no metadata.booleanisSkip()Get the skip option.Set<String>keySet()Get the keys of the metadatavoidremove(String key)Remove the value according the key.voidset(String key, String value)Set the value according the key.voidset(String key, List<String> value)Set the value as a list according the key.voidsetBuildContrast(boolean newBuildContrast)Set the buildContrast DEseq2 option.voidsetComparisons(String newComparisons)Set the comparisons DEseq2 option.voidsetContrast(boolean newContrast)Set the contrast DEseq2 option.voidsetContrastFile(String newContrastFile)Set the contrastFile DEseq2 option.voidsetDesignFile(String newDesignFile)Set the designFile DEseq2 option.voidsetModel(String newModel)Set the model DEseq2 option.voidsetReference(String newReference)Set the reference option.voidsetSkip(boolean newSkip)Set the skip option.intsize()Get the number of metadata.
-
-
-
Method Detail
-
get
public String get(String key)
Description copied from interface:MetadataGet the value according the key.
-
getTrimmed
public String getTrimmed(String key)
Description copied from interface:MetadataGet the trimmed value according the key.- Specified by:
getTrimmedin interfaceMetadata- Parameters:
key- the key- Returns:
- the value
-
set
public void set(String key, String value)
Description copied from interface:MetadataSet the value according the key.
-
set
public void set(String key, List<String> value)
Description copied from interface:MetadataSet the value as a list according the key.
-
size
public int size()
Description copied from interface:MetadataGet the number of metadata.
-
isEmpty
public boolean isEmpty()
Description copied from interface:MetadataTest if there is no metadata.
-
contains
public boolean contains(String key)
Description copied from interface:MetadataTest if the key is in md.
-
getAsList
public List<String> getAsList(String key)
Description copied from interface:MetadataGet the value according the key as a list.
-
getAsBoolean
public boolean getAsBoolean(String key)
Description copied from interface:MetadataGet the value according the key as a boolean.- Specified by:
getAsBooleanin interfaceMetadata- Parameters:
key- the key- Returns:
- the value as a boolean
-
keySet
public Set<String> keySet()
Description copied from interface:MetadataGet the keys of the metadata
-
entrySet
public Set<Map.Entry<String,String>> entrySet()
Description copied from interface:MetadataGet an entry set of the metadata.
-
remove
public void remove(String key)
Description copied from interface:MetadataRemove the value according the key.
-
isSkip
public boolean isSkip()
Description copied from interface:ExperimentMetadataGet the skip option.- Specified by:
isSkipin interfaceExperimentMetadata- Returns:
- the skip option
-
getReference
public String getReference()
Description copied from interface:ExperimentMetadataGet the reference option.- Specified by:
getReferencein interfaceExperimentMetadata- Returns:
- the reference option
-
getModel
public String getModel()
Description copied from interface:ExperimentMetadataGet the model DEseq2 option.- Specified by:
getModelin interfaceExperimentMetadata- Returns:
- the model DEseq2 option
-
isContrast
public boolean isContrast()
Description copied from interface:ExperimentMetadataGet the contrast DEseq2 option.- Specified by:
isContrastin interfaceExperimentMetadata- Returns:
- the contrast DEseq2 option
-
isBuildContrast
public boolean isBuildContrast()
Description copied from interface:ExperimentMetadataGet the buildContrast DEseq2 option.- Specified by:
isBuildContrastin interfaceExperimentMetadata- Returns:
- the buildContrast DEseq2 option
-
getDesignFile
public String getDesignFile()
Description copied from interface:ExperimentMetadataGet the designFile DEseq2 option.- Specified by:
getDesignFilein interfaceExperimentMetadata- Returns:
- the designFile DEseq2 option
-
getComparisons
public String getComparisons()
Description copied from interface:ExperimentMetadataGet the comparisons DEseq2 option.- Specified by:
getComparisonsin interfaceExperimentMetadata- Returns:
- the comparisons DEseq2 option
-
getContrastFile
public String getContrastFile()
Description copied from interface:ExperimentMetadataGet the contrastFile DEseq2 option.- Specified by:
getContrastFilein interfaceExperimentMetadata- Returns:
- the contrastFile DEseq2 option
-
setSkip
public void setSkip(boolean newSkip)
Description copied from interface:ExperimentMetadataSet the skip option.- Specified by:
setSkipin interfaceExperimentMetadata- Parameters:
newSkip- the new skip option
-
setReference
public void setReference(String newReference)
Description copied from interface:ExperimentMetadataSet the reference option.- Specified by:
setReferencein interfaceExperimentMetadata- Parameters:
newReference- the new reference option
-
setModel
public void setModel(String newModel)
Description copied from interface:ExperimentMetadataSet the model DEseq2 option.- Specified by:
setModelin interfaceExperimentMetadata- Parameters:
newModel- the new model DEseq2 option
-
setContrast
public void setContrast(boolean newContrast)
Description copied from interface:ExperimentMetadataSet the contrast DEseq2 option.- Specified by:
setContrastin interfaceExperimentMetadata- Parameters:
newContrast- the new contrast DEseq2 option
-
setBuildContrast
public void setBuildContrast(boolean newBuildContrast)
Description copied from interface:ExperimentMetadataSet the buildContrast DEseq2 option.- Specified by:
setBuildContrastin interfaceExperimentMetadata- Parameters:
newBuildContrast- the new buildContrast DEseq2 option
-
setDesignFile
public void setDesignFile(String newDesignFile)
Description copied from interface:ExperimentMetadataSet the designFile DEseq2 option.- Specified by:
setDesignFilein interfaceExperimentMetadata- Parameters:
newDesignFile- the new designFile DEseq2 option
-
setComparisons
public void setComparisons(String newComparisons)
Description copied from interface:ExperimentMetadataSet the comparisons DEseq2 option.- Specified by:
setComparisonsin interfaceExperimentMetadata- Parameters:
newComparisons- the new comparisons DEseq2 option
-
setContrastFile
public void setContrastFile(String newContrastFile)
Description copied from interface:ExperimentMetadataSet the contrastFile DEseq2 option.- Specified by:
setContrastFilein interfaceExperimentMetadata- Parameters:
newContrastFile- the new contrastFile DEseq2 option
-
containsSkip
public boolean containsSkip()
Description copied from interface:ExperimentMetadataTest if the skip option exists.- Specified by:
containsSkipin interfaceExperimentMetadata- Returns:
- true if the skip option exists
-
containsReference
public boolean containsReference()
Description copied from interface:ExperimentMetadataTest if the reference option exists.- Specified by:
containsReferencein interfaceExperimentMetadata- Returns:
- true if the reference option exists
-
containsModel
public boolean containsModel()
Description copied from interface:ExperimentMetadataTest if the model option exists.- Specified by:
containsModelin interfaceExperimentMetadata- Returns:
- true if the model option exists
-
containsContrast
public boolean containsContrast()
Description copied from interface:ExperimentMetadataTest if the contrast option exists.- Specified by:
containsContrastin interfaceExperimentMetadata- Returns:
- true if the contrast option exists
-
containsBuildContrast
public boolean containsBuildContrast()
Description copied from interface:ExperimentMetadataTest if the buildContrast option exists.- Specified by:
containsBuildContrastin interfaceExperimentMetadata- Returns:
- true if the buildContrast option exists
-
containsDesignFile
public boolean containsDesignFile()
Description copied from interface:ExperimentMetadataTest if the designFile option exists.- Specified by:
containsDesignFilein interfaceExperimentMetadata- Returns:
- true if the designFile option exists
-
containsComparisons
public boolean containsComparisons()
Description copied from interface:ExperimentMetadataTest if the comparisons option exists.- Specified by:
containsComparisonsin interfaceExperimentMetadata- Returns:
- true if the comparisons option exists
-
containsContrastFile
public boolean containsContrastFile()
Description copied from interface:ExperimentMetadataTest if the contrastFile option exists.- Specified by:
containsContrastFilein interfaceExperimentMetadata- Returns:
- true if the contrastFile option exists
-
-