|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.data.converter.ConverterSpecification
public abstract class ConverterSpecification
A class for encapsulating converter specification. Contains information such as expected input data sets and the type of output data set.
Constructor Summary | |
---|---|
ConverterSpecification(List<ConverterInputEntry> inputEntries,
Type outputType)
Constructor. |
Method Summary | |
---|---|
abstract IConverter |
createConverter()
Creates a new instance of converter. |
boolean |
equals(Object that)
|
List<ConverterInputEntry> |
getInputEntries()
Returns a list of input entries expected by this converter. |
Type |
getOutputType()
Returns the type of conversion output data set. |
int |
hashCode()
|
MultiMap<ConverterInputEntry,IDataSet<IElement>> |
listToInputEntries(List<? extends IDataSet<? extends IElement>> dsList)
Converts a list of data sets into a map indexed by input entries. |
protected void |
setInputEntries(List<ConverterInputEntry> inputEntries)
|
protected void |
setOutputType(Type outputType)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConverterSpecification(List<ConverterInputEntry> inputEntries, Type outputType)
inputEntries
- a list of input entries expected by this converteroutputType
- the type of conversion output data setMethod Detail |
---|
public final List<ConverterInputEntry> getInputEntries()
public final Type getOutputType()
protected final void setInputEntries(List<ConverterInputEntry> inputEntries)
protected final void setOutputType(Type outputType)
public abstract IConverter createConverter()
public MultiMap<ConverterInputEntry,IDataSet<IElement>> listToInputEntries(List<? extends IDataSet<? extends IElement>> dsList)
dsList
- list of data sets
ConverterException
- if list conversion is not possiblepublic final boolean equals(Object that)
equals
in class Object
Object.equals(java.lang.Object)
public final int hashCode()
hashCode
in class Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |