org.eclipse.datatools.modelbase.sql.datatypes.impl
Class CharacterStringDataTypeImpl

java.lang.Object
  extended by ENamedElementImpl
      extended by org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
          extended by org.eclipse.datatools.modelbase.sql.datatypes.impl.DataTypeImpl
              extended by org.eclipse.datatools.modelbase.sql.datatypes.impl.SQLDataTypeImpl
                  extended by org.eclipse.datatools.modelbase.sql.datatypes.impl.PredefinedDataTypeImpl
                      extended by org.eclipse.datatools.modelbase.sql.datatypes.impl.CharacterStringDataTypeImpl
All Implemented Interfaces:
CharacterStringDataType, DataType, PredefinedDataType, SQLDataType, SQLObject

public class CharacterStringDataTypeImpl
extends PredefinedDataTypeImpl
implements CharacterStringDataType

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

The following features are implemented:


Method Summary
 CharacterSet basicGetCharacterSet()
           
 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)
           
 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.datatools.modelbase.sql.datatypes.impl.PredefinedDataTypeImpl
getPrimitiveType, setPrimitiveType
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.datatypes.impl.DataTypeImpl
setContainer
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, eInverseAdd, eInverseRemove, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.datatypes.PredefinedDataType
getPrimitiveType, setPrimitiveType
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.datatypes.DataType
setContainer
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 

Method Detail

getLength

public int getLength()

Specified by:
getLength in interface 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
Parameters:
newLength - the new value of the 'Length' attribute.
See Also:
CharacterStringDataType.getLength()

getCoercibility

public CoercibilityType getCoercibility()

Specified by:
getCoercibility in interface 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
Parameters:
newCoercibility - the new value of the 'Coercibility' attribute.
See Also:
CoercibilityType, CharacterStringDataType.getCoercibility()

isFixedLength

public boolean isFixedLength()

Specified by:
isFixedLength in interface 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
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
Parameters:
newCollationName - the new value of the 'Collation Name' attribute.
See Also:
CharacterStringDataType.getCollationName()

getCharacterSet

public CharacterSet getCharacterSet()

Specified by:
getCharacterSet in interface 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
Parameters:
newCharacterSet - the new value of the 'Character Set' reference.
See Also:
CharacterStringDataType.getCharacterSet()

eGet

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

Overrides:
eGet in class PredefinedDataTypeImpl

eSet

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

Overrides:
eSet in class PredefinedDataTypeImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class PredefinedDataTypeImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class PredefinedDataTypeImpl

toString

public java.lang.String toString()

Overrides:
toString in class PredefinedDataTypeImpl


Copyright © 2006 -- 2008 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.