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

java.lang.Object
  extended byENamedElementImpl
      extended byorg.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
          extended byorg.eclipse.datatools.modelbase.sql.datatypes.impl.DataTypeImpl
              extended byorg.eclipse.datatools.modelbase.sql.datatypes.impl.SQLDataTypeImpl
                  extended byorg.eclipse.datatools.modelbase.sql.datatypes.impl.PredefinedDataTypeImpl
                      extended byorg.eclipse.datatools.modelbase.sql.datatypes.impl.TimeDataTypeImpl
All Implemented Interfaces:
DataType, PredefinedDataType, SQLDataType, SQLObject, TimeDataType

public class TimeDataTypeImpl
extends PredefinedDataTypeImpl
implements TimeDataType

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

The following features are implemented:

See Also:
Serialized Form

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)
           
 int getFractionalSecondsPrecision()
           
 boolean isTimeZone()
           
 void setFractionalSecondsPrecision(int newFractionalSecondsPrecision)
           
 void setTimeZone(boolean newTimeZone)
           
 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, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, eInverseAdd, eInverseRemove, get, get, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getChar, getChar, getComments, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getInstanceProperties, getInt, getInt, getLabel, getList, getList, getLong, getLong, getPrivileges, getSequence, getSequence, getShort, getShort, getString, getString, getType, isSet, isSet, removeEAnnotationDetail, set, set, setAnnotationDetail, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBoolean, setBoolean, setByte, setByte, setBytes, setBytes, setChar, setChar, setDataObject, setDataObject, setDate, setDate, setDescription, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLabel, setList, setList, setLong, setLong, setShort, setShort, setString, setString, unset, unset, writeReplace
 
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

getFractionalSecondsPrecision

public int getFractionalSecondsPrecision()

Specified by:
getFractionalSecondsPrecision in interface TimeDataType
Returns:
the value of the 'Fractional Seconds Precision' attribute.
See Also:
TimeDataType.setFractionalSecondsPrecision(int), SQLDataTypesPackage.getTimeDataType_FractionalSecondsPrecision()

setFractionalSecondsPrecision

public void setFractionalSecondsPrecision(int newFractionalSecondsPrecision)

Specified by:
setFractionalSecondsPrecision in interface TimeDataType
Parameters:
newFractionalSecondsPrecision - the new value of the 'Fractional Seconds Precision' attribute.
See Also:
TimeDataType.getFractionalSecondsPrecision()

isTimeZone

public boolean isTimeZone()

Specified by:
isTimeZone in interface TimeDataType
Returns:
the value of the 'Time Zone' attribute.
See Also:
TimeDataType.setTimeZone(boolean), SQLDataTypesPackage.getTimeDataType_TimeZone()

setTimeZone

public void setTimeZone(boolean newTimeZone)

Specified by:
setTimeZone in interface TimeDataType
Parameters:
newTimeZone - the new value of the 'Time Zone' attribute.
See Also:
TimeDataType.isTimeZone()

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 © 2007 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.