|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.data.AbstractDataset
public abstract class AbstractDataset
Abstract base class for datasets.
Field Summary | |
---|---|
protected java.lang.String |
alias
|
protected java.util.Map<Variable,DataFrame> |
frames
|
protected java.util.Map<java.lang.String,Variable> |
varsByName
|
Constructor Summary | |
---|---|
AbstractDataset()
|
Method Summary | |
---|---|
protected void |
addVariable(Variable var)
|
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. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface anl.aida.data.Dataset |
---|
getName |
Field Detail |
---|
protected java.lang.String alias
protected java.util.Map<java.lang.String,Variable> varsByName
protected java.util.Map<Variable,DataFrame> frames
Constructor Detail |
---|
public AbstractDataset()
Method Detail |
---|
protected void addVariable(Variable var)
public Variable getVariable(java.lang.String name)
getVariable
in interface Dataset
name
- the variables name
public java.util.List<Variable> getVariables()
Dataset
getVariables
in interface Dataset
public java.lang.String getAlias()
Dataset
getAlias
in interface Dataset
public void setAlias(java.lang.String alias)
Dataset
setAlias
in interface Dataset
alias
- the new aliaspublic DataFrame getDataFrame(Variable var)
Dataset
getDataFrame
in interface Dataset
var
- the variable to get the DataFrame for
public Axes<CoordAxis> getAxes(Variable var)
Dataset
getAxes
in interface Dataset
var
- the variable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |