Package org.gvsig.export.jdbc.service
Class ExportJDBCParametersImpl
java.lang.Object
org.gvsig.export.spi.AbstractExportParameters
org.gvsig.export.spi.AbstractExportParametersGeometry
org.gvsig.export.jdbc.service.ExportJDBCParametersImpl
- All Implemented Interfaces:
Cloneable,org.gvsig.export.ExportParameters,org.gvsig.export.ExportParametersGeometry,ExportJDBCParameters,org.gvsig.tools.persistence.Persistent,org.gvsig.tools.util.LabeledValue
public class ExportJDBCParametersImpl
extends org.gvsig.export.spi.AbstractExportParametersGeometry
implements ExportJDBCParameters
- Author:
- jjdelcerro
-
Field Summary
Fields inherited from class org.gvsig.export.spi.AbstractExportParametersGeometry
LOGGERFields inherited from class org.gvsig.export.spi.AbstractExportParameters
exportAttributes, factoryFields inherited from interface org.gvsig.export.ExportParameters
USE_ALL_FEATURES, USE_FILTERED_FEATURES, USE_SELECTED_FEATURESFields inherited from interface org.gvsig.export.ExportParametersGeometry
CHECKGEOMETRY_CHECK_IF_CORRUPT, CHECKGEOMETRY_CHECK_IF_VALID, CHECKGEOMETRY_NONE, CHECKGEOMETRYACTION_ABORT, CHECKGEOMETRYACTION_SET_GEOMETRY_TO_NULL, CHECKGEOMETRYACTION_SKIP_FEATURE -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanclone()fixIdentifier(String name) intbooleanorg.gvsig.expressionevaluator.Expressionorg.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParametersbooleanbooleanbooleanbooleanvoidloadFromState(org.gvsig.tools.persistence.PersistentState state) static voidvoidsaveToState(org.gvsig.tools.persistence.PersistentState state) voidsetAllRole(String allRole) voidsetCanCreatetable(boolean canCreatetable) voidsetCaseIdentifiersMode(int mode) voidsetCreateIndexInGeometryRow(boolean createIndexInGeometryRow) voidsetDeleteRole(String deleteRole) voidsetDeleteRows(boolean deleteRows) voidsetDeleteRowsFilter(org.gvsig.expressionevaluator.Expression deleteRowsFilter) voidsetExplorerName(String explorerName) voidsetExplorerParameters(org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParameters explorerParameters) voidsetInsertRole(String insertRole) voidsetPostCreatingStatement(String postCreatingStatement) voidsetPrimaryKey(String primaryKey) voidsetReferenceRole(String referenceRole) voidsetRemoveSpacesInIdentifiers(boolean removeSpacesInIdentifiers) voidvoidsetSelectRole(String selectRole) voidsetStoreName(String storeName) voidsetTableName(String tableName) voidsetTranslateHyphens(boolean translateHyphens) voidsetTriggerRole(String triggerRole) voidsetTruncateRole(String truncateRole) voidsetUpdateRole(String updateRole) voidsetUpdateTableStatistics(boolean updateTableStatistics) Methods inherited from class org.gvsig.export.spi.AbstractExportParametersGeometry
getContextProjection, getGeometryChecks, getGeometryChecksAction, getSourceGeometryFieldName, getSourceProjection, getSourceTransformation, getTargetGeometrySubtype, getTargetGeometryType, getTargetGeometryTypeAsInt, getTargetProjection, getTargetTransformation, getTransformationToUse, getTryToFixGeometry, needsSelectTargetProjection, setContextProjection, setGeometryChecks, setGeometryChecksAction, setSourceGeometryFieldName, setSourceProjection, setSourceTransformation, setTargetGeometrySubtype, setTargetGeometryType, setTargetGeometryType, setTargetProjection, setTargetTransformation, setTryToFixGeometryMethods inherited from class org.gvsig.export.spi.AbstractExportParameters
getContext, getCreationDate, getExportAttributes, getFactory, getFeatureQuery, getFeaturesToUse, getFilterExpresion, getLabel, getSourceFeatureStore, getSourceFeatureType, getTargetFeatureType, getValue, resetVolatileValues, setContext, setCreationDate, setExportAttributes, setFeatureQuery, setFeaturesToUse, setFilterExpresion, setSourceFeatureStore, setSourceFeatureType, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.export.ExportParameters
getContext, getCreationDate, getExportAttributes, getFactory, getFeatureQuery, getFeaturesToUse, getFilterExpresion, getSourceFeatureStore, getSourceFeatureType, getTargetFeatureType, needsSelectTargetProjection, resetVolatileValues, setContext, setCreationDate, setExportAttributes, setFeatureQuery, setFeaturesToUse, setFilterExpresion, setSourceFeatureStore, setSourceFeatureTypeMethods inherited from interface org.gvsig.export.ExportParametersGeometry
getContextProjection, getGeometryChecks, getGeometryChecksAction, getSourceGeometryFieldName, getSourceProjection, getSourceTransformation, getTargetGeometrySubtype, getTargetGeometryType, getTargetGeometryTypeAsInt, getTargetProjection, getTargetTransformation, getTransformationToUse, getTryToFixGeometry, setContextProjection, setGeometryChecks, setGeometryChecksAction, setSourceGeometryFieldName, setSourceProjection, setSourceTransformation, setTargetGeometrySubtype, setTargetGeometryType, setTargetGeometryType, setTargetProjection, setTargetTransformation, setTryToFixGeometryMethods inherited from interface org.gvsig.tools.util.LabeledValue
getLabel, getValue, toString
-
Constructor Details
-
ExportJDBCParametersImpl
-
ExportJDBCParametersImpl
public ExportJDBCParametersImpl()
-
-
Method Details
-
getServiceName
- Specified by:
getServiceNamein interfaceorg.gvsig.export.ExportParameters
-
getExplorerParameters
public org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParameters getExplorerParameters()- Specified by:
getExplorerParametersin interfaceExportJDBCParameters- Returns:
- the explorerParameters
-
setExplorerParameters
public void setExplorerParameters(org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParameters explorerParameters) - Specified by:
setExplorerParametersin interfaceExportJDBCParameters- Parameters:
explorerParameters- the explorerParameters to set
-
getSchema
- Specified by:
getSchemain interfaceExportJDBCParameters- Returns:
- the schema
-
setSchema
- Specified by:
setSchemain interfaceExportJDBCParameters- Parameters:
schema- the schema to set
-
getTableName
- Specified by:
getTableNamein interfaceExportJDBCParameters- Returns:
- the tableName
-
setTableName
- Specified by:
setTableNamein interfaceExportJDBCParameters- Parameters:
tableName- the tableName to set
-
canCreatetable
public boolean canCreatetable()- Specified by:
canCreatetablein interfaceExportJDBCParameters- Returns:
- the canCreatetable
-
setCanCreatetable
public void setCanCreatetable(boolean canCreatetable) - Specified by:
setCanCreatetablein interfaceExportJDBCParameters- Parameters:
canCreatetable- the canCreatetable to set
-
getPrimaryKey
- Specified by:
getPrimaryKeyin interfaceExportJDBCParameters- Returns:
- the primaryKeyName
-
setPrimaryKey
- Specified by:
setPrimaryKeyin interfaceExportJDBCParameters- Parameters:
primaryKey- the primaryKeyName to set
-
getStoreName
- Specified by:
getStoreNamein interfaceExportJDBCParameters- Returns:
- the storeName
-
setStoreName
- Specified by:
setStoreNamein interfaceExportJDBCParameters- Parameters:
storeName- the storeName to set
-
getExplorerName
- Specified by:
getExplorerNamein interfaceExportJDBCParameters- Returns:
- the explorerName
-
setExplorerName
- Specified by:
setExplorerNamein interfaceExportJDBCParameters- Parameters:
explorerName- the explorerName to set
-
setCaseIdentifiersMode
public void setCaseIdentifiersMode(int mode) - Specified by:
setCaseIdentifiersModein interfaceExportJDBCParameters- Parameters:
mode- the caseIdentifiersMode to set
-
setRemoveSpacesInIdentifiers
public void setRemoveSpacesInIdentifiers(boolean removeSpacesInIdentifiers) - Specified by:
setRemoveSpacesInIdentifiersin interfaceExportJDBCParameters- Parameters:
removeSpacesInIdentifiers- the removeSpacesInIdentifiers to set
-
setTranslateHyphens
public void setTranslateHyphens(boolean translateHyphens) - Specified by:
setTranslateHyphensin interfaceExportJDBCParameters- Parameters:
translateHyphens- the translateHyphens to set
-
getSelectRole
- Specified by:
getSelectRolein interfaceExportJDBCParameters- Returns:
- the selectRole
-
setSelectRole
- Specified by:
setSelectRolein interfaceExportJDBCParameters- Parameters:
selectRole- the selectRole to set
-
getInsertRole
- Specified by:
getInsertRolein interfaceExportJDBCParameters- Returns:
- the insertRole
-
setInsertRole
- Specified by:
setInsertRolein interfaceExportJDBCParameters- Parameters:
insertRole- the insertRole to set
-
getUpdateRole
- Specified by:
getUpdateRolein interfaceExportJDBCParameters- Returns:
- the updateRole
-
setUpdateRole
- Specified by:
setUpdateRolein interfaceExportJDBCParameters- Parameters:
updateRole- the updateRole to set
-
getDeleteRole
- Specified by:
getDeleteRolein interfaceExportJDBCParameters- Returns:
- the deleteRole
-
setDeleteRole
- Specified by:
setDeleteRolein interfaceExportJDBCParameters- Parameters:
deleteRole- the deleteRole to set
-
getTruncateRole
- Specified by:
getTruncateRolein interfaceExportJDBCParameters- Returns:
- the truncateRole
-
setTruncateRole
- Specified by:
setTruncateRolein interfaceExportJDBCParameters- Parameters:
truncateRole- the truncateRole to set
-
getReferenceRole
- Specified by:
getReferenceRolein interfaceExportJDBCParameters- Returns:
- the referenceRole
-
setReferenceRole
- Specified by:
setReferenceRolein interfaceExportJDBCParameters- Parameters:
referenceRole- the referenceRole to set
-
getTriggerRole
- Specified by:
getTriggerRolein interfaceExportJDBCParameters- Returns:
- the triggerRole
-
setTriggerRole
- Specified by:
setTriggerRolein interfaceExportJDBCParameters- Parameters:
triggerRole- the triggerRole to set
-
getAllRole
- Specified by:
getAllRolein interfaceExportJDBCParameters- Returns:
- the allRole
-
setAllRole
- Specified by:
setAllRolein interfaceExportJDBCParameters- Parameters:
allRole- the allRole to set
-
getPostCreatingStatement
- Specified by:
getPostCreatingStatementin interfaceExportJDBCParameters- Returns:
- the postCreatingStatement
-
setPostCreatingStatement
- Specified by:
setPostCreatingStatementin interfaceExportJDBCParameters- Parameters:
postCreatingStatement- the postCreatingStatement to set
-
getCreateIndexInGeometryRow
public boolean getCreateIndexInGeometryRow()- Specified by:
getCreateIndexInGeometryRowin interfaceExportJDBCParameters- Returns:
- the createIndexInGeometryRow
-
setCreateIndexInGeometryRow
public void setCreateIndexInGeometryRow(boolean createIndexInGeometryRow) - Specified by:
setCreateIndexInGeometryRowin interfaceExportJDBCParameters- Parameters:
createIndexInGeometryRow- the createIndexInGeometryRow to set
-
getUpdateTableStatistics
public boolean getUpdateTableStatistics()- Specified by:
getUpdateTableStatisticsin interfaceExportJDBCParameters- Returns:
- the updateTableStatistics
-
setUpdateTableStatistics
public void setUpdateTableStatistics(boolean updateTableStatistics) - Specified by:
setUpdateTableStatisticsin interfaceExportJDBCParameters- Parameters:
updateTableStatistics- the updateTableStatistics to set
-
getTranslateHyphens
public boolean getTranslateHyphens()- Specified by:
getTranslateHyphensin interfaceExportJDBCParameters
-
getRemoveSpacesInIdentifiers
public boolean getRemoveSpacesInIdentifiers()- Specified by:
getRemoveSpacesInIdentifiersin interfaceExportJDBCParameters
-
getCaseIdentifiersMode
public int getCaseIdentifiersMode()- Specified by:
getCaseIdentifiersModein interfaceExportJDBCParameters
-
setDeleteRows
public void setDeleteRows(boolean deleteRows) - Specified by:
setDeleteRowsin interfaceExportJDBCParameters
-
isDeleteRows
public boolean isDeleteRows()- Specified by:
isDeleteRowsin interfaceExportJDBCParameters
-
setDeleteRowsFilter
public void setDeleteRowsFilter(org.gvsig.expressionevaluator.Expression deleteRowsFilter) - Specified by:
setDeleteRowsFilterin interfaceExportJDBCParameters
-
getDeleteRowsFilter
public org.gvsig.expressionevaluator.Expression getDeleteRowsFilter()- Specified by:
getDeleteRowsFilterin interfaceExportJDBCParameters
-
clone
- Specified by:
clonein interfaceorg.gvsig.export.ExportParameters- Overrides:
clonein classorg.gvsig.export.spi.AbstractExportParametersGeometry- Throws:
CloneNotSupportedException
-
registerPersistence
public static void registerPersistence() -
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- Overrides:
saveToStatein classorg.gvsig.export.spi.AbstractExportParametersGeometry- 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- Overrides:
loadFromStatein classorg.gvsig.export.spi.AbstractExportParametersGeometry- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
fixIdentifier
- Specified by:
fixIdentifierin interfaceExportJDBCParameters
-