|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Interval Data Type'.
4.6 Datetimes and intervals
An interval data type is described by an interval data type descriptor.
An interval data type descriptor contains:
- The name of the interval data type (INTERVAL ).
- An indication of whether the interval data type is a year-month interval or a day-time interval.
- The
The following features are supported:
SQLDataTypesPackage.getIntervalDataType()
Method Summary | |
int |
getFractionalSecondsPrecision()
Returns the value of the 'Fractional Seconds Precision' attribute. |
int |
getLeadingFieldPrecision()
Returns the value of the 'Leading Field Precision' attribute. |
IntervalQualifierType |
getLeadingQualifier()
Returns the value of the 'Leading Qualifier' attribute. |
int |
getTrailingFieldPrecision()
Returns the value of the 'Trailing Field Precision' attribute. |
IntervalQualifierType |
getTrailingQualifier()
Returns the value of the 'Trailing Qualifier' attribute. |
void |
setFractionalSecondsPrecision(int value)
Sets the value of the ' Fractional Seconds Precision ' attribute. |
void |
setLeadingFieldPrecision(int value)
Sets the value of the ' Leading Field Precision ' attribute. |
void |
setLeadingQualifier(IntervalQualifierType value)
Sets the value of the ' Leading Qualifier ' attribute. |
void |
setTrailingFieldPrecision(int value)
Sets the value of the ' Trailing Field Precision ' attribute. |
void |
setTrailingQualifier(IntervalQualifierType value)
Sets the value of the ' Trailing Qualifier ' attribute. |
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, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public IntervalQualifierType getLeadingQualifier()
IntervalQualifierType
.
If the meaning of the 'Leading Qualifier' attribute isn't clear, there really should be more of a description here...
IntervalQualifierType
,
setLeadingQualifier(IntervalQualifierType)
,
SQLDataTypesPackage.getIntervalDataType_LeadingQualifier()
public void setLeadingQualifier(IntervalQualifierType value)
Leading Qualifier
' attribute.
value
- the new value of the 'Leading Qualifier' attribute.IntervalQualifierType
,
getLeadingQualifier()
public IntervalQualifierType getTrailingQualifier()
IntervalQualifierType
.
If the meaning of the 'Trailing Qualifier' attribute isn't clear, there really should be more of a description here...
IntervalQualifierType
,
setTrailingQualifier(IntervalQualifierType)
,
SQLDataTypesPackage.getIntervalDataType_TrailingQualifier()
public void setTrailingQualifier(IntervalQualifierType value)
Trailing Qualifier
' attribute.
value
- the new value of the 'Trailing Qualifier' attribute.IntervalQualifierType
,
getTrailingQualifier()
public int getLeadingFieldPrecision()
If the meaning of the 'Leading Field Precision' attribute isn't clear, there really should be more of a description here...
setLeadingFieldPrecision(int)
,
SQLDataTypesPackage.getIntervalDataType_LeadingFieldPrecision()
public void setLeadingFieldPrecision(int value)
Leading Field Precision
' attribute.
value
- the new value of the 'Leading Field Precision' attribute.getLeadingFieldPrecision()
public int getTrailingFieldPrecision()
If the meaning of the 'Trailing Field Precision' attribute isn't clear, there really should be more of a description here...
setTrailingFieldPrecision(int)
,
SQLDataTypesPackage.getIntervalDataType_TrailingFieldPrecision()
public void setTrailingFieldPrecision(int value)
Trailing Field Precision
' attribute.
value
- the new value of the 'Trailing Field Precision' attribute.getTrailingFieldPrecision()
public int getFractionalSecondsPrecision()
If the meaning of the 'Fractional Seconds Precision' attribute isn't clear, there really should be more of a description here...
setFractionalSecondsPrecision(int)
,
SQLDataTypesPackage.getIntervalDataType_FractionalSecondsPrecision()
public void setFractionalSecondsPrecision(int value)
Fractional Seconds Precision
' attribute.
value
- the new value of the 'Fractional Seconds Precision' attribute.getFractionalSecondsPrecision()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |