Class DateFormatSpecifierImpl
- 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.attribute.impl.FormatSpecifierImpl
-
- org.eclipse.birt.chart.model.attribute.impl.DateFormatSpecifierImpl
-
- All Implemented Interfaces:
DateFormatSpecifier
,FormatSpecifier
,IChartObject
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
public class DateFormatSpecifierImpl extends FormatSpecifierImpl implements DateFormatSpecifier
-
-
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 Instance Methods Concrete Methods Modifier and Type Method Description DateFormatSpecifier
copyInstance()
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, com.ibm.icu.util.ULocale lcl)
Formats a calendar value using the date format pattern NOTE: Manually writtenjava.lang.String
format(com.ibm.icu.util.Calendar c, java.util.Locale lcl)
Formats a calendar value using the date format pattern NOTE: Manually writtenDateFormatDetail
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, 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getType
public DateFormatType getType()
- Specified by:
getType
in interfaceDateFormatSpecifier
- 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 interfaceDateFormatSpecifier
- 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 interfaceDateFormatSpecifier
- See Also:
DateFormatSpecifier.isSetType()
,DateFormatSpecifier.getType()
,DateFormatSpecifier.setType(DateFormatType)
-
isSetType
public boolean isSetType()
- Specified by:
isSetType
in interfaceDateFormatSpecifier
- 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 interfaceDateFormatSpecifier
- 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 interfaceDateFormatSpecifier
- 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 interfaceDateFormatSpecifier
- See Also:
DateFormatSpecifier.isSetDetail()
,DateFormatSpecifier.getDetail()
,DateFormatSpecifier.setDetail(DateFormatDetail)
-
isSetDetail
public boolean isSetDetail()
- Specified by:
isSetDetail
in interfaceDateFormatSpecifier
- 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 interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- 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
-
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 interfaceDateFormatSpecifier
-
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 interfaceDateFormatSpecifier
-
copyInstance
public DateFormatSpecifier copyInstance()
- Specified by:
copyInstance
in interfaceDateFormatSpecifier
- Specified by:
copyInstance
in interfaceFormatSpecifier
- Specified by:
copyInstance
in interfaceIChartObject
- Overrides:
copyInstance
in classFormatSpecifierImpl
-
-