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
public class DateTimeDataElementImpl extends DataElementImpl implements DateTimeDataElement
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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTimeDataElementcopyInstance()static DateTimeDataElementcreate(long lValue)A convenience method provided to return an initialized DateTimeDataElementstatic DateTimeDataElementcreate(com.ibm.icu.util.Calendar caValue)A convenience method provided to return an initialized DateTimeDataElementjava.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)longgetValue()com.ibm.icu.util.CalendargetValueAsCalendar()A convenient method provided to return the datetime value as a Calendar NOTE: Manually writtenCDateTimegetValueAsCDateTime()A convenient method provided to return the datetime value as a CDateTime wrapper NOTE: Manually writtenbooleanisSetValue()voidsetValue(long newValue)java.lang.StringtoString()voidunsetValue()-
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
-
-
-
-
Method Detail
-
getValue
public long getValue()
- Specified by:
getValuein interfaceDateTimeDataElement- Returns:
- the value of the 'Value' attribute.
- See Also:
DateTimeDataElement.isSetValue(),DateTimeDataElement.unsetValue(),DateTimeDataElement.setValue(long),DataPackage.getDateTimeDataElement_Value()
-
setValue
public void setValue(long newValue)
- Specified by:
setValuein interfaceDateTimeDataElement- Parameters:
newValue- the new value of the 'Value' attribute.- See Also:
DateTimeDataElement.isSetValue(),DateTimeDataElement.unsetValue(),DateTimeDataElement.getValue()
-
unsetValue
public void unsetValue()
- Specified by:
unsetValuein interfaceDateTimeDataElement- See Also:
DateTimeDataElement.isSetValue(),DateTimeDataElement.getValue(),DateTimeDataElement.setValue(long)
-
isSetValue
public boolean isSetValue()
- Specified by:
isSetValuein interfaceDateTimeDataElement- Returns:
- whether the value of the 'Value' attribute is set.
- See Also:
DateTimeDataElement.unsetValue(),DateTimeDataElement.getValue(),DateTimeDataElement.setValue(long)
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
create
public static final DateTimeDataElement create(com.ibm.icu.util.Calendar caValue)
A convenience method provided to return an initialized DateTimeDataElement- Parameters:
dtdeValue-- Returns:
-
create
public static final DateTimeDataElement create(long lValue)
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:DateTimeDataElementA convenient method provided to return the datetime value as a Calendar NOTE: Manually written- Specified by:
getValueAsCalendarin interfaceDateTimeDataElement- Returns:
-
getValueAsCDateTime
public final CDateTime getValueAsCDateTime()
Description copied from interface:DateTimeDataElementA convenient method provided to return the datetime value as a CDateTime wrapper NOTE: Manually written- Specified by:
getValueAsCDateTimein interfaceDateTimeDataElement- Returns:
-
copyInstance
public DateTimeDataElement copyInstance()
- Specified by:
copyInstancein interfaceDataElement- Specified by:
copyInstancein interfaceDateTimeDataElement- Specified by:
copyInstancein interfaceIChartObject- Overrides:
copyInstancein classDataElementImpl
-
-