|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.importer.base.converter.rules.AbstractSingleColumnConversionRule
public abstract class AbstractSingleColumnConversionRule
Abstract class for all single column conversion rules.
Field Summary | |
---|---|
protected int |
columnIndex
Index of the column, whose value is to be retrieved and returned as an appropriate type. |
Constructor Summary | |
---|---|
AbstractSingleColumnConversionRule()
The default constructor. |
Method Summary | |
---|---|
void |
clear()
Clears the conversion rule's configuration. |
protected void |
copyFields(AbstractSingleColumnConversionRule copy)
Copies all required fields of AbstractSingleColumnConversionRule to the given instance of conversion
rule. |
int |
getColumnIndex()
|
String |
getFormat()
Retrieves the domain field format. |
boolean |
isComplete()
Checks whether current conversion rule is fully configured - all necessary parameters are present and the the conversion process can be performed. |
void |
setColumnIndex(int columnIdx)
|
void |
setFormat(String format)
Sets the domain field format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface pl.edu.agh.cast.importer.base.converter.rules.IConversionRule |
---|
createCopy |
Field Detail |
---|
protected int columnIndex
Constructor Detail |
---|
public AbstractSingleColumnConversionRule()
Method Detail |
---|
public void clear()
clear
in interface IConversionRule
IConversionRule.clear()
public boolean isComplete()
isComplete
in interface IConversionRule
IConversionRule.isComplete()
public void setFormat(String format)
setFormat
in interface IConversionRule
format
- the field formatIConversionRule.setFormat(java.lang.String)
public String getFormat()
getFormat
in interface IConversionRule
pl.edu.agh.cast.importer.base.converter.rules.IConversionRule#getFormats()
public void setColumnIndex(int columnIdx)
public int getColumnIndex()
protected void copyFields(AbstractSingleColumnConversionRule copy)
AbstractSingleColumnConversionRule
to the given instance of conversion
rule.
copy
- a conversion rule instance which is to be copy of this rule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |