public class QueryComponentImpl extends MasterComponentImpl implements QueryComponent
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Field and Description |
---|---|
protected DatabaseSettings |
database
The cached value of the '
Database ' reference. |
protected static DataType |
DEFAULT_DATA_TYPE_EDEFAULT
The default value of the '
Default Data Type ' attribute. |
protected org.eclipse.emf.common.util.EList<String> |
defaultCustomizationTags
The cached value of the '
Default Customization Tags ' attribute list. |
protected DataType |
defaultDataType
The cached value of the '
Default Data Type ' attribute. |
protected org.eclipse.emf.common.util.EList<ColumnMapping> |
mappings
The cached value of the '
Mappings ' containment reference list. |
protected String |
name
The cached value of the '
Name ' attribute. |
protected static String |
NAME_EDEFAULT
The default value of the '
Name ' attribute. |
protected int |
period
The cached value of the '
Period ' attribute. |
protected static int |
PERIOD_EDEFAULT
The default value of the '
Period ' attribute. |
protected static Integer |
QUERY_TIMEOUT_EDEFAULT
The default value of the '
Query Timeout ' attribute. |
protected Integer |
queryTimeout
The cached value of the '
Query Timeout ' attribute. |
protected JdbcDriver |
runsOn
The cached value of the '
Runs On ' reference. |
protected String |
sql
The cached value of the '
Sql ' attribute. |
protected static String |
SQL_EDEFAULT
The default value of the '
Sql ' attribute. |
masterOn
archiveSelector, customizationPipeline, properties, SHORT_DESCRIPTION_EDEFAULT, shortDescription
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
QueryComponentImpl() |
Modifier and Type | Method and Description |
---|---|
DatabaseSettings |
basicGetDatabase() |
JdbcDriver |
basicGetRunsOn() |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
DatabaseSettings |
getDatabase() |
org.eclipse.emf.common.util.EList<String> |
getDefaultCustomizationTags() |
DataType |
getDefaultDataType() |
org.eclipse.emf.common.util.EList<ColumnMapping> |
getMappings() |
String |
getName() |
int |
getPeriod() |
Integer |
getQueryTimeout() |
JdbcDriver |
getRunsOn() |
String |
getSql() |
void |
setDatabase(DatabaseSettings newDatabase) |
void |
setDefaultDataType(DataType newDefaultDataType) |
void |
setName(String newName) |
void |
setPeriod(int newPeriod) |
void |
setQueryTimeout(Integer newQueryTimeout) |
void |
setRunsOn(JdbcDriver newRunsOn) |
void |
setSql(String newSql) |
String |
toString() |
getMasterOn
eInvoke
basicGetArchiveSelector, basicGetCustomizationPipeline, basicGetLevel, basicSetLevel, eBasicRemoveFromContainerFeature, eInverseAdd, getArchiveSelector, getCustomizationPipeline, getLevel, getProperties, getShortDescription, setArchiveSelector, setCustomizationPipeline, setLevel, setShortDescription
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMasterOn
getArchiveSelector, getCustomizationPipeline, getLevel, getProperties, setArchiveSelector, setCustomizationPipeline, setLevel
getShortDescription, setShortDescription
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
getMasterOn
protected static final String SQL_EDEFAULT
Sql
' attribute.
getSql()
protected DatabaseSettings database
Database
' reference.
getDatabase()
protected static final Integer QUERY_TIMEOUT_EDEFAULT
Query Timeout
' attribute.
getQueryTimeout()
protected Integer queryTimeout
Query Timeout
' attribute.
getQueryTimeout()
protected JdbcDriver runsOn
Runs On
' reference.
getRunsOn()
protected static final String NAME_EDEFAULT
Name
' attribute.
getName()
protected org.eclipse.emf.common.util.EList<ColumnMapping> mappings
Mappings
' containment reference list.
getMappings()
protected static final int PERIOD_EDEFAULT
Period
' attribute.
getPeriod()
,
Constant Field Valuesprotected int period
Period
' attribute.
getPeriod()
protected org.eclipse.emf.common.util.EList<String> defaultCustomizationTags
Default Customization Tags
' attribute list.
getDefaultCustomizationTags()
protected static final DataType DEFAULT_DATA_TYPE_EDEFAULT
Default Data Type
' attribute.
getDefaultDataType()
protected DataType defaultDataType
Default Data Type
' attribute.
getDefaultDataType()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class MasterComponentImpl
public String getSql()
getSql
in interface QueryBase
QueryBase.setSql(String)
,
JdbcPackage.getQueryBase_Sql()
public void setSql(String newSql)
setSql
in interface QueryBase
newSql
- the new value of the 'Sql' attribute.QueryBase.getSql()
public DatabaseSettings getDatabase()
getDatabase
in interface QueryBase
QueryBase.setDatabase(org.eclipse.scada.configuration.world.DatabaseSettings)
,
JdbcPackage.getQueryBase_Database()
public DatabaseSettings basicGetDatabase()
public void setDatabase(DatabaseSettings newDatabase)
setDatabase
in interface QueryBase
newDatabase
- the new value of the 'Database' reference.QueryBase.getDatabase()
public Integer getQueryTimeout()
getQueryTimeout
in interface QueryBase
QueryBase.setQueryTimeout(Integer)
,
JdbcPackage.getQueryBase_QueryTimeout()
public void setQueryTimeout(Integer newQueryTimeout)
setQueryTimeout
in interface QueryBase
newQueryTimeout
- the new value of the 'Query Timeout' attribute.QueryBase.getQueryTimeout()
public JdbcDriver getRunsOn()
getRunsOn
in interface QueryBase
QueryBase.setRunsOn(JdbcDriver)
,
JdbcPackage.getQueryBase_RunsOn()
public JdbcDriver basicGetRunsOn()
public void setRunsOn(JdbcDriver newRunsOn)
setRunsOn
in interface QueryBase
newRunsOn
- the new value of the 'Runs On' reference.QueryBase.getRunsOn()
public String getName()
getName
in interface QueryComponent
QueryComponent.setName(String)
,
JdbcPackage.getQueryComponent_Name()
public void setName(String newName)
setName
in interface QueryComponent
newName
- the new value of the 'Name' attribute.QueryComponent.getName()
public org.eclipse.emf.common.util.EList<ColumnMapping> getMappings()
getMappings
in interface QueryComponent
JdbcPackage.getQueryComponent_Mappings()
public int getPeriod()
getPeriod
in interface QueryComponent
QueryComponent.setPeriod(int)
,
JdbcPackage.getQueryComponent_Period()
public void setPeriod(int newPeriod)
setPeriod
in interface QueryComponent
newPeriod
- the new value of the 'Period' attribute.QueryComponent.getPeriod()
public org.eclipse.emf.common.util.EList<String> getDefaultCustomizationTags()
getDefaultCustomizationTags
in interface QueryComponent
JdbcPackage.getQueryComponent_DefaultCustomizationTags()
public DataType getDefaultDataType()
getDefaultDataType
in interface QueryComponent
DataType
,
QueryComponent.setDefaultDataType(DataType)
,
JdbcPackage.getQueryComponent_DefaultDataType()
public void setDefaultDataType(DataType newDefaultDataType)
setDefaultDataType
in interface QueryComponent
newDefaultDataType
- the new value of the 'Default Data Type' attribute.DataType
,
QueryComponent.getDefaultDataType()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class ComponentImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class MasterComponentImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class MasterComponentImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class MasterComponentImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class MasterComponentImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID
in class MasterComponentImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class MasterComponentImpl
public String toString()
toString
in class ComponentImpl