Class DesignMetadataImpl
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.design.AbstractMetadata
-
- fr.ens.biologie.genomique.eoulsan.design.DesignMetadataImpl
-
- All Implemented Interfaces:
DesignMetadata
,Metadata
,Serializable
public class DesignMetadataImpl extends AbstractMetadata implements Serializable, DesignMetadata
This class defines the default implementation of the design metadata.- Since:
- 2.0
- Author:
- Xavier Bauquet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface fr.ens.biologie.genomique.eoulsan.design.DesignMetadata
ADDITIONAL_ANNOTATION_FILE_KEY, GENOME_FILE_KEY, GFF_FILE_KEY, GTF_FILE_KEY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsAdditionalAnnotationFile()
Test if the additional annotation file field exists.boolean
containsGenomeFile()
Test if the genomeFile field exists.boolean
containsGffFile()
Test if the gffFile field exists.boolean
containsGtfFile()
Test if the gtfFile field exists.String
getAdditionalAnnotationFile()
Get the additional annotation file.String
getGenomeFile()
Get the genome file.String
getGffFile()
Get the GFF file.String
getGtfFile()
Get the GTF file.void
setAdditionalAnnotationFile(String newAdditionalAnotationFile)
Set the additional annotation file.void
setGenomeFile(String newGenomeFile)
Set the genome file.void
setGffFile(String newGffFile)
Set the gff file.void
setGtfFile(String newGtfFile)
Set the gff file.-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.design.AbstractMetadata
contains, entrySet, equals, get, getAsBoolean, getAsList, getTrimmed, hashCode, isEmpty, keySet, remove, set, set, size, toString
-
-
-
-
Method Detail
-
getGenomeFile
public String getGenomeFile()
Description copied from interface:DesignMetadata
Get the genome file.- Specified by:
getGenomeFile
in interfaceDesignMetadata
- Returns:
- the genome file
-
getGffFile
public String getGffFile()
Description copied from interface:DesignMetadata
Get the GFF file.- Specified by:
getGffFile
in interfaceDesignMetadata
- Returns:
- the GFF file
-
getGtfFile
public String getGtfFile()
Description copied from interface:DesignMetadata
Get the GTF file.- Specified by:
getGtfFile
in interfaceDesignMetadata
- Returns:
- the GTF file
-
getAdditionalAnnotationFile
public String getAdditionalAnnotationFile()
Description copied from interface:DesignMetadata
Get the additional annotation file.- Specified by:
getAdditionalAnnotationFile
in interfaceDesignMetadata
- Returns:
- the additional annotation file
-
setGenomeFile
public void setGenomeFile(String newGenomeFile)
Description copied from interface:DesignMetadata
Set the genome file.- Specified by:
setGenomeFile
in interfaceDesignMetadata
- Parameters:
newGenomeFile
- the new genome file
-
setGffFile
public void setGffFile(String newGffFile)
Description copied from interface:DesignMetadata
Set the gff file.- Specified by:
setGffFile
in interfaceDesignMetadata
- Parameters:
newGffFile
- the new GFF file
-
setGtfFile
public void setGtfFile(String newGtfFile)
Description copied from interface:DesignMetadata
Set the gff file.- Specified by:
setGtfFile
in interfaceDesignMetadata
- Parameters:
newGtfFile
- the new GTF file
-
setAdditionalAnnotationFile
public void setAdditionalAnnotationFile(String newAdditionalAnotationFile)
Description copied from interface:DesignMetadata
Set the additional annotation file.- Specified by:
setAdditionalAnnotationFile
in interfaceDesignMetadata
- Parameters:
newAdditionalAnotationFile
- the new additional annotation file
-
containsGenomeFile
public boolean containsGenomeFile()
Description copied from interface:DesignMetadata
Test if the genomeFile field exists.- Specified by:
containsGenomeFile
in interfaceDesignMetadata
- Returns:
- true if the genomeFile field exists
-
containsGffFile
public boolean containsGffFile()
Description copied from interface:DesignMetadata
Test if the gffFile field exists.- Specified by:
containsGffFile
in interfaceDesignMetadata
- Returns:
- the gffFile field exists
-
containsGtfFile
public boolean containsGtfFile()
Description copied from interface:DesignMetadata
Test if the gtfFile field exists.- Specified by:
containsGtfFile
in interfaceDesignMetadata
- Returns:
- the gtfFile field exists
-
containsAdditionalAnnotationFile
public boolean containsAdditionalAnnotationFile()
Description copied from interface:DesignMetadata
Test if the additional annotation file field exists.- Specified by:
containsAdditionalAnnotationFile
in interfaceDesignMetadata
- Returns:
- the additional annotation file field exists
-
-