org.eclipse.birt.chart.model.data.impl
Class DateTimeDataElementImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.birt.chart.model.data.impl.DataElementImpl
                  extended byorg.eclipse.birt.chart.model.data.impl.DateTimeDataElementImpl
All Implemented Interfaces:
DataElement, DateTimeDataElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier

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 inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class 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
static DateTimeDataElement create(java.util.Calendar caValue)
          A convenience method provided to return an initialized DateTimeDataElement
static DateTimeDataElement create(long lValue)
          A convenience method provided to return an initialized DateTimeDataElement
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 long getValue()
           
 java.util.Calendar getValueAsCalendar()
          A convenient method provided to return the datetime value as a java.util.Calendar NOTE: Manually written
 CDateTime getValueAsCDateTime()
          A convenient method provided to return the datetime value as a CDateTime wrapper NOTE: Manually written
 boolean isSetValue()
           
 void setValue(long newValue)
           
 java.lang.String toString()
           
 void unsetValue()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eInverseAdd, eInverseRemove, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 
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, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getValue

public long getValue()

Specified by:
getValue in interface DateTimeDataElement
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:
setValue in interface DateTimeDataElement
Parameters:
newValue - the new value of the 'Value' attribute.
See Also:
DateTimeDataElement.isSetValue(), DateTimeDataElement.unsetValue(), DateTimeDataElement.getValue()

unsetValue

public void unsetValue()

Specified by:
unsetValue in interface DateTimeDataElement
See Also:
DateTimeDataElement.isSetValue(), DateTimeDataElement.getValue(), DateTimeDataElement.setValue(long)

isSetValue

public boolean isSetValue()

Specified by:
isSetValue in interface DateTimeDataElement
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(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject

toString

public java.lang.String toString()


create

public static final DateTimeDataElement create(java.util.Calendar caValue)
A convenience method provided to return an initialized DateTimeDataElement

Returns:

create

public static final DateTimeDataElement create(long lValue)
A convenience method provided to return an initialized DateTimeDataElement

Returns:

getValueAsCalendar

public final java.util.Calendar getValueAsCalendar()
Description copied from interface: DateTimeDataElement
A convenient method provided to return the datetime value as a java.util.Calendar NOTE: Manually written

Specified by:
getValueAsCalendar in interface DateTimeDataElement
Returns:

getValueAsCDateTime

public final CDateTime 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 interface DateTimeDataElement
Returns:


Copyright © 2005 Actuate Corp. All rights reserved.