Package com.axelor.data.export
Class Importer.ImportSource
java.lang.Object
com.axelor.data.export.Importer.ImportSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(List<Importer.ImportSource> sources) booleangetModel()getName()inthashCode()booleanresolve()static List<Importer.ImportSource> sorted(List<Importer.ImportSource> sources) Sort the given sources in topological order.toString()
-
Constructor Details
-
ImportSource
-
-
Method Details
-
getName
-
isCollection
public boolean isCollection() -
getColumns
-
getMapping
-
getModel
-
getJsonModel
-
getTargetKey
-
getTargetField
-
getTargetJsonField
-
resolve
-
findFields
-
check
-
hashCode
public int hashCode() -
equals
-
toString
-
sorted
Sort the given sources in topological order.If there is dependency cycle, it can't sort by a true topological order but will order the sources with least dependencies first.
- Parameters:
sources- the sources to sort- Returns:
- sorted sources
-