org.eclipse.wst.rdb.internal.models.sql.datatypes.impl
Class DataLinkDataTypeImpl

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 org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.DataTypeImpl
                                  extended by org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.SQLDataTypeImpl
                                      extended by org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.PredefinedDataTypeImpl
                                          extended by org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.DataLinkDataTypeImpl
All Implemented Interfaces:
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, DataLinkDataType, DataType, PredefinedDataType, SQLDataType, SQLObject

public class DataLinkDataTypeImpl
extends PredefinedDataTypeImpl
implements DataLinkDataType

An implementation of the model object 'Data Link Data Type'.

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
 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)
           
 IntegrityControlOption getIntegrityControl()
           
 int getLength()
           
 LinkControlOption getLinkControl()
           
 ReadPermissionOption getReadPermission()
           
 UnlinkOption getUnlink()
           
 WritePermissionOption getWritePermission()
           
 boolean isRecovery()
           
 void setIntegrityControl(IntegrityControlOption newIntegrityControl)
           
 void setLength(int newLength)
           
 void setLinkControl(LinkControlOption newLinkControl)
           
 void setReadPermission(ReadPermissionOption newReadPermission)
           
 void setRecovery(boolean newRecovery)
           
 void setUnlink(UnlinkOption newUnlink)
           
 void setWritePermission(WritePermissionOption newWritePermission)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.PredefinedDataTypeImpl
getPrimitiveType, setPrimitiveType
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.DataTypeImpl
setContainer
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, eInverseAdd, eInverseRemove, 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.datatypes.PredefinedDataType
getPrimitiveType, setPrimitiveType
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.datatypes.DataType
setContainer
 
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

getLength

public int getLength()

Specified by:
getLength in interface DataLinkDataType
Returns:
the value of the 'Length' attribute.
See Also:
DataLinkDataType.setLength(int), SQLDataTypesPackage.getDataLinkDataType_Length()

setLength

public void setLength(int newLength)

Specified by:
setLength in interface DataLinkDataType
Parameters:
newLength - the new value of the 'Length' attribute.
See Also:
DataLinkDataType.getLength()

getLinkControl

public LinkControlOption getLinkControl()

Specified by:
getLinkControl in interface DataLinkDataType
Returns:
the value of the 'Link Control' attribute.
See Also:
LinkControlOption, DataLinkDataType.setLinkControl(LinkControlOption), SQLDataTypesPackage.getDataLinkDataType_LinkControl()

setLinkControl

public void setLinkControl(LinkControlOption newLinkControl)

Specified by:
setLinkControl in interface DataLinkDataType
Parameters:
newLinkControl - the new value of the 'Link Control' attribute.
See Also:
LinkControlOption, DataLinkDataType.getLinkControl()

getIntegrityControl

public IntegrityControlOption getIntegrityControl()

Specified by:
getIntegrityControl in interface DataLinkDataType
Returns:
the value of the 'Integrity Control' attribute.
See Also:
IntegrityControlOption, DataLinkDataType.setIntegrityControl(IntegrityControlOption), SQLDataTypesPackage.getDataLinkDataType_IntegrityControl()

setIntegrityControl

public void setIntegrityControl(IntegrityControlOption newIntegrityControl)

Specified by:
setIntegrityControl in interface DataLinkDataType
Parameters:
newIntegrityControl - the new value of the 'Integrity Control' attribute.
See Also:
IntegrityControlOption, DataLinkDataType.getIntegrityControl()

getReadPermission

public ReadPermissionOption getReadPermission()

Specified by:
getReadPermission in interface DataLinkDataType
Returns:
the value of the 'Read Permission' attribute.
See Also:
ReadPermissionOption, DataLinkDataType.setReadPermission(ReadPermissionOption), SQLDataTypesPackage.getDataLinkDataType_ReadPermission()

setReadPermission

public void setReadPermission(ReadPermissionOption newReadPermission)

Specified by:
setReadPermission in interface DataLinkDataType
Parameters:
newReadPermission - the new value of the 'Read Permission' attribute.
See Also:
ReadPermissionOption, DataLinkDataType.getReadPermission()

getWritePermission

public WritePermissionOption getWritePermission()

Specified by:
getWritePermission in interface DataLinkDataType
Returns:
the value of the 'Write Permission' attribute.
See Also:
WritePermissionOption, DataLinkDataType.setWritePermission(WritePermissionOption), SQLDataTypesPackage.getDataLinkDataType_WritePermission()

setWritePermission

public void setWritePermission(WritePermissionOption newWritePermission)

Specified by:
setWritePermission in interface DataLinkDataType
Parameters:
newWritePermission - the new value of the 'Write Permission' attribute.
See Also:
WritePermissionOption, DataLinkDataType.getWritePermission()

isRecovery

public boolean isRecovery()

Specified by:
isRecovery in interface DataLinkDataType
Returns:
the value of the 'Recovery' attribute.
See Also:
DataLinkDataType.setRecovery(boolean), SQLDataTypesPackage.getDataLinkDataType_Recovery()

setRecovery

public void setRecovery(boolean newRecovery)

Specified by:
setRecovery in interface DataLinkDataType
Parameters:
newRecovery - the new value of the 'Recovery' attribute.
See Also:
DataLinkDataType.isRecovery()

getUnlink

public UnlinkOption getUnlink()

Specified by:
getUnlink in interface DataLinkDataType
Returns:
the value of the 'Unlink' attribute.
See Also:
UnlinkOption, DataLinkDataType.setUnlink(UnlinkOption), SQLDataTypesPackage.getDataLinkDataType_Unlink()

setUnlink

public void setUnlink(UnlinkOption newUnlink)

Specified by:
setUnlink in interface DataLinkDataType
Parameters:
newUnlink - the new value of the 'Unlink' attribute.
See Also:
UnlinkOption, DataLinkDataType.getUnlink()

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 PredefinedDataTypeImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class PredefinedDataTypeImpl