de.cau.cs.kieler.kev.mapping.impl
Class AnimationImpl

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 de.cau.cs.kieler.kev.mapping.impl.AnimationImpl
All Implemented Interfaces:
Animation, Notifier, EObject, InternalEObject
Direct Known Subclasses:
ColorizeImpl, MoveImpl, MovePathImpl, MoveToImpl, OpacityImpl, RotateImpl, TextImpl

public abstract class AnimationImpl
extends EObjectImpl
implements Animation

An implementation of the model object 'RunnableAnimation'.

The following features are implemented:

Rating red
Generated:
This code was automatically generated.

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected static String ACCESS_ID_EDEFAULT
          The default value of the 'Access ID' attribute.
protected  String accessID
          The cached value of the 'Access ID' attribute.
protected  String input
          The cached value of the 'Input' attribute.
protected static String INPUT_EDEFAULT
          The default value of the 'Input' attribute.
protected  String key
          The cached value of the 'Key' attribute.
protected static String KEY_EDEFAULT
          The default value of the 'Key' attribute.
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected AnimationImpl()
           
 
Method Summary
 void apply(Object jsonObject, String svgElementID)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getAccessID()
           
 String getActualJSONValue(Object jsonObject, String svgElementID)
          This abstract method is equal for all animations.
 String getInput()
           
 String getKey()
           
 void initialize(String svgElementID)
           
 boolean isClonedElement(String svgElementID)
          This method checks whether the given SVGElementID is a clone or not.
 void setAccessID(String newAccessID)
           
 void setInput(String newInput)
           
 void setKey(String newKey)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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, eInvoke, 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
 

Field Detail

INPUT_EDEFAULT

protected static final String INPUT_EDEFAULT
The default value of the 'Input' attribute.

See Also:
getInput()
Generated:
This code was automatically generated.
Ordered

input

protected String input
The cached value of the 'Input' attribute.

See Also:
getInput()
Generated:
This code was automatically generated.
Ordered

ACCESS_ID_EDEFAULT

protected static final String ACCESS_ID_EDEFAULT
The default value of the 'Access ID' attribute.

See Also:
getAccessID(), Constant Field Values
Generated:
This code was automatically generated.
Ordered

accessID

protected String accessID
The cached value of the 'Access ID' attribute.

See Also:
getAccessID()
Generated:
This code was automatically generated.
Ordered

KEY_EDEFAULT

protected static final String KEY_EDEFAULT
The default value of the 'Key' attribute.

See Also:
getKey(), Constant Field Values
Generated:
This code was automatically generated.
Ordered

key

protected String key
The cached value of the 'Key' attribute.

See Also:
getKey()
Generated:
This code was automatically generated.
Ordered
Constructor Detail

AnimationImpl

protected AnimationImpl()

Generated:
This code was automatically generated.
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl
Generated:
This code was automatically generated.

getInput

public String getInput()

Specified by:
getInput in interface Animation
Returns:
the value of the 'Input' attribute.
See Also:
Animation.setInput(String), MappingPackage.getAnimation_Input()
Generated:
This code was automatically generated.

setInput

public void setInput(String newInput)

Specified by:
setInput in interface Animation
Parameters:
newInput - the new value of the 'Input' attribute.
See Also:
Animation.getInput()
Generated:
This code was automatically generated.

getAccessID

public String getAccessID()

Specified by:
getAccessID in interface Animation
Returns:
the value of the 'Access ID' attribute.
See Also:
Animation.setAccessID(String), MappingPackage.getAnimation_AccessID()
Generated:
This code was automatically generated.

setAccessID

public void setAccessID(String newAccessID)

Specified by:
setAccessID in interface Animation
Parameters:
newAccessID - the new value of the 'Access ID' attribute.
See Also:
Animation.getAccessID()
Generated:
This code was automatically generated.

getKey

public String getKey()

Specified by:
getKey in interface Animation
Returns:
the value of the 'Key' attribute.
See Also:
Animation.setKey(String), MappingPackage.getAnimation_Key()
Generated:
This code was automatically generated.

setKey

public void setKey(String newKey)

Specified by:
setKey in interface Animation
Parameters:
newKey - the new value of the 'Key' attribute.
See Also:
Animation.getKey()
Generated:
This code was automatically generated.

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
Generated:
This code was automatically generated.

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
Generated:
This code was automatically generated.

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
Generated:
This code was automatically generated.

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
Generated:
This code was automatically generated.

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl
Generated:
This code was automatically generated.

getActualJSONValue

public String getActualJSONValue(Object jsonObject,
                                 String svgElementID)
This abstract method is equal for all animations. It just returns the jsonValue from the jsonObject, if exists.


apply

public void apply(Object jsonObject,
                  String svgElementID)

Specified by:
apply in interface Animation
Generated:
This code was automatically generated.

initialize

public void initialize(String svgElementID)

Specified by:
initialize in interface Animation
Generated:
This code was automatically generated.

isClonedElement

public boolean isClonedElement(String svgElementID)
This method checks whether the given SVGElementID is a clone or not. Cloned elements must begin with an underscore ("_").

Specified by:
isClonedElement in interface Animation