pl.edu.agh.cast.importer.base.general
Class SourceNodeSingleColumnConversionRule
java.lang.Object
pl.edu.agh.cast.importer.base.converter.rules.AbstractSingleColumnConversionRule
pl.edu.agh.cast.importer.base.converter.rules.AbstractStringSingleColumnConversionRule
pl.edu.agh.cast.importer.base.general.SourceNodeSingleColumnConversionRule
- All Implemented Interfaces:
- IConversionRule, ISourceNodeConversionRule
public class SourceNodeSingleColumnConversionRule
- extends AbstractStringSingleColumnConversionRule
- implements ISourceNodeConversionRule
Source node conversion rule for a single column.
- Author:
- AGH CAST Team
Field Summary |
static String |
RULE_ID
The extension name of this conversion rule. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RULE_ID
public static final String RULE_ID
- The extension name of this conversion rule.
- See Also:
- Constant Field Values
SourceNodeSingleColumnConversionRule
public SourceNodeSingleColumnConversionRule()
- The default constructor.
getSourceNode
public String getSourceNode(DataRow row)
throws ConversionRuleException,
IllegalArgumentException
- Retrieves the source node value for a specified data row.
- Specified by:
getSourceNode
in interface ISourceNodeConversionRule
- Parameters:
row
- the data row, from which to retrieve the source node
- Returns:
- source node value
- Throws:
ConversionRuleException
IllegalArgumentException
- See Also:
getSourceNode(pl.edu.agh.cast.importer.base.data.DataRow)
createCopy
public SourceNodeSingleColumnConversionRule createCopy()
- Creates a copy of the current conversion rule.
- Specified by:
createCopy
in interface IConversionRule
- Returns:
- conversion rule of the same type and parameters set
- See Also:
IConversionRule.createCopy()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.