Package adams.flow.container
Class FeatureConverterContainer
- java.lang.Object
-
- adams.flow.container.AbstractContainer
-
- adams.flow.container.FeatureConverterContainer
-
- All Implemented Interfaces:
CloneHandler<Container>
,GlobalInfoSupporter
,SpreadSheetSupporter
,Container
,Serializable
public class FeatureConverterContainer extends AbstractContainer
A container for a feature converter's raw output (header/row data).- Version:
- $Revision: 10096 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
VALUE_HEADER
the identifier for the Header.static String
VALUE_ROW
the identifier for the Row.-
Fields inherited from class adams.flow.container.AbstractContainer
m_AdditionalNames, m_Help, m_Values
-
-
Constructor Summary
Constructors Constructor Description FeatureConverterContainer()
Initializes the container with empty header and no row.FeatureConverterContainer(HeaderDefinition header, List row)
Initializes the container with the specified plot name and no X value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initHelp()
Initializes the help strings.boolean
isValid()
Checks whether the setup of the container is valid.Iterator<String>
names()
Returns all value names that can be used (theoretically).-
Methods inherited from class adams.flow.container.AbstractContainer
addAdditionalName, addHelp, addHelp, addHelp, checkDefaultConstructor, getClone, getHelp, getValue, getValue, globalInfo, hasHelp, hasValue, isValidName, removeAdditionalName, setValue, store, stored, toSpreadSheet, toString
-
-
-
-
Field Detail
-
VALUE_HEADER
public static final String VALUE_HEADER
the identifier for the Header.- See Also:
- Constant Field Values
-
VALUE_ROW
public static final String VALUE_ROW
the identifier for the Row.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FeatureConverterContainer
public FeatureConverterContainer()
Initializes the container with empty header and no row.
Only used for generating help information.
-
FeatureConverterContainer
public FeatureConverterContainer(HeaderDefinition header, List row)
Initializes the container with the specified plot name and no X value.- Parameters:
header
- the header definitionrow
- the data row, can be null
-
-
Method Detail
-
initHelp
protected void initHelp()
Initializes the help strings.- Overrides:
initHelp
in classAbstractContainer
-
names
public Iterator<String> names()
Returns all value names that can be used (theoretically).- Specified by:
names
in interfaceContainer
- Specified by:
names
in classAbstractContainer
- Returns:
- enumeration over all possible value names
-
isValid
public boolean isValid()
Checks whether the setup of the container is valid.- Specified by:
isValid
in interfaceContainer
- Specified by:
isValid
in classAbstractContainer
- Returns:
- true if all the necessary values are available
-
-