org.eclipse.datatools.modelbase.sql.datatypes
Interface TimeDataType

All Superinterfaces:
DataType, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, PredefinedDataType, SQLDataType, SQLObject

public interface TimeDataType
extends PredefinedDataType

A representation of the model object 'Time Data Type'. Reference: 5WD-02-Foundation-2002-12 4.6.1 Datetimes

The following features are supported:

See Also:
SQLDataTypesPackage.getTimeDataType()

Method Summary
 int getFractionalSecondsPrecision()
          Returns the value of the 'Fractional Seconds Precision' attribute.
 boolean isTimeZone()
          Returns the value of the 'Time Zone' attribute.
 void setFractionalSecondsPrecision(int value)
          Sets the value of the 'Fractional Seconds Precision' attribute.
 void setTimeZone(boolean value)
          Sets the value of the 'Time Zone' attribute.
 
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, getExtensions, getLabel, getPrivileges, 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, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getFractionalSecondsPrecision

int getFractionalSecondsPrecision()
Returns the value of the 'Fractional Seconds Precision' attribute.

If the meaning of the 'Fractional Seconds Precision' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Fractional Seconds Precision' attribute.
See Also:
setFractionalSecondsPrecision(int), SQLDataTypesPackage.getTimeDataType_FractionalSecondsPrecision()

setFractionalSecondsPrecision

void setFractionalSecondsPrecision(int value)
Sets the value of the 'Fractional Seconds Precision' attribute.

Parameters:
value - the new value of the 'Fractional Seconds Precision' attribute.
See Also:
getFractionalSecondsPrecision()

isTimeZone

boolean isTimeZone()
Returns the value of the 'Time Zone' attribute. The default value is "false".

If the meaning of the 'Time Zone' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Time Zone' attribute.
See Also:
setTimeZone(boolean), SQLDataTypesPackage.getTimeDataType_TimeZone()

setTimeZone

void setTimeZone(boolean value)
Sets the value of the 'Time Zone' attribute.

Parameters:
value - the new value of the 'Time Zone' attribute.
See Also:
isTimeZone()