Package fr.ifremer.isisfish.entities
Class RegionImportJson.RegionMergeDatabase.RegionMergeContext
java.lang.Object
fr.ifremer.isisfish.entities.RegionImportJson.RegionMergeDatabase.RegionMergeContext
- Enclosing class:
- RegionImportJson.RegionMergeDatabase
Object used to keep recurent answer (abort, import All, reuse All, ...)
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected Class
protected RegionImportJson.RegionMerge.AnswerType
protected EnumSet<RegionImportJson.RegionMerge.AnswerType>
protected HashMap<RegionImportJson.RegionMerge.AnswerType,
Set<Class>> protected org.nuiton.topia.persistence.TopiaEntity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninitAnswer
(Class type) initAnswer
(Class type, Set<org.nuiton.topia.persistence.TopiaEntity> possible) protected void
setLastAnswer
(RegionImportJson.RegionMerge.AnswerType lastAnswer, RegionImportJson.RegionMerge.AutoAnswerType autoType) protected void
setLastAnswer
(RegionImportJson.RegionMerge.AnswerType lastAnswer, RegionImportJson.RegionMerge.AutoAnswerType autoType, org.nuiton.topia.persistence.TopiaEntity e)
-
Field Details
-
abort
protected boolean abort -
replyAll
-
replyType
-
lastAnswerType
-
reuseEntity
protected org.nuiton.topia.persistence.TopiaEntity reuseEntity -
currentType
-
-
Constructor Details
-
RegionMergeContext
public RegionMergeContext() -
RegionMergeContext
public RegionMergeContext(boolean importAll)
-
-
Method Details
-
getAnswer
-
getCurrentType
-
setLastAnswer
protected void setLastAnswer(RegionImportJson.RegionMerge.AnswerType lastAnswer, RegionImportJson.RegionMerge.AutoAnswerType autoType) -
setLastAnswer
protected void setLastAnswer(RegionImportJson.RegionMerge.AnswerType lastAnswer, RegionImportJson.RegionMerge.AutoAnswerType autoType, org.nuiton.topia.persistence.TopiaEntity e) -
initAnswer
-
initAnswer
public RegionImportJson.RegionMerge.AnswerType initAnswer(Class type, Set<org.nuiton.topia.persistence.TopiaEntity> possible)
-