Class ScriptValueImpl
- 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.ActionValueImpl
-
- org.eclipse.birt.chart.model.attribute.impl.ScriptValueImpl
-
- All Implemented Interfaces:
ActionValue,ScriptValue,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
public class ScriptValueImpl extends ActionValueImpl implements ScriptValue
An implementation of the model object ' Script Value'.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 ScriptValuecopyInstance()A convenient method to get an instance copy.static ScriptValuecreate(java.lang.String script)A convenience method provided to build a script action value when neededjava.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)java.lang.StringgetScript()ScriptExpressiongetScriptExpression()voidsetScript(java.lang.String newScript)voidsetScriptExpression(ScriptExpression expression)java.lang.StringtoString()-
Methods inherited from class org.eclipse.birt.chart.model.attribute.impl.ActionValueImpl
basicSetLabel, eInverseRemove, getLabel, setLabel
-
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, 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
-
Methods inherited from interface org.eclipse.birt.chart.model.attribute.ActionValue
getLabel, setLabel
-
-
-
-
Method Detail
-
getScript
public java.lang.String getScript()
- Specified by:
getScriptin interfaceScriptValue- Returns:
- the value of the 'Script' attribute.
- See Also:
ScriptValue.setScript(String),AttributePackage.getScriptValue_Script()
-
setScript
public void setScript(java.lang.String newScript)
- Specified by:
setScriptin interfaceScriptValue- Parameters:
newScript- the new value of the 'Script' attribute.- See Also:
ScriptValue.getScript()
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classActionValueImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classActionValueImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classActionValueImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classActionValueImpl
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
create
public static final ScriptValue create(java.lang.String script)
A convenience method provided to build a script action value when needed- Parameters:
script-- Returns:
-
copyInstance
public ScriptValue copyInstance()
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().- Specified by:
copyInstancein interfaceActionValue- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceScriptValue- Overrides:
copyInstancein classActionValueImpl
-
getScriptExpression
public ScriptExpression getScriptExpression()
- Specified by:
getScriptExpressionin interfaceScriptValue
-
setScriptExpression
public void setScriptExpression(ScriptExpression expression)
- Specified by:
setScriptExpressionin interfaceScriptValue
-
-