dawncodegen.impl
Class DataBaseImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by dawncodegen.impl.DataBaseImpl
All Implemented Interfaces:
DataBase, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class DataBaseImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements DataBase

An implementation of the model object 'Data Base'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getDbDriver()
           
 java.lang.String getDialect()
           
 java.lang.String getName()
           
 java.lang.String getPassword()
           
 java.lang.String getPort()
           
 java.lang.String getProtocol()
           
 java.lang.String getUsername()
           
 boolean isShowSQL()
           
 void setDbDriver(java.lang.String newDbDriver)
           
 void setDialect(java.lang.String newDialect)
           
 void setName(java.lang.String newName)
           
 void setPassword(java.lang.String newPassword)
           
 void setPort(java.lang.String newPort)
           
 void setProtocol(java.lang.String newProtocol)
           
 void setShowSQL(boolean newShowSQL)
           
 void setUsername(java.lang.String newUsername)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getName

public java.lang.String getName()

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

setName

public void setName(java.lang.String newName)

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

getProtocol

public java.lang.String getProtocol()

Specified by:
getProtocol in interface DataBase
Returns:
the value of the 'Protocol' attribute.
See Also:
DataBase.setProtocol(String), DawncodegenPackage.getDataBase_Protocol()

setProtocol

public void setProtocol(java.lang.String newProtocol)

Specified by:
setProtocol in interface DataBase
Parameters:
newProtocol - the new value of the 'Protocol' attribute.
See Also:
DataBase.getProtocol()

getPort

public java.lang.String getPort()

Specified by:
getPort in interface DataBase
Returns:
the value of the 'Port' attribute.
See Also:
DataBase.setPort(String), DawncodegenPackage.getDataBase_Port()

setPort

public void setPort(java.lang.String newPort)

Specified by:
setPort in interface DataBase
Parameters:
newPort - the new value of the 'Port' attribute.
See Also:
DataBase.getPort()

getDbDriver

public java.lang.String getDbDriver()

Specified by:
getDbDriver in interface DataBase
Returns:
the value of the 'Db Driver' attribute.
See Also:
DataBase.setDbDriver(String), DawncodegenPackage.getDataBase_DbDriver()

setDbDriver

public void setDbDriver(java.lang.String newDbDriver)

Specified by:
setDbDriver in interface DataBase
Parameters:
newDbDriver - the new value of the 'Db Driver' attribute.
See Also:
DataBase.getDbDriver()

isShowSQL

public boolean isShowSQL()

Specified by:
isShowSQL in interface DataBase
Returns:
the value of the 'Show SQL' attribute.
See Also:
DataBase.setShowSQL(boolean), DawncodegenPackage.getDataBase_ShowSQL()

setShowSQL

public void setShowSQL(boolean newShowSQL)

Specified by:
setShowSQL in interface DataBase
Parameters:
newShowSQL - the new value of the 'Show SQL' attribute.
See Also:
DataBase.isShowSQL()

getUsername

public java.lang.String getUsername()

Specified by:
getUsername in interface DataBase
Returns:
the value of the 'Username' attribute.
See Also:
DataBase.setUsername(String), DawncodegenPackage.getDataBase_Username()

setUsername

public void setUsername(java.lang.String newUsername)

Specified by:
setUsername in interface DataBase
Parameters:
newUsername - the new value of the 'Username' attribute.
See Also:
DataBase.getUsername()

getPassword

public java.lang.String getPassword()

Specified by:
getPassword in interface DataBase
Returns:
the value of the 'Password' attribute.
See Also:
DataBase.setPassword(String), DawncodegenPackage.getDataBase_Password()

setPassword

public void setPassword(java.lang.String newPassword)

Specified by:
setPassword in interface DataBase
Parameters:
newPassword - the new value of the 'Password' attribute.
See Also:
DataBase.getPassword()

getDialect

public java.lang.String getDialect()

Specified by:
getDialect in interface DataBase
Returns:
the value of the 'Dialect' attribute.
See Also:
DataBase.setDialect(String), DawncodegenPackage.getDataBase_Dialect()

setDialect

public void setDialect(java.lang.String newDialect)

Specified by:
setDialect in interface DataBase
Parameters:
newDialect - the new value of the 'Dialect' attribute.
See Also:
DataBase.getDialect()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

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