org.eclipse.birt.chart.model.attribute.impl
Class DateFormatSpecifierImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.birt.chart.model.attribute.impl.FormatSpecifierImpl
                  extended by org.eclipse.birt.chart.model.attribute.impl.DateFormatSpecifierImpl
All Implemented Interfaces:
DateFormatSpecifier, FormatSpecifier, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class DateFormatSpecifierImpl
extends FormatSpecifierImpl
implements DateFormatSpecifier

An implementation of the model object ' Date Format Specifier'.

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>
 
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
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String format(com.ibm.icu.util.Calendar c, java.util.Locale lcl)
          Formats a calendar value using the date format pattern NOTE: Manually written
 java.lang.String format(com.ibm.icu.util.Calendar c, com.ibm.icu.util.ULocale lcl)
          Formats a calendar value using the date format pattern NOTE: Manually written
 DateFormatDetail getDetail()
           
 DateFormatType getType()
           
 boolean isSetDetail()
           
 boolean isSetType()
           
 void setDetail(DateFormatDetail newDetail)
           
 void setType(DateFormatType newType)
           
 java.lang.String toString()
           
 void unsetDetail()
           
 void unsetType()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, 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, eIsProxy, eIsSet, eResource, eSet, eUnset
 
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

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

getType

public DateFormatType getType()

Specified by:
getType in interface DateFormatSpecifier
Returns:
the value of the 'Type' attribute.
See Also:
DateFormatType, DateFormatSpecifier.isSetType(), DateFormatSpecifier.unsetType(), DateFormatSpecifier.setType(DateFormatType), AttributePackage.getDateFormatSpecifier_Type()

setType

public void setType(DateFormatType newType)

Specified by:
setType in interface DateFormatSpecifier
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
DateFormatType, DateFormatSpecifier.isSetType(), DateFormatSpecifier.unsetType(), DateFormatSpecifier.getType()

unsetType

public void unsetType()

Specified by:
unsetType in interface DateFormatSpecifier
See Also:
DateFormatSpecifier.isSetType(), DateFormatSpecifier.getType(), DateFormatSpecifier.setType(DateFormatType)

isSetType

public boolean isSetType()

Specified by:
isSetType in interface DateFormatSpecifier
Returns:
whether the value of the 'Type' attribute is set.
See Also:
DateFormatSpecifier.unsetType(), DateFormatSpecifier.getType(), DateFormatSpecifier.setType(DateFormatType)

getDetail

public DateFormatDetail getDetail()

Specified by:
getDetail in interface DateFormatSpecifier
Returns:
the value of the 'Detail' attribute.
See Also:
DateFormatDetail, DateFormatSpecifier.isSetDetail(), DateFormatSpecifier.unsetDetail(), DateFormatSpecifier.setDetail(DateFormatDetail), AttributePackage.getDateFormatSpecifier_Detail()

setDetail

public void setDetail(DateFormatDetail newDetail)

Specified by:
setDetail in interface DateFormatSpecifier
Parameters:
newDetail - the new value of the 'Detail' attribute.
See Also:
DateFormatDetail, DateFormatSpecifier.isSetDetail(), DateFormatSpecifier.unsetDetail(), DateFormatSpecifier.getDetail()

unsetDetail

public void unsetDetail()

Specified by:
unsetDetail in interface DateFormatSpecifier
See Also:
DateFormatSpecifier.isSetDetail(), DateFormatSpecifier.getDetail(), DateFormatSpecifier.setDetail(DateFormatDetail)

isSetDetail

public boolean isSetDetail()

Specified by:
isSetDetail in interface DateFormatSpecifier
Returns:
whether the value of the 'Detail' attribute is set.
See Also:
DateFormatSpecifier.unsetDetail(), DateFormatSpecifier.getDetail(), DateFormatSpecifier.setDetail(DateFormatDetail)

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

format

public java.lang.String format(com.ibm.icu.util.Calendar c,
                               com.ibm.icu.util.ULocale lcl)
Description copied from interface: DateFormatSpecifier
Formats a calendar value using the date format pattern NOTE: Manually written

Specified by:
format in interface DateFormatSpecifier

format

public java.lang.String format(com.ibm.icu.util.Calendar c,
                               java.util.Locale lcl)
Description copied from interface: DateFormatSpecifier
Formats a calendar value using the date format pattern NOTE: Manually written

Specified by:
format in interface DateFormatSpecifier


Copyright © 2005-2008 Actuate Corp. All rights reserved.