Class 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
      • Nested classes/interfaces inherited from interface com.im.df.api.ddl.DFItem

        com.im.df.api.ddl.DFItem.Handle<T extends com.im.df.api.ddl.DFItem>
      • Nested classes/interfaces inherited from interface com.im.df.api.support.PropertiesEditingConfigurable

        com.im.df.api.support.PropertiesEditingConfigurable.Extra
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String WS_ENTITY_TYPE
      WS entity type.
      • Fields inherited from class com.chemaxon.dif.db.api.item.DBItemAbstractImpl

        DEFAULT_CHARSET
      • Fields inherited from interface com.im.df.api.capabilities.DBEntityCapability

        PROP_DEFAULT_SORT, PROP_DOMAIN, PROP_TABLE_NAME
      • Fields inherited from interface com.im.df.api.ddl.DFEntity

        PROP_FIELDS, PROP_LISTS
      • Fields inherited from interface com.im.df.api.ddl.DFItem

        PROP_CAPABILITIES, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_TYPE, PROP_VALID
    • 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 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
      • Methods inherited from interface com.im.df.api.support.PropertiesEditingConfigurable

        isPropertyEditable
      • Methods inherited from interface com.im.df.api.support.PropertiesEditingConfigurable.Extra

        setPropertyEditable
    • Constructor Detail

      • WSEntityImpl

        public WSEntityImpl​(com.chemaxon.dif.db.api.schema.DBSchemaImpl schema,
                            WSEntityInfo dto,
                            com.im.commons.progress.DFEnvironmentRW env)
      • WSEntityImpl

        public 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 Detail

      • getConfig

        public String getConfig()
      • syncFields

        public void syncFields​(com.im.commons.progress.DFEnvironmentRW env)
      • getType

        public String getType()
        Specified by:
        getType in interface com.im.df.api.ddl.DFItem
      • resolveAllData

        public com.im.df.api.dml.DFTermExpression resolveAllData​(com.im.commons.progress.DFEnvironmentRO env)
        Specified by:
        resolveAllData in interface com.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 interface com.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 interface com.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 interface com.im.df.api.capabilities.VirtualEntityCapability
      • createDao

        protected com.im.df.api.support.DFDao createDao()
        Overrides:
        createDao in class com.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
      • getXmlBean

        public WSEntityInfo getXmlBean()
        Overrides:
        getXmlBean in class com.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
      • createUpdater

        protected com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater createUpdater()
        Specified by:
        createUpdater in class com.chemaxon.dif.db.api.item.DBItemAbstractImpl
      • getTableManagerTableType

        protected String getTableManagerTableType()
        Specified by:
        getTableManagerTableType in class com.chemaxon.dif.db.api.entity.DBEntityAbstractImpl
      • setTableName

        public void setTableName​(String tableName,
                                 com.im.commons.progress.DFEnvironmentRW env)
        Specified by:
        setTableName in interface com.im.df.api.capabilities.DBEntityCapability