public abstract class Campaign
extends java.lang.Object
Constructor and Description |
---|
Campaign()
Default constructor.
|
Campaign(int campaign_id,
java.lang.String name,
java.lang.String path)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addKnownPath(java.lang.String path)
Add a path to the list from which this campaign has been loaded.
|
Point2D |
getAverage_location() |
java.lang.String |
getDescription()
Get the campaign description.
|
int |
getId()
Get the campaign identifier.
|
java.lang.String |
getInvestigator()
Get the campaign investigator.
|
java.util.ArrayList<java.lang.String> |
getKnownPaths()
Get the list of paths from which this campaign has been loaded.
|
float |
getMetadata_space_density() |
java.lang.String |
getName()
Get the campaign name.
|
int |
getNumber_of_spectra() |
java.lang.String |
getPath()
Get the path to the campaign's data.
|
ResearchGroup |
getResearchGroup()
Get the research group.
|
int |
getResearchGroupId() |
abstract java.lang.String |
getType()
Get the campaign type.
|
int |
getUser_id() |
User |
getUser()
Get the campaign user.
|
boolean |
isMetadata_details_loaded() |
void |
setAverage_location(Point2D average_location) |
void |
setDescription(java.lang.String description)
Set the campaign description.
|
void |
setId(int campaign_id)
Set the campaign identifier.
|
void |
setInvestigator(java.lang.String investigator)
Set the campaign investigator.
|
void |
setKnownPaths(java.util.ArrayList<java.lang.String> paths)
Set the list of paths from which this campaign has been loaded.
|
void |
setMetadata_details_loaded(boolean metadata_details_loaded) |
void |
setMetadata_space_density(float metadata_space_density) |
void |
setName(java.lang.String name)
Set the campaign name.
|
void |
setNumber_of_spectra(int number_of_spectra) |
void |
setPath(java.lang.String path)
Set the path to the campaign data.
|
void |
setResearchGroup(ResearchGroup research_group)
Set the research group.
|
void |
setResearchGroupId(int researchGroupId) |
void |
setUser_id(int user_id) |
void |
setUser(User user)
Set the campaign user.
|
java.lang.String |
toString()
Get a string that represents the campaign.
|
public Campaign()
public Campaign(int campaign_id, java.lang.String name, java.lang.String path)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description of the campaignpublic int getId()
public void setId(int campaign_id)
campaign_id
- campaign identifierpublic java.lang.String getInvestigator()
public void setInvestigator(java.lang.String investigator)
investigator
- the investigator of the campaignpublic User getUser()
public void setUser(User user)
user
- the user of the campaignpublic java.util.ArrayList<java.lang.String> getKnownPaths()
public void setKnownPaths(java.util.ArrayList<java.lang.String> paths)
paths
- the list of pathspublic void addKnownPath(java.lang.String path)
path
- the new pathpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the campaignpublic java.lang.String getPath()
public void setPath(java.lang.String path)
path
- the path to the campaign datapublic ResearchGroup getResearchGroup()
public void setResearchGroup(ResearchGroup research_group)
research_group
- the research grouppublic abstract java.lang.String getType()
public java.lang.String toString()
toString
in class java.lang.Object
public int getUser_id()
public void setUser_id(int user_id)
public int getResearchGroupId()
public void setResearchGroupId(int researchGroupId)
public int getNumber_of_spectra()
public void setNumber_of_spectra(int number_of_spectra)
public float getMetadata_space_density()
public void setMetadata_space_density(float metadata_space_density)
public Point2D getAverage_location()
public void setAverage_location(Point2D average_location)
public boolean isMetadata_details_loaded()
public void setMetadata_details_loaded(boolean metadata_details_loaded)