Class DateTimeDataElementImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.birt.chart.model.data.impl.DataElementImpl
org.eclipse.birt.chart.model.data.impl.DateTimeDataElementImpl
- All Implemented Interfaces:
DataElement
,DateTimeDataElement
,IChartObject
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object ' Date
Time Data Element'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Method Summary
Modifier and TypeMethodDescriptionstatic final DateTimeDataElement
create
(long lValue) A convenience method provided to return an initialized DateTimeDataElementstatic final DateTimeDataElement
create
(com.ibm.icu.util.Calendar caValue) A convenience method provided to return an initialized DateTimeDataElementeGet
(int featureID, boolean resolve, boolean coreType) boolean
eIsSet
(int featureID) void
void
eUnset
(int featureID) long
getValue()
final com.ibm.icu.util.Calendar
A convenient method provided to return the datetime value as a Calendar NOTE: Manually writtenfinal CDateTime
A convenient method provided to return the datetime value as a CDateTime wrapper NOTE: Manually writtenboolean
void
setValue
(long newValue) toString()
void
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getValue
public long getValue()- Specified by:
getValue
in interfaceDateTimeDataElement
- Returns:
- the value of the 'Value' attribute.
- See Also:
-
setValue
public void setValue(long newValue) - Specified by:
setValue
in interfaceDateTimeDataElement
- Parameters:
newValue
- the new value of the 'Value' attribute.- See Also:
-
unsetValue
public void unsetValue()- Specified by:
unsetValue
in interfaceDateTimeDataElement
- See Also:
-
isSetValue
public boolean isSetValue()- Specified by:
isSetValue
in interfaceDateTimeDataElement
- Returns:
- whether the value of the 'Value' attribute is set.
- See Also:
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
create
A convenience method provided to return an initialized DateTimeDataElement- Parameters:
dtdeValue
-- Returns:
-
create
A convenience method provided to return an initialized DateTimeDataElement- Parameters:
dtdeValue
-- Returns:
-
getValueAsCalendar
public final com.ibm.icu.util.Calendar getValueAsCalendar()Description copied from interface:DateTimeDataElement
A convenient method provided to return the datetime value as a Calendar NOTE: Manually written- Specified by:
getValueAsCalendar
in interfaceDateTimeDataElement
- Returns:
-
getValueAsCDateTime
Description copied from interface:DateTimeDataElement
A convenient method provided to return the datetime value as a CDateTime wrapper NOTE: Manually written- Specified by:
getValueAsCDateTime
in interfaceDateTimeDataElement
- Returns:
-
copyInstance
- Specified by:
copyInstance
in interfaceDataElement
- Specified by:
copyInstance
in interfaceDateTimeDataElement
- Specified by:
copyInstance
in interfaceIChartObject
- Overrides:
copyInstance
in classDataElementImpl
-