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

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.StyleMapImpl
All Implemented Interfaces:
StyleMap, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class StyleMapImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements StyleMap

An implementation of the model object ' Style Map'.

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
 org.eclipse.emf.common.notify.NotificationChain basicSetStyle(Style newStyle, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 StyleMap copyInstance()
          A convenient method to get an instance copy.
static StyleMap create(org.eclipse.emf.ecore.EObject parent, org.eclipse.emf.ecore.EReference ref)
           
static StyleMap create(StyledComponent name, Style style)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 StyledComponent getComponentName()
           
 Style getStyle()
           
 boolean isSetComponentName()
           
 void setComponentName(StyledComponent newComponentName)
           
 void setStyle(Style newStyle)
           
 java.lang.String toString()
           
 void unsetComponentName()
           
 
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, 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

getComponentName

public StyledComponent getComponentName()

Specified by:
getComponentName in interface StyleMap
Returns:
the value of the 'Component Name' attribute.
See Also:
StyledComponent, StyleMap.isSetComponentName(), StyleMap.unsetComponentName(), StyleMap.setComponentName(StyledComponent), AttributePackage.getStyleMap_ComponentName()

setComponentName

public void setComponentName(StyledComponent newComponentName)

Specified by:
setComponentName in interface StyleMap
Parameters:
newComponentName - the new value of the 'Component Name' attribute.
See Also:
StyledComponent, StyleMap.isSetComponentName(), StyleMap.unsetComponentName(), StyleMap.getComponentName()

unsetComponentName

public void unsetComponentName()

Specified by:
unsetComponentName in interface StyleMap
See Also:
StyleMap.isSetComponentName(), StyleMap.getComponentName(), StyleMap.setComponentName(StyledComponent)

isSetComponentName

public boolean isSetComponentName()

Specified by:
isSetComponentName in interface StyleMap
Returns:
whether the value of the 'Component Name' attribute is set.
See Also:
StyleMap.unsetComponentName(), StyleMap.getComponentName(), StyleMap.setComponentName(StyledComponent)

getStyle

public Style getStyle()

Specified by:
getStyle in interface StyleMap
Returns:
the value of the 'Style' containment reference.
See Also:
StyleMap.setStyle(Style), AttributePackage.getStyleMap_Style()

basicSetStyle

public org.eclipse.emf.common.notify.NotificationChain basicSetStyle(Style newStyle,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setStyle

public void setStyle(Style newStyle)

Specified by:
setStyle in interface StyleMap
Parameters:
newStyle - the new value of the 'Style' containment reference.
See Also:
StyleMap.getStyle()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

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

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

toString

public java.lang.String toString()

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

create

public static StyleMap create(StyledComponent name,
                              Style style)
Parameters:
name -
style -
Returns:

copyInstance

public StyleMap copyInstance()
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().

Specified by:
copyInstance in interface StyleMap

create

public static StyleMap create(org.eclipse.emf.ecore.EObject parent,
                              org.eclipse.emf.ecore.EReference ref)


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