anl.aida.data
Interface Dataset

All Known Implementing Classes:
AbstractDataset

public interface Dataset

Interface for classes that function as sources / sets of data.


Method Summary
 java.lang.String getAlias()
          Gets the alias of this dataset.
 Axes<CoordAxis> getAxes(Variable var)
          Gets the specified variable's dimensional axes.
 DataFrame getDataFrame(Variable var)
          Gets a DataFrame for the specified variable.
 java.lang.String getName()
          Gets the name of the dataset.
 Variable getVariable(java.lang.String name)
          Gets the named variable.
 java.util.List<Variable> getVariables()
          Gets the list of variables in this dataset.
 void setAlias(java.lang.String alias)
          Sets the alias of this Dataset.
 

Method Detail

getName

java.lang.String getName()
Gets the name of the dataset.

Returns:
the name of the dataset.

getVariable

Variable getVariable(java.lang.String name)
Gets the named variable.

Parameters:
name - the variables name
Returns:
the named variable.

getAlias

java.lang.String getAlias()
Gets the alias of this dataset.

Returns:
the alias of this dataset

setAlias

void setAlias(java.lang.String alias)
Sets the alias of this Dataset.

Parameters:
alias - the new alias

getVariables

java.util.List<Variable> getVariables()
Gets the list of variables in this dataset.

Returns:
the list of variables in this dataset.

getDataFrame

DataFrame getDataFrame(Variable var)
Gets a DataFrame for the specified variable.

Parameters:
var - the variable to get the DataFrame for
Returns:
a DataFrame for the specified variable.

getAxes

Axes<CoordAxis> getAxes(Variable var)
Gets the specified variable's dimensional axes.

Parameters:
var - the variable
Returns:
the specified variable's dimensional axes.