Class JavaDateFormatSpecifierImpl
- 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.JavaDateFormatSpecifierImpl
-
- All Implemented Interfaces:
FormatSpecifier
,JavaDateFormatSpecifier
,IChartObject
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
public class JavaDateFormatSpecifierImpl extends FormatSpecifierImpl implements JavaDateFormatSpecifier
An implementation of the model object ' Java 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>, 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 JavaDateFormatSpecifier
copyInstance()
static JavaDateFormatSpecifier
create(java.lang.String sJavaPattern)
A convenience methods provided to create an initialized JavaDateFormatSpecifier instance NOTE: Manually writtenjava.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 Java 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 Java date format pattern NOTE: Manually writtenjava.lang.String
getPattern()
void
setPattern(java.lang.String newPattern)
java.lang.String
toString()
-
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
-
getPattern
public java.lang.String getPattern()
- Specified by:
getPattern
in interfaceJavaDateFormatSpecifier
- Returns:
- the value of the 'Pattern' attribute.
- See Also:
JavaDateFormatSpecifier.setPattern(String)
,AttributePackage.getJavaDateFormatSpecifier_Pattern()
-
setPattern
public void setPattern(java.lang.String newPattern)
- Specified by:
setPattern
in interfaceJavaDateFormatSpecifier
- Parameters:
newPattern
- the new value of the 'Pattern' attribute.- See Also:
JavaDateFormatSpecifier.getPattern()
-
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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
create
public static JavaDateFormatSpecifier create(java.lang.String sJavaPattern)
A convenience methods provided to create an initialized JavaDateFormatSpecifier instance NOTE: Manually written- Parameters:
sJavaPattern
-- Returns:
- new instance
-
format
public java.lang.String format(com.ibm.icu.util.Calendar c, com.ibm.icu.util.ULocale lcl)
Description copied from interface:JavaDateFormatSpecifier
Formats a calendar value using the Java date format pattern NOTE: Manually written- Specified by:
format
in interfaceJavaDateFormatSpecifier
-
format
public java.lang.String format(com.ibm.icu.util.Calendar c, java.util.Locale lcl)
Description copied from interface:JavaDateFormatSpecifier
Formats a calendar value using the Java date format pattern NOTE: Manually written- Specified by:
format
in interfaceJavaDateFormatSpecifier
-
copyInstance
public JavaDateFormatSpecifier copyInstance()
- Specified by:
copyInstance
in interfaceFormatSpecifier
- Specified by:
copyInstance
in interfaceIChartObject
- Specified by:
copyInstance
in interfaceJavaDateFormatSpecifier
- Overrides:
copyInstance
in classFormatSpecifierImpl
-
-