Tuscany DAS for Relational Databases

org.apache.tuscany.das.rdb.config.impl
Class CommandImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.apache.tuscany.sdo.impl.DataObjectImpl
              extended by org.apache.tuscany.das.rdb.config.impl.CommandImpl
All Implemented Interfaces:
DataObject, Serializable, Command, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class CommandImpl
extends org.apache.tuscany.sdo.impl.DataObjectImpl
implements Command

An implementation of the model object 'Command'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  String config
          The cached value of the 'Config' attribute.
protected static String CONFIG_EDEFAULT
          The default value of the 'Config' attribute.
protected  String kind
          The cached value of the 'Kind' attribute.
protected static String KIND_EDEFAULT
          The default value of the 'Kind' attribute.
protected  String name
          The cached value of the 'Name' attribute.
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  org.eclipse.emf.common.util.EList parameter
          The cached value of the 'Parameter' containment reference list.
protected  org.eclipse.emf.common.util.EList resultDescriptor
          The cached value of the 'Result Descriptor' containment reference list.
protected  String sql
          The cached value of the 'SQL' attribute.
protected static String SQL_EDEFAULT
          The default value of the 'SQL' attribute.
 
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
changeRecorder, eContainer, eContainerFeatureID, location
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected CommandImpl()
           
 
Method Summary
 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)
           
 String getConfig()
           
 String getKind()
           
 String getName()
           
 List getParameter()
           
 List getResultDescriptor()
           
 String getSQL()
           
 void setConfig(String newConfig)
           
 void setKind(String newKind)
           
 void setName(String newName)
           
 void setSQL(String newSQL)
           
 String toString()
           
 
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, eBasicSetContainer, eClass, eContainerFeatureID, eContents, eCrossReferences, eDirectResource, eDynamicClass, eDynamicGet, eDynamicIsSet, eDynamicSet, eDynamicUnset, eHasSettings, eInternalContainer, eIsProxy, eNotificationRequired, eNotify, eProxyURI, eSetClass, eSetDirectResource, eSetProxyURI, eSettings, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChangeSummary, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInstanceProperties, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChangeRecorder, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset, writeReplace
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicProperties, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProperties, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eAdapters, eBasicAdapters, eDeliver, eSetDeliver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parameter

protected org.eclipse.emf.common.util.EList parameter
The cached value of the 'Parameter' containment reference list.

See Also:
getParameter()

resultDescriptor

protected org.eclipse.emf.common.util.EList resultDescriptor
The cached value of the 'Result Descriptor' containment reference list.

See Also:
getResultDescriptor()

CONFIG_EDEFAULT

protected static final String CONFIG_EDEFAULT
The default value of the 'Config' attribute.

See Also:
getConfig()

config

protected String config
The cached value of the 'Config' attribute.

See Also:
getConfig()

KIND_EDEFAULT

protected static final String KIND_EDEFAULT
The default value of the 'Kind' attribute.

See Also:
getKind()

kind

protected String kind
The cached value of the 'Kind' attribute.

See Also:
getKind()

NAME_EDEFAULT

protected static final String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected String name
The cached value of the 'Name' attribute.

See Also:
getName()

SQL_EDEFAULT

protected static final String SQL_EDEFAULT
The default value of the 'SQL' attribute.

See Also:
getSQL()

sql

protected String sql
The cached value of the 'SQL' attribute.

See Also:
getSQL()
Constructor Detail

CommandImpl

protected CommandImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.apache.tuscany.sdo.impl.DataObjectImpl

getParameter

public List getParameter()

Specified by:
getParameter in interface Command
Returns:
the value of the 'Parameter' containment reference list.

getResultDescriptor

public List getResultDescriptor()

Specified by:
getResultDescriptor in interface Command
Returns:
the value of the 'Result Descriptor' containment reference list.

getConfig

public String getConfig()

Specified by:
getConfig in interface Command
Returns:
the value of the 'Config' attribute.
See Also:
Command.setConfig(String)

setConfig

public void setConfig(String newConfig)

Specified by:
setConfig in interface Command
Parameters:
newConfig - the new value of the 'Config' attribute.
See Also:
Command.getConfig()

getKind

public String getKind()

Specified by:
getKind in interface Command
Returns:
the value of the 'Kind' attribute.
See Also:
Command.setKind(String)

setKind

public void setKind(String newKind)

Specified by:
setKind in interface Command
Parameters:
newKind - the new value of the 'Kind' attribute.
See Also:
Command.getKind()

getName

public String getName()

Specified by:
getName in interface Command
Returns:
the value of the 'Name' attribute.
See Also:
Command.setName(String)

setName

public void setName(String newName)

Specified by:
setName in interface Command
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
Command.getName()

getSQL

public String getSQL()

Specified by:
getSQL in interface Command
Returns:
the value of the 'SQL' attribute.
See Also:
Command.setSQL(String)

setSQL

public void setSQL(String newSQL)

Specified by:
setSQL in interface Command
Parameters:
newSQL - the new value of the 'SQL' attribute.
See Also:
Command.getSQL()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.apache.tuscany.sdo.impl.DataObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.apache.tuscany.sdo.impl.DataObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.apache.tuscany.sdo.impl.DataObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.apache.tuscany.sdo.impl.DataObjectImpl

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

Tuscany DAS for Relational Databases

-