Package com.im.df.impl.db.entity
Class DBEntitySqlImpl
- java.lang.Object
-
- com.chemaxon.dif.db.api.item.DBItemAbstractImpl
-
- com.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
-
- com.im.df.impl.db.entity.DBEntitySqlImpl
-
- All Implemented Interfaces:
com.chemaxon.ijc.db.dao.data.generators.DFValueGenerator.Provider
,com.im.df.api.capabilities.DBEntityCapability
,com.im.df.api.capabilities.InfoCapability
,com.im.df.api.capabilities.SqlEntityCapability
,com.im.df.api.ddl.DFCapability
,com.im.df.api.ddl.DFEntity
,com.im.df.api.ddl.DFItem
,com.im.df.api.support.PropertiesEditingConfigurable
,com.im.df.api.support.PropertiesEditingConfigurable.Extra
public final class DBEntitySqlImpl extends com.chemaxon.dif.db.api.entity.DBEntityAbstractImpl implements com.im.df.api.capabilities.SqlEntityCapability, com.im.df.api.capabilities.InfoCapability
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.chemaxon.dif.db.api.item.DBItemAbstractImpl
com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DBEntitySqlImpl
createInstance(com.chemaxon.dif.db.api.schema.DBSchemaImpl dbSchemaName, com.im.ijcs.api.ddl.dto.EntityInfo dto, com.im.commons.db.ddl.tablesets.TableSetInfo tsi, com.im.commons.progress.DFEnvironmentRW env)
Creates a new instance ofDBEntitySqlImpl
.com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater
createUpdater()
protected String
getTableManagerTableType()
String
getTooltip()
String
getType()
void
setSql(String sql, com.im.commons.progress.DFEnvironmentRW env)
void
setTableName(String newTableName, com.im.commons.progress.DFEnvironmentRW env)
-
Methods inherited from class com.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
activateItem, addCommaSeparatedPropsForToString, buildPropInfos, canDrop, claimTableOwnership, createColumnNameValidator, createDao, createDefaultValueGenerator, fieldRegistered, findFieldForColumn, fixEditingFlags, fixFieldEditing, getDao, getFieldAccess, getFields, getFirstTableInfo, getHandle, getIdField, getIdFieldId, getJoins, getListAccess, getLists, getNameValidator, getSchema, getSchemaImpl, getSchemaQualifiedName, getTableInfos, getTableName, getTableSetInfo, getValueGenerator, getValueGeneratorDef, getValueGeneratorFactories, getXmlBean, handleUpdateTableSetInfo, initTypeDB, initXAttributes, invalidateSubitems, isMandatoryField, isReadOnly, setName
-
Methods inherited from class com.chemaxon.dif.db.api.item.DBItemAbstractImpl
addCapabilitiesFromCapabilityProviders, addCapability, addPropertyChangeListener, doGetHandle, ensureValid, equals, findOwner, firePropertyChange, firePropertyChange, getCapabilities, getDescription, getId, getName, getXAttributesImpl, handleChanges, handleOwner, handleUpdateDescription, handleUpdateName, handleXAttrs, hashCode, initXAttributes, invalidate, isActive, isCapabilityProviderAllowed, isDifferent, isPropertyEditable, isValid, removeCapability, removePropertyChangeListener, replaceCapability, setDescription, setPropertyEditable, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.im.df.api.capabilities.DBEntityCapability
canDrop, claimTableOwnership, getJoins, getTableInfos, getTableName
-
Methods inherited from interface com.im.df.api.ddl.DFItem
addPropertyChangeListener, getCapabilities, getDescription, getId, getName, isValid, removePropertyChangeListener, setDescription
-
-
-
-
Method Detail
-
createInstance
public static DBEntitySqlImpl createInstance(com.chemaxon.dif.db.api.schema.DBSchemaImpl dbSchemaName, com.im.ijcs.api.ddl.dto.EntityInfo dto, com.im.commons.db.ddl.tablesets.TableSetInfo tsi, com.im.commons.progress.DFEnvironmentRW env)
Creates a new instance ofDBEntitySqlImpl
.- Parameters:
dbSchemaName
- The schema this new entity will belong to.
-
getTableManagerTableType
protected String getTableManagerTableType()
- Specified by:
getTableManagerTableType
in classcom.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
-
getType
public String getType()
- Specified by:
getType
in interfacecom.im.df.api.ddl.DFItem
-
setTableName
public void setTableName(String newTableName, com.im.commons.progress.DFEnvironmentRW env)
- Specified by:
setTableName
in interfacecom.im.df.api.capabilities.DBEntityCapability
-
setSql
public void setSql(String sql, com.im.commons.progress.DFEnvironmentRW env)
-
getTooltip
public String getTooltip()
- Specified by:
getTooltip
in interfacecom.im.df.api.capabilities.InfoCapability
-
createUpdater
public com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater createUpdater()
- Specified by:
createUpdater
in classcom.chemaxon.dif.db.api.item.DBItemAbstractImpl
-
-