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

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.BasicNotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.BasicEObjectImpl
              |
              +--org.eclipse.emf.ecore.impl.EObjectImpl
                    |
                    +--org.eclipse.emf.ecore.impl.EModelElementImpl
                          |
                          +--org.eclipse.emf.ecore.impl.ENamedElementImpl
                                |
                                +--org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
                                      |
                                      +--org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.DataTypeImpl
                                            |
                                            +--org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.SQLDataTypeImpl
                                                  |
                                                  +--org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.PredefinedDataTypeImpl
                                                        |
                                                        +--org.eclipse.wst.rdb.internal.models.sql.datatypes.impl.CharacterStringDataTypeImpl
All Implemented Interfaces:
CharacterStringDataType, commonj.sdo.DataObject, DataType, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.sdo.InternalEDataObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, PredefinedDataType, java.io.Serializable, SQLDataType, SQLObject

public class CharacterStringDataTypeImpl
extends PredefinedDataTypeImpl
implements CharacterStringDataType

An implementation of the model object 'Character String Data Type'.

The following features are implemented:

See Also:
Serialized Form

Inner classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Inner classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
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
 CharacterSet basicGetCharacterSet()
          
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
          
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
          
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
          
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
          
 CharacterSet getCharacterSet()
          
 CoercibilityType getCoercibility()
          
 java.lang.String getCollationName()
          
 int getLength()
          
 boolean isFixedLength()
          
 void setCharacterSet(CharacterSet newCharacterSet)
          
 void setCoercibility(CoercibilityType newCoercibility)
          
 void setCollationName(java.lang.String newCollationName)
          
 void setLength(int newLength)
          
 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, 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, getDependencies, getDescription, getDouble, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getFloat, getInstanceProperties, getInt, getInt, getInt, getLabel, getList, getList, getList, getLong, getLong, getLong, 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.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eStore
 
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, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
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.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eInternalResource, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 

Method Detail

getLength

public int getLength()
Specified by:
getLength in interface CharacterStringDataType
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterStringDataType
Returns:
the value of the 'Length' attribute.
See Also:
CharacterStringDataType.setLength(int), SQLDataTypesPackage.getCharacterStringDataType_Length()

setLength

public void setLength(int newLength)
Specified by:
setLength in interface CharacterStringDataType
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterStringDataType
Parameters:
value - the new value of the 'Length' attribute.
See Also:
CharacterStringDataType.getLength()

getCoercibility

public CoercibilityType getCoercibility()
Specified by:
getCoercibility in interface CharacterStringDataType
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterStringDataType
Returns:
the value of the 'Coercibility' attribute.
See Also:
CoercibilityType, CharacterStringDataType.setCoercibility(CoercibilityType), SQLDataTypesPackage.getCharacterStringDataType_Coercibility()

setCoercibility

public void setCoercibility(CoercibilityType newCoercibility)
Specified by:
setCoercibility in interface CharacterStringDataType
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterStringDataType
Parameters:
value - the new value of the 'Coercibility' attribute.
See Also:
CoercibilityType, CharacterStringDataType.getCoercibility()

isFixedLength

public boolean isFixedLength()
Specified by:
isFixedLength in interface CharacterStringDataType
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterStringDataType
Returns:
the value of the 'Fixed Length' attribute.
See Also:
SQLDataTypesPackage.getCharacterStringDataType_FixedLength()

getCollationName

public java.lang.String getCollationName()
Specified by:
getCollationName in interface CharacterStringDataType
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterStringDataType
Returns:
the value of the 'Collation Name' attribute.
See Also:
CharacterStringDataType.setCollationName(String), SQLDataTypesPackage.getCharacterStringDataType_CollationName()

setCollationName

public void setCollationName(java.lang.String newCollationName)
Specified by:
setCollationName in interface CharacterStringDataType
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterStringDataType
Parameters:
value - the new value of the 'Collation Name' attribute.
See Also:
CharacterStringDataType.getCollationName()

getCharacterSet

public CharacterSet getCharacterSet()
Specified by:
getCharacterSet in interface CharacterStringDataType
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterStringDataType
Returns:
the value of the 'Character Set' reference.
See Also:
CharacterStringDataType.setCharacterSet(CharacterSet), SQLDataTypesPackage.getCharacterStringDataType_CharacterSet()

basicGetCharacterSet

public CharacterSet basicGetCharacterSet()

setCharacterSet

public void setCharacterSet(CharacterSet newCharacterSet)
Specified by:
setCharacterSet in interface CharacterStringDataType
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterStringDataType
Parameters:
value - the new value of the 'Character Set' reference.
See Also:
CharacterStringDataType.getCharacterSet()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   java.lang.Class baseClass,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)
Overrides:
eInverseAdd in class PredefinedDataTypeImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      java.lang.Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)
Overrides:
eInverseRemove in class PredefinedDataTypeImpl

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)
Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class PredefinedDataTypeImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)
Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class PredefinedDataTypeImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class PredefinedDataTypeImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class PredefinedDataTypeImpl

toString

public java.lang.String toString()
Overrides:
toString in class PredefinedDataTypeImpl