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 ScriptValue
copyInstance()
A convenient method to get an instance copy.static ScriptValue
create(java.lang.String script)
A convenience method provided to build a script action value when neededjava.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
getScript()
ScriptExpression
getScriptExpression()
void
setScript(java.lang.String newScript)
void
setScriptExpression(ScriptExpression expression)
java.lang.String
toString()
-
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:
getScript
in 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:
setScript
in 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:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classActionValueImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classActionValueImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classActionValueImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classActionValueImpl
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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:
copyInstance
in interfaceActionValue
- Specified by:
copyInstance
in interfaceIChartObject
- Specified by:
copyInstance
in interfaceScriptValue
- Overrides:
copyInstance
in classActionValueImpl
-
getScriptExpression
public ScriptExpression getScriptExpression()
- Specified by:
getScriptExpression
in interfaceScriptValue
-
setScriptExpression
public void setScriptExpression(ScriptExpression expression)
- Specified by:
setScriptExpression
in interfaceScriptValue
-
-