Class UnmodifiableExperimentSampleMetadata
java.lang.Object
fr.ens.biologie.genomique.eoulsan.design.UnmodifiableExperimentSampleMetadata
- All Implemented Interfaces:
ExperimentSampleMetadata,Metadata,Serializable
public class UnmodifiableExperimentSampleMetadata
extends Object
implements ExperimentSampleMetadata, Serializable
- See Also:
-
Field Summary
Fields inherited from interface fr.ens.biologie.genomique.eoulsan.design.ExperimentSampleMetadata
CONDITION_KEY, REFERENCE_KEY, REP_TECH_GROUP_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest if the key is in md.booleanTest if the condition field exists.booleanTest if the reference field exists.booleanTest if the RepTechGroup field exists.entrySet()Get an entry set of the metadata.booleanGet the value according the key.booleangetAsBoolean(String key) Get the value according the key as a boolean.Get the value according the key as a list.Get the condition.Get the reference.Get the RepTechGroup.getTrimmed(String key) Get the trimmed value according the key.inthashCode()booleanisEmpty()Test if there is no metadata.booleanGet the reference.keySet()Get the keys of the metadatavoidRemove the value according the key.voidSet the value according the key.voidSet the value as a list according the key.voidsetCondition(String newCondition) Set the condition.voidsetReference(boolean newReference) Set the reference.voidsetReference(String newReference) Set the reference.voidsetRepTechGroup(String newReptechGroup) Set the ReptechGroup.intsize()Get the number of metadata.
-
Constructor Details
-
UnmodifiableExperimentSampleMetadata
-
-
Method Details
-
get
Description copied from interface:MetadataGet the value according the key. -
getTrimmed
Description copied from interface:MetadataGet the trimmed value according the key.- Specified by:
getTrimmedin interfaceMetadata- Parameters:
key- the key- Returns:
- the value
-
set
Description copied from interface:MetadataSet the value according the key. -
set
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
Description copied from interface:MetadataTest if the key is in md. -
getAsList
Description copied from interface:MetadataGet the value according the key as a list. -
getAsBoolean
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
Description copied from interface:MetadataGet the keys of the metadata -
entrySet
Description copied from interface:MetadataGet an entry set of the metadata. -
remove
Description copied from interface:MetadataRemove the value according the key. -
getRepTechGroup
Description copied from interface:ExperimentSampleMetadataGet the RepTechGroup.- Specified by:
getRepTechGroupin interfaceExperimentSampleMetadata- Returns:
- the RepTechGroup
-
getReference
Description copied from interface:ExperimentSampleMetadataGet the reference.- Specified by:
getReferencein interfaceExperimentSampleMetadata- Returns:
- the reference
-
isReference
public boolean isReference()Description copied from interface:ExperimentSampleMetadataGet the reference.- Specified by:
isReferencein interfaceExperimentSampleMetadata- Returns:
- the reference
-
getCondition
Description copied from interface:ExperimentSampleMetadataGet the condition.- Specified by:
getConditionin interfaceExperimentSampleMetadata- Returns:
- the condition
-
setRepTechGroup
Description copied from interface:ExperimentSampleMetadataSet the ReptechGroup.- Specified by:
setRepTechGroupin interfaceExperimentSampleMetadata- Parameters:
newReptechGroup- the new ReptechGroup
-
setReference
public void setReference(boolean newReference) Description copied from interface:ExperimentSampleMetadataSet the reference.- Specified by:
setReferencein interfaceExperimentSampleMetadata- Parameters:
newReference- the new reference
-
setReference
Description copied from interface:ExperimentSampleMetadataSet the reference.- Specified by:
setReferencein interfaceExperimentSampleMetadata- Parameters:
newReference- the new reference
-
setCondition
Description copied from interface:ExperimentSampleMetadataSet the condition.- Specified by:
setConditionin interfaceExperimentSampleMetadata- Parameters:
newCondition- the new condition
-
containsRepTechGroup
public boolean containsRepTechGroup()Description copied from interface:ExperimentSampleMetadataTest if the RepTechGroup field exists.- Specified by:
containsRepTechGroupin interfaceExperimentSampleMetadata- Returns:
- true if the RepTechGroup field exists
-
containsReference
public boolean containsReference()Description copied from interface:ExperimentSampleMetadataTest if the reference field exists.- Specified by:
containsReferencein interfaceExperimentSampleMetadata- Returns:
- true if the reference field exists
-
containsCondition
public boolean containsCondition()Description copied from interface:ExperimentSampleMetadataTest if the condition field exists.- Specified by:
containsConditionin interfaceExperimentSampleMetadata- Returns:
- true if the condition field exists
-
hashCode
public int hashCode() -
equals
-