Class CopyTable2ProcessParametersImpl
java.lang.Object
org.gvsig.tools.dispose.impl.AbstractDisposable
org.gvsig.app.extension.copytable.CopyTable2ProcessParametersImpl
- All Implemented Interfaces:
Iterable<CopyTable2ProcessParameters.ProcessFieldParameters>,CopyTable2ProcessParameters,org.gvsig.tools.dispose.Disposable,org.gvsig.tools.persistence.Persistent
public class CopyTable2ProcessParametersImpl
extends org.gvsig.tools.dispose.impl.AbstractDisposable
implements CopyTable2ProcessParameters
- Author:
- jjdelcerro
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface org.gvsig.app.extension.copytable.CopyTable2ProcessParameters
CopyTable2ProcessParameters.ProcessFieldParameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidintintorg.gvsig.expressionevaluator.Expressionorg.gvsig.expressionevaluator.Expressionorg.gvsig.fmap.dal.feature.FeatureStoreorg.gvsig.fmap.dal.feature.FeatureStoreorg.gvsig.expressionevaluator.Expressionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleaniterator()voidloadFromState(org.gvsig.tools.persistence.PersistentState state) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) static voidsetBeginEditIfNeed(boolean beginEditIfNeed) setDeleteIfNotExiststInSourceActive(boolean active) setEditMode(int editMode) setFinishAndRestarEdit(boolean finishAndRestarEdit) setFinishAndRestarEditEach(int finishAndRestarEditEach) setFinishEditAfterTerminate(boolean finishEditAfterTerminate) setInsertIfNotExistsTargetActive(boolean active) setJoinExpression(org.gvsig.expressionevaluator.Expression join) setMustUpdateIfSourceAndTargetAreNotEquals(boolean update) setNotifyUserIfNeedBeginEditing(boolean notifyUserIfNeedBeginEditing) setSourceFieldForJoin(String fieldName) setSourceFilter(org.gvsig.expressionevaluator.Expression filter) setSourceStore(org.gvsig.fmap.dal.feature.FeatureStore store) setTargetFieldForJoin(String fieldName) setTargetStore(org.gvsig.fmap.dal.feature.FeatureStore store) setUpdateIfExistsInTargetCondition(org.gvsig.expressionevaluator.Expression condition) setUpdateIfExistsTargetActive(boolean active) toString()Methods inherited from class org.gvsig.tools.dispose.impl.AbstractDisposable
dispose, disposeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CopyTable2ProcessParametersImpl
public CopyTable2ProcessParametersImpl()
-
-
Method Details
-
doDispose
protected void doDispose() throws org.gvsig.tools.exception.BaseException- Specified by:
doDisposein classorg.gvsig.tools.dispose.impl.AbstractDisposable- Throws:
org.gvsig.tools.exception.BaseException
-
add
public CopyTable2ProcessParameters add(String name, boolean copyField, org.gvsig.expressionevaluator.Expression expression) - Specified by:
addin interfaceCopyTable2ProcessParameters
-
get
- Specified by:
getin interfaceCopyTable2ProcessParameters
-
iterator
- Specified by:
iteratorin interfaceCopyTable2ProcessParameters- Specified by:
iteratorin interfaceIterable<CopyTable2ProcessParameters.ProcessFieldParameters>
-
setSourceStore
- Specified by:
setSourceStorein interfaceCopyTable2ProcessParameters
-
getSourceStore
public org.gvsig.fmap.dal.feature.FeatureStore getSourceStore()- Specified by:
getSourceStorein interfaceCopyTable2ProcessParameters
-
getSourceFilter
public org.gvsig.expressionevaluator.Expression getSourceFilter()- Specified by:
getSourceFilterin interfaceCopyTable2ProcessParameters- Returns:
- the filter
-
setSourceFilter
- Specified by:
setSourceFilterin interfaceCopyTable2ProcessParameters- Parameters:
filter- the filter to set- Returns:
-
getEditMode
public int getEditMode()- Specified by:
getEditModein interfaceCopyTable2ProcessParameters- Returns:
- the editMode
-
setEditMode
- Specified by:
setEditModein interfaceCopyTable2ProcessParameters- Parameters:
editMode- the editMode to set- Returns:
-
getFinishAndRestarEditEach
public int getFinishAndRestarEditEach()- Specified by:
getFinishAndRestarEditEachin interfaceCopyTable2ProcessParameters- Returns:
- the finishAndRestarEditEach
-
setFinishAndRestarEditEach
- Specified by:
setFinishAndRestarEditEachin interfaceCopyTable2ProcessParameters- Parameters:
finishAndRestarEditEach- the finishAndRestarEditEach to set- Returns:
-
isBeginEditIfNeed
public boolean isBeginEditIfNeed()- Specified by:
isBeginEditIfNeedin interfaceCopyTable2ProcessParameters- Returns:
- the beginEditIfNeed
-
setBeginEditIfNeed
- Specified by:
setBeginEditIfNeedin interfaceCopyTable2ProcessParameters- Parameters:
beginEditIfNeed- the beginEditIfNeed to set- Returns:
-
isFinishEditAfterTerminate
public boolean isFinishEditAfterTerminate()- Specified by:
isFinishEditAfterTerminatein interfaceCopyTable2ProcessParameters- Returns:
- the finishEditAfterTerminate
-
setFinishEditAfterTerminate
- Specified by:
setFinishEditAfterTerminatein interfaceCopyTable2ProcessParameters- Parameters:
finishEditAfterTerminate- the finishEditAfterTerminate to set- Returns:
-
isNotifyUserIfNeedBeginEditing
public boolean isNotifyUserIfNeedBeginEditing()- Specified by:
isNotifyUserIfNeedBeginEditingin interfaceCopyTable2ProcessParameters- Returns:
- the notifyUserIfNeedBeginEditing
-
setNotifyUserIfNeedBeginEditing
public CopyTable2ProcessParameters setNotifyUserIfNeedBeginEditing(boolean notifyUserIfNeedBeginEditing) - Specified by:
setNotifyUserIfNeedBeginEditingin interfaceCopyTable2ProcessParameters- Parameters:
notifyUserIfNeedBeginEditing- the notifyUserIfNeedBeginEditing to set- Returns:
-
isFinishAndRestarEdit
public boolean isFinishAndRestarEdit()- Specified by:
isFinishAndRestarEditin interfaceCopyTable2ProcessParameters- Returns:
- the finishAndRestarEdit
-
setFinishAndRestarEdit
- Specified by:
setFinishAndRestarEditin interfaceCopyTable2ProcessParameters- Parameters:
finishAndRestarEdit- the finishAndRestarEdit to set- Returns:
-
getTargetStore
public org.gvsig.fmap.dal.feature.FeatureStore getTargetStore()- Specified by:
getTargetStorein interfaceCopyTable2ProcessParameters
-
isInsertIfNotExistsTargetActive
public boolean isInsertIfNotExistsTargetActive()- Specified by:
isInsertIfNotExistsTargetActivein interfaceCopyTable2ProcessParameters
-
isUpdateIfExistsTargetActive
public boolean isUpdateIfExistsTargetActive()- Specified by:
isUpdateIfExistsTargetActivein interfaceCopyTable2ProcessParameters
-
isDeleteIfNotExiststInSourceActive
public boolean isDeleteIfNotExiststInSourceActive()- Specified by:
isDeleteIfNotExiststInSourceActivein interfaceCopyTable2ProcessParameters
-
getSourceFieldForJoin
- Specified by:
getSourceFieldForJoinin interfaceCopyTable2ProcessParameters
-
getTargetFieldForJoin
- Specified by:
getTargetFieldForJoinin interfaceCopyTable2ProcessParameters
-
getUpdateIfExistsInTargetCondition
public org.gvsig.expressionevaluator.Expression getUpdateIfExistsInTargetCondition()- Specified by:
getUpdateIfExistsInTargetConditionin interfaceCopyTable2ProcessParameters
-
setTargetStore
- Specified by:
setTargetStorein interfaceCopyTable2ProcessParameters
-
setInsertIfNotExistsTargetActive
- Specified by:
setInsertIfNotExistsTargetActivein interfaceCopyTable2ProcessParameters
-
setUpdateIfExistsTargetActive
- Specified by:
setUpdateIfExistsTargetActivein interfaceCopyTable2ProcessParameters
-
setSourceFieldForJoin
- Specified by:
setSourceFieldForJoinin interfaceCopyTable2ProcessParameters
-
setTargetFieldForJoin
- Specified by:
setTargetFieldForJoinin interfaceCopyTable2ProcessParameters
-
setUpdateIfExistsInTargetCondition
public CopyTable2ProcessParameters setUpdateIfExistsInTargetCondition(org.gvsig.expressionevaluator.Expression condition) - Specified by:
setUpdateIfExistsInTargetConditionin interfaceCopyTable2ProcessParameters
-
setDeleteIfNotExiststInSourceActive
- Specified by:
setDeleteIfNotExiststInSourceActivein interfaceCopyTable2ProcessParameters
-
saveToState
public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
saveToStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
loadFromState
public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
loadFromStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
selfRegister
public static void selfRegister() -
toString
-
getJoinExpression
public org.gvsig.expressionevaluator.Expression getJoinExpression()- Specified by:
getJoinExpressionin interfaceCopyTable2ProcessParameters
-
setJoinExpression
- Specified by:
setJoinExpressionin interfaceCopyTable2ProcessParameters
-
isMustUpdateWhenSourceAndTargetAreNotEquals
public boolean isMustUpdateWhenSourceAndTargetAreNotEquals()- Specified by:
isMustUpdateWhenSourceAndTargetAreNotEqualsin interfaceCopyTable2ProcessParameters
-
setMustUpdateIfSourceAndTargetAreNotEquals
- Specified by:
setMustUpdateIfSourceAndTargetAreNotEqualsin interfaceCopyTable2ProcessParameters
-