Interface DateTimeDataElement
- All Superinterfaces:
DataElement
,org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
DateTimeDataElementImpl
A representation of the model object 'Date
Time Data Element'.
This type defines a single element of date/time data.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlong
getValue()
Returns the value of the 'Value' attribute.com.ibm.icu.util.Calendar
A convenient method provided to return the datetime value as a Calendar NOTE: Manually writtenA convenient method provided to return the datetime value as a CDateTime wrapper NOTE: Manually writtenboolean
Returns whether the value of the 'Value
' attribute is set.void
setValue
(long value) Sets the value of the 'Value
' attribute.void
Unsets the value of the 'Value
' attribute.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 Details
-
getValue
long getValue()Returns the value of the 'Value' attribute. Holds a single date value as a long.- Returns:
- the value of the 'Value' attribute.
- See Also:
-
setValue
void setValue(long value) Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
-
unsetValue
void unsetValue()Unsets the value of the 'Value
' attribute.- See Also:
-
isSetValue
boolean isSetValue()Returns whether the value of the 'Value
' attribute is set.- Returns:
- whether the value of the 'Value' attribute is set.
- See Also:
-
getValueAsCalendar
com.ibm.icu.util.Calendar getValueAsCalendar()A convenient method provided to return the datetime value as a Calendar NOTE: Manually written- Returns:
-
getValueAsCDateTime
CDateTime getValueAsCDateTime()A convenient method provided to return the datetime value as a CDateTime wrapper NOTE: Manually written- Returns:
-
copyInstance
DateTimeDataElement copyInstance()- Specified by:
copyInstance
in interfaceDataElement
- Specified by:
copyInstance
in interfaceIChartObject
-