public class GenePreferences extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
GENE_MAPPING_FILE_SUFFIX
Deprecated.
use the gene factory.
|
static String |
GO_MAPPING_FILE_SUFFIX
Deprecated.
use the gene factory.
|
Constructor and Description |
---|
GenePreferences()
Create a new GenePreferences object.
|
GenePreferences(GenePreferences genePreferences)
Creates new gene preferences based on a GenePreferences object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(GenePreferences genePreferences)
Compares these preferences to other preferences.
|
Boolean |
getAutoUpdate()
Indicates whether the gene mappings should be automatically updated.
|
Integer |
getSelectedBackgroundSpecies()
Returns the taxon of the species selected as background species.
|
String |
getShortDescription()
Returns a short description of the parameters.
|
Boolean |
getUseGeneMapping()
Returns a boolean indicating whether gene mappings should be used.
|
void |
setAutoUpdate(Boolean autoUpdate)
Sets whether the gene mappings should be automatically updated.
|
void |
setPreferencesFromSearchParameters(SearchParameters searchParameters)
Sets the preferences from the given search parameters.
|
void |
setSelectedBackgroundSpecies(Integer selectedBackgroundSpecies)
Sets the taxon of the species selected as background species.
|
void |
setUseGeneMapping(Boolean useGeneMapping)
Sets whether gene mappings should be used.
|
public static final String GENE_MAPPING_FILE_SUFFIX
public static final String GO_MAPPING_FILE_SUFFIX
public GenePreferences()
public GenePreferences(GenePreferences genePreferences)
genePreferences
- the gene preferencespublic Boolean getUseGeneMapping()
public void setUseGeneMapping(Boolean useGeneMapping)
useGeneMapping
- a boolean indicating whether gene mappings should
be usedpublic Boolean getAutoUpdate()
public void setAutoUpdate(Boolean autoUpdate)
autoUpdate
- a boolean indicating whether the gene mappings should
be automatically updatedpublic boolean equals(GenePreferences genePreferences)
genePreferences
- other preferences to compare to.public Integer getSelectedBackgroundSpecies()
public void setSelectedBackgroundSpecies(Integer selectedBackgroundSpecies)
selectedBackgroundSpecies
- the taxon of the species selected as
background speciespublic void setPreferencesFromSearchParameters(SearchParameters searchParameters)
searchParameters
- the search parameterspublic String getShortDescription()
Copyright © 2016. All rights reserved.