Package com.chemaxon.dif.ws.impl.entity
Class WSEntityImpl
- java.lang.Object
-
- com.chemaxon.dif.db.api.item.DBItemAbstractImpl
-
- com.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
-
- com.chemaxon.dif.ws.impl.entity.WSEntityImpl
-
- All Implemented Interfaces:
WSEntity
,com.chemaxon.ijc.db.dao.data.generators.DFValueGenerator.Provider
,com.im.df.api.capabilities.DBEntityCapability
,com.im.df.api.capabilities.VirtualEntityCapability
,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 class WSEntityImpl extends com.chemaxon.dif.db.api.entity.DBEntityAbstractImpl implements WSEntity
Web service entity.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.chemaxon.dif.db.api.item.DBItemAbstractImpl
com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater
-
-
Field Summary
Fields Modifier and Type Field Description static String
WS_ENTITY_TYPE
WS entity type.
-
Constructor Summary
Constructors Constructor Description WSEntityImpl(com.chemaxon.dif.db.api.schema.DBSchemaImpl schema, WSEntityInfo dto, com.im.commons.progress.DFEnvironmentRW env)
WSEntityImpl(String id, String name, String description, com.im.ijcs.api.ddl.dto.AbstractEntityInfo.PrimaryKeyColumnDTO pkc, com.chemaxon.dif.db.api.schema.DBSchemaImpl schema, com.im.commons.progress.DFEnvironmentRW env, String config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.im.df.api.support.DFDao
createDao()
protected com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater
createUpdater()
String
getConfig()
WSEntityHandler
getHandler()
protected String
getTableManagerTableType()
String
getType()
WSDefinition
getWS()
WSEntityInfo
getXmlBean()
com.im.df.api.dml.DFTermExpression
resolveAllData(com.im.commons.progress.DFEnvironmentRO env)
com.im.df.api.dml.DFTermExpression
resolveCountStar(com.im.df.api.dml.DFTermExpression expr, com.im.commons.progress.DFEnvironmentRO env)
com.im.df.api.dml.DFTermExpression
resolveIncomingRelationship(com.im.df.api.dml.DFTermExpression expr, com.im.df.api.ddl.DFEntity from, com.im.commons.progress.DFEnvironmentRO env)
com.im.df.api.dml.DFTermExpression
resolveOutgoingRelationship(com.im.df.api.dml.DFTermExpression expr, com.im.df.api.ddl.DFEntity to, com.im.commons.progress.DFEnvironmentRO env)
void
setTableName(String tableName, com.im.commons.progress.DFEnvironmentRW env)
void
syncFields(com.im.commons.progress.DFEnvironmentRW env)
-
Methods inherited from class com.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
activateItem, addCommaSeparatedPropsForToString, buildPropInfos, canDrop, claimTableOwnership, createColumnNameValidator, 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, 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.ddl.DFEntity
getFields, getHandle, getIdField, getLists, getSchema
-
Methods inherited from interface com.im.df.api.ddl.DFItem
addPropertyChangeListener, getCapabilities, getDescription, getId, getName, isValid, removePropertyChangeListener, setDescription, setName
-
-
-
-
Field Detail
-
WS_ENTITY_TYPE
public static final String WS_ENTITY_TYPE
WS entity type.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WSEntityImpl
public WSEntityImpl(com.chemaxon.dif.db.api.schema.DBSchemaImpl schema, WSEntityInfo dto, com.im.commons.progress.DFEnvironmentRW env)
-
-
Method Detail
-
getConfig
public String getConfig()
-
syncFields
public void syncFields(com.im.commons.progress.DFEnvironmentRW env)
-
getType
public String getType()
- Specified by:
getType
in interfacecom.im.df.api.ddl.DFItem
-
getWS
public WSDefinition getWS()
-
getHandler
public WSEntityHandler getHandler()
- Specified by:
getHandler
in interfaceWSEntity
- Returns:
- web service entity handler
-
resolveAllData
public com.im.df.api.dml.DFTermExpression resolveAllData(com.im.commons.progress.DFEnvironmentRO env)
- Specified by:
resolveAllData
in interfacecom.im.df.api.capabilities.VirtualEntityCapability
-
resolveIncomingRelationship
public com.im.df.api.dml.DFTermExpression resolveIncomingRelationship(com.im.df.api.dml.DFTermExpression expr, com.im.df.api.ddl.DFEntity from, com.im.commons.progress.DFEnvironmentRO env)
- Specified by:
resolveIncomingRelationship
in interfacecom.im.df.api.capabilities.VirtualEntityCapability
-
resolveOutgoingRelationship
public com.im.df.api.dml.DFTermExpression resolveOutgoingRelationship(com.im.df.api.dml.DFTermExpression expr, com.im.df.api.ddl.DFEntity to, com.im.commons.progress.DFEnvironmentRO env)
- Specified by:
resolveOutgoingRelationship
in interfacecom.im.df.api.capabilities.VirtualEntityCapability
-
resolveCountStar
public com.im.df.api.dml.DFTermExpression resolveCountStar(com.im.df.api.dml.DFTermExpression expr, com.im.commons.progress.DFEnvironmentRO env)
- Specified by:
resolveCountStar
in interfacecom.im.df.api.capabilities.VirtualEntityCapability
-
createDao
protected com.im.df.api.support.DFDao createDao()
- Overrides:
createDao
in classcom.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
-
getXmlBean
public WSEntityInfo getXmlBean()
- Overrides:
getXmlBean
in classcom.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
-
createUpdater
protected com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater createUpdater()
- Specified by:
createUpdater
in classcom.chemaxon.dif.db.api.item.DBItemAbstractImpl
-
getTableManagerTableType
protected String getTableManagerTableType()
- Specified by:
getTableManagerTableType
in classcom.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
-
setTableName
public void setTableName(String tableName, com.im.commons.progress.DFEnvironmentRW env)
- Specified by:
setTableName
in interfacecom.im.df.api.capabilities.DBEntityCapability
-
-