com.ibm.db.models.db2.luw.impl
Class LUWFunctionMappingImpl

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 org.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
                              extended by com.ibm.db.models.db2.luw.impl.LUWFunctionMappingImpl
All Implemented Interfaces:
LUWFunctionMapping, commonj.sdo.DataObject, java.io.Serializable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.sdo.InternalEDataObject, org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject

public class LUWFunctionMappingImpl
extends org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
implements LUWFunctionMapping

An implementation of the model object 'Function Mapping'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
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
 
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
 DB2Function basicGetLocalFunction()
           
 LUWDatabase basicGetLUWDatabase()
           
 org.eclipse.wst.rdb.internal.models.sql.routines.Function basicGetRemoteFunction()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetLUWDatabase(LUWDatabase newLUWDatabase, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.util.Date getCreationTime()
           
 int getInstsPerArgByte()
           
 int getInstsPerInvoc()
           
 int getIosPerArgByte()
           
 int getIosPerInvoc()
           
 DB2Function getLocalFunction()
           
 LUWDatabase getLUWDatabase()
           
 org.eclipse.emf.common.util.EList getOptions()
           
 org.eclipse.wst.rdb.internal.models.sql.routines.Function getRemoteFunction()
           
 java.lang.String getServerName()
           
 java.lang.String getServerType()
           
 java.lang.String getServerVersion()
           
 boolean isDisabled()
           
 void setCreationTime(java.util.Date newCreationTime)
           
 void setDisabled(boolean newDisabled)
           
 void setInstsPerArgByte(int newInstsPerArgByte)
           
 void setInstsPerInvoc(int newInstsPerInvoc)
           
 void setIosPerArgByte(int newIosPerArgByte)
           
 void setIosPerInvoc(int newIosPerInvoc)
           
 void setLocalFunction(DB2Function newLocalFunction)
           
 void setLUWDatabase(LUWDatabase newLUWDatabase)
           
 void setRemoteFunction(org.eclipse.wst.rdb.internal.models.sql.routines.Function newRemoteFunction)
           
 void setServerName(java.lang.String newServerName)
           
 void setServerType(java.lang.String newServerType)
           
 void setServerVersion(java.lang.String newServerVersion)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getComments, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getFloat, getInstanceProperties, getInt, getInt, getInt, getLabel, getList, getList, getList, getLong, getLong, getLong, getPrivileges, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, removeEAnnotationDetail, set, set, set, setAnnotationDetail, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDescription, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setLabel, 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.ENamedElementImpl
getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, 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.wst.rdb.internal.models.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.sdo.EDataObject
getInstanceProperties
 
Methods inherited from interface commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, 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, 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
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 

Method Detail

getServerType

public java.lang.String getServerType()

Specified by:
getServerType in interface LUWFunctionMapping
Returns:
the value of the 'Server Type' attribute.
See Also:
LUWFunctionMapping.setServerType(String), LUWPackage.getLUWFunctionMapping_ServerType()

setServerType

public void setServerType(java.lang.String newServerType)

Specified by:
setServerType in interface LUWFunctionMapping
Parameters:
newServerType - the new value of the 'Server Type' attribute.
See Also:
LUWFunctionMapping.getServerType()

getServerVersion

public java.lang.String getServerVersion()

Specified by:
getServerVersion in interface LUWFunctionMapping
Returns:
the value of the 'Server Version' attribute.
See Also:
LUWFunctionMapping.setServerVersion(String), LUWPackage.getLUWFunctionMapping_ServerVersion()

setServerVersion

public void setServerVersion(java.lang.String newServerVersion)

Specified by:
setServerVersion in interface LUWFunctionMapping
Parameters:
newServerVersion - the new value of the 'Server Version' attribute.
See Also:
LUWFunctionMapping.getServerVersion()

getServerName

public java.lang.String getServerName()

Specified by:
getServerName in interface LUWFunctionMapping
Returns:
the value of the 'Server Name' attribute.
See Also:
LUWFunctionMapping.setServerName(String), LUWPackage.getLUWFunctionMapping_ServerName()

setServerName

public void setServerName(java.lang.String newServerName)

Specified by:
setServerName in interface LUWFunctionMapping
Parameters:
newServerName - the new value of the 'Server Name' attribute.
See Also:
LUWFunctionMapping.getServerName()

getCreationTime

public java.util.Date getCreationTime()

Specified by:
getCreationTime in interface LUWFunctionMapping
Returns:
the value of the 'Creation Time' attribute.
See Also:
LUWFunctionMapping.setCreationTime(Date), LUWPackage.getLUWFunctionMapping_CreationTime()

setCreationTime

public void setCreationTime(java.util.Date newCreationTime)

Specified by:
setCreationTime in interface LUWFunctionMapping
Parameters:
newCreationTime - the new value of the 'Creation Time' attribute.
See Also:
LUWFunctionMapping.getCreationTime()

isDisabled

public boolean isDisabled()

Specified by:
isDisabled in interface LUWFunctionMapping
Returns:
the value of the 'Disabled' attribute.
See Also:
LUWFunctionMapping.setDisabled(boolean), LUWPackage.getLUWFunctionMapping_Disabled()

setDisabled

public void setDisabled(boolean newDisabled)

Specified by:
setDisabled in interface LUWFunctionMapping
Parameters:
newDisabled - the new value of the 'Disabled' attribute.
See Also:
LUWFunctionMapping.isDisabled()

getInstsPerInvoc

public int getInstsPerInvoc()

Specified by:
getInstsPerInvoc in interface LUWFunctionMapping
Returns:
the value of the 'Insts Per Invoc' attribute.
See Also:
LUWFunctionMapping.setInstsPerInvoc(int), LUWPackage.getLUWFunctionMapping_InstsPerInvoc()

setInstsPerInvoc

public void setInstsPerInvoc(int newInstsPerInvoc)

Specified by:
setInstsPerInvoc in interface LUWFunctionMapping
Parameters:
newInstsPerInvoc - the new value of the 'Insts Per Invoc' attribute.
See Also:
LUWFunctionMapping.getInstsPerInvoc()

getInstsPerArgByte

public int getInstsPerArgByte()

Specified by:
getInstsPerArgByte in interface LUWFunctionMapping
Returns:
the value of the 'Insts Per Arg Byte' attribute.
See Also:
LUWFunctionMapping.setInstsPerArgByte(int), LUWPackage.getLUWFunctionMapping_InstsPerArgByte()

setInstsPerArgByte

public void setInstsPerArgByte(int newInstsPerArgByte)

Specified by:
setInstsPerArgByte in interface LUWFunctionMapping
Parameters:
newInstsPerArgByte - the new value of the 'Insts Per Arg Byte' attribute.
See Also:
LUWFunctionMapping.getInstsPerArgByte()

getIosPerInvoc

public int getIosPerInvoc()

Specified by:
getIosPerInvoc in interface LUWFunctionMapping
Returns:
the value of the 'Ios Per Invoc' attribute.
See Also:
LUWFunctionMapping.setIosPerInvoc(int), LUWPackage.getLUWFunctionMapping_IosPerInvoc()

setIosPerInvoc

public void setIosPerInvoc(int newIosPerInvoc)

Specified by:
setIosPerInvoc in interface LUWFunctionMapping
Parameters:
newIosPerInvoc - the new value of the 'Ios Per Invoc' attribute.
See Also:
LUWFunctionMapping.getIosPerInvoc()

getIosPerArgByte

public int getIosPerArgByte()

Specified by:
getIosPerArgByte in interface LUWFunctionMapping
Returns:
the value of the 'Ios Per Arg Byte' attribute.
See Also:
LUWFunctionMapping.setIosPerArgByte(int), LUWPackage.getLUWFunctionMapping_IosPerArgByte()

setIosPerArgByte

public void setIosPerArgByte(int newIosPerArgByte)

Specified by:
setIosPerArgByte in interface LUWFunctionMapping
Parameters:
newIosPerArgByte - the new value of the 'Ios Per Arg Byte' attribute.
See Also:
LUWFunctionMapping.getIosPerArgByte()

getOptions

public org.eclipse.emf.common.util.EList getOptions()

Specified by:
getOptions in interface LUWFunctionMapping
Returns:
the value of the 'Options' containment reference list.
See Also:
LUWPackage.getLUWFunctionMapping_Options()

getLocalFunction

public DB2Function getLocalFunction()

Specified by:
getLocalFunction in interface LUWFunctionMapping
Returns:
the value of the 'Local Function' reference.
See Also:
LUWFunctionMapping.setLocalFunction(DB2Function), LUWPackage.getLUWFunctionMapping_LocalFunction()

basicGetLocalFunction

public DB2Function basicGetLocalFunction()


setLocalFunction

public void setLocalFunction(DB2Function newLocalFunction)

Specified by:
setLocalFunction in interface LUWFunctionMapping
Parameters:
newLocalFunction - the new value of the 'Local Function' reference.
See Also:
LUWFunctionMapping.getLocalFunction()

getRemoteFunction

public org.eclipse.wst.rdb.internal.models.sql.routines.Function getRemoteFunction()

Specified by:
getRemoteFunction in interface LUWFunctionMapping
Returns:
the value of the 'Remote Function' reference.
See Also:
LUWFunctionMapping.setRemoteFunction(Function), LUWPackage.getLUWFunctionMapping_RemoteFunction()

basicGetRemoteFunction

public org.eclipse.wst.rdb.internal.models.sql.routines.Function basicGetRemoteFunction()


setRemoteFunction

public void setRemoteFunction(org.eclipse.wst.rdb.internal.models.sql.routines.Function newRemoteFunction)

Specified by:
setRemoteFunction in interface LUWFunctionMapping
Parameters:
newRemoteFunction - the new value of the 'Remote Function' reference.
See Also:
LUWFunctionMapping.getRemoteFunction()

getLUWDatabase

public LUWDatabase getLUWDatabase()

Specified by:
getLUWDatabase in interface LUWFunctionMapping
Returns:
the value of the 'LUW Database' reference.
See Also:
LUWFunctionMapping.setLUWDatabase(LUWDatabase), LUWPackage.getLUWFunctionMapping_LUWDatabase(), LUWDatabase.getFunctionMappings()

basicGetLUWDatabase

public LUWDatabase basicGetLUWDatabase()


basicSetLUWDatabase

public org.eclipse.emf.common.notify.NotificationChain basicSetLUWDatabase(LUWDatabase newLUWDatabase,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)


setLUWDatabase

public void setLUWDatabase(LUWDatabase newLUWDatabase)

Specified by:
setLUWDatabase in interface LUWFunctionMapping
Parameters:
newLUWDatabase - the new value of the 'LUW Database' reference.
See Also:
LUWFunctionMapping.getLUWDatabase()

eInverseAdd

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

Overrides:
eInverseAdd in class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl

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.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl

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.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl

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.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl