org.eclipse.ocl.examples.xtext.markup.impl
Class FigureElementImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.ocl.examples.xtext.markup.impl.MarkupElementImpl
                      extended by org.eclipse.ocl.examples.xtext.markup.impl.FigureElementImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, FigureElement, MarkupElement

public class FigureElementImpl
extends MarkupElementImpl
implements FigureElement

An implementation of the model object 'Fig Element'.

The following features are implemented:

Generated

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static int ACTUAL_HEIGHT_EDEFAULT
          The default value of the 'Actual Height' attribute.
protected static int ACTUAL_WIDTH_EDEFAULT
          The default value of the 'Actual Width' attribute.
protected  java.lang.String alt
          The cached value of the 'Alt' attribute.
protected static java.lang.String ALT_EDEFAULT
          The default value of the 'Alt' attribute.
protected  java.lang.String def
          The cached value of the 'Def' attribute.
protected static java.lang.String DEF_EDEFAULT
          The default value of the 'Def' attribute.
protected static int ID_EDEFAULT
          The default value of the 'Id' attribute.
protected static java.lang.String REQUIRED_HEIGHT_EDEFAULT
          The default value of the 'Required Height' attribute.
protected static java.lang.String REQUIRED_WIDTH_EDEFAULT
          The default value of the 'Required Width' attribute.
protected  java.lang.String requiredHeight
          The cached value of the 'Required Height' attribute.
protected  java.lang.String requiredWidth
          The cached value of the 'Required Width' attribute.
protected  java.lang.String src
          The cached value of the 'Src' attribute.
protected static java.lang.String SRC_EDEFAULT
          The default value of the 'Src' attribute.
 
Fields inherited from class org.eclipse.ocl.examples.xtext.markup.impl.MarkupElementImpl
UNIQUE_ID_EDEFAULT, uniqueId
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected FigureElementImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getActualHeight()
           
 int getActualWidth()
           
 java.lang.String getAlt()
           
 java.lang.String getDef()
           
 int getId()
           
 java.lang.String getRequiredHeight()
           
 java.lang.String getRequiredWidth()
           
 java.lang.String getSrc()
           
 void setAlt(java.lang.String newAlt)
           
 void setDef(java.lang.String newDef)
           
 void setRequiredHeight(java.lang.String newRequiredHeight)
           
 void setRequiredWidth(java.lang.String newRequiredWidth)
           
 void setSrc(java.lang.String newSrc)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.markup.impl.MarkupElementImpl
basicSetOwner, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getOwner, getUniqueId, setOwner
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, 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
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.ocl.examples.xtext.markup.MarkupElement
getOwner, getUniqueId, setOwner
 
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

ID_EDEFAULT

protected static final int ID_EDEFAULT
The default value of the 'Id' attribute.

See Also:
getId(), Constant Field Values
Generated
Ordered

SRC_EDEFAULT

protected static final java.lang.String SRC_EDEFAULT
The default value of the 'Src' attribute.

See Also:
getSrc()
Generated
Ordered

src

protected java.lang.String src
The cached value of the 'Src' attribute.

See Also:
getSrc()
Generated
Ordered

ALT_EDEFAULT

protected static final java.lang.String ALT_EDEFAULT
The default value of the 'Alt' attribute.

See Also:
getAlt()
Generated
Ordered

alt

protected java.lang.String alt
The cached value of the 'Alt' attribute.

See Also:
getAlt()
Generated
Ordered

DEF_EDEFAULT

protected static final java.lang.String DEF_EDEFAULT
The default value of the 'Def' attribute.

See Also:
getDef()
Generated
Ordered

def

protected java.lang.String def
The cached value of the 'Def' attribute.

See Also:
getDef()
Generated
Ordered

REQUIRED_WIDTH_EDEFAULT

protected static final java.lang.String REQUIRED_WIDTH_EDEFAULT
The default value of the 'Required Width' attribute.

See Also:
getRequiredWidth()
Generated
Ordered

requiredWidth

protected java.lang.String requiredWidth
The cached value of the 'Required Width' attribute.

See Also:
getRequiredWidth()
Generated
Ordered

REQUIRED_HEIGHT_EDEFAULT

protected static final java.lang.String REQUIRED_HEIGHT_EDEFAULT
The default value of the 'Required Height' attribute.

See Also:
getRequiredHeight()
Generated
Ordered

requiredHeight

protected java.lang.String requiredHeight
The cached value of the 'Required Height' attribute.

See Also:
getRequiredHeight()
Generated
Ordered

ACTUAL_WIDTH_EDEFAULT

protected static final int ACTUAL_WIDTH_EDEFAULT
The default value of the 'Actual Width' attribute.

See Also:
getActualWidth(), Constant Field Values
Generated
Ordered

ACTUAL_HEIGHT_EDEFAULT

protected static final int ACTUAL_HEIGHT_EDEFAULT
The default value of the 'Actual Height' attribute.

See Also:
getActualHeight(), Constant Field Values
Generated
Ordered
Constructor Detail

FigureElementImpl

protected FigureElementImpl()

Generated
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class MarkupElementImpl
Generated

getId

public int getId()

Specified by:
getId in interface FigureElement
Returns:
the value of the 'Id' attribute.
See Also:
MarkupPackage.getFigureElement_Id()
Generated

getSrc

public java.lang.String getSrc()

Specified by:
getSrc in interface FigureElement
Returns:
the value of the 'Src' attribute.
See Also:
FigureElement.setSrc(String), MarkupPackage.getFigureElement_Src()
Generated

setSrc

public void setSrc(java.lang.String newSrc)

Specified by:
setSrc in interface FigureElement
Parameters:
newSrc - the new value of the 'Src' attribute.
See Also:
FigureElement.getSrc()
Generated

getAlt

public java.lang.String getAlt()

Specified by:
getAlt in interface FigureElement
Returns:
the value of the 'Alt' attribute.
See Also:
FigureElement.setAlt(String), MarkupPackage.getFigureElement_Alt()
Generated

setAlt

public void setAlt(java.lang.String newAlt)

Specified by:
setAlt in interface FigureElement
Parameters:
newAlt - the new value of the 'Alt' attribute.
See Also:
FigureElement.getAlt()
Generated

getDef

public java.lang.String getDef()

Specified by:
getDef in interface FigureElement
Returns:
the value of the 'Def' attribute.
See Also:
FigureElement.setDef(String), MarkupPackage.getFigureElement_Def()
Generated

setDef

public void setDef(java.lang.String newDef)

Specified by:
setDef in interface FigureElement
Parameters:
newDef - the new value of the 'Def' attribute.
See Also:
FigureElement.getDef()
Generated

getRequiredWidth

public java.lang.String getRequiredWidth()

Specified by:
getRequiredWidth in interface FigureElement
Returns:
the value of the 'Required Width' attribute.
See Also:
FigureElement.setRequiredWidth(String), MarkupPackage.getFigureElement_RequiredWidth()
Generated

setRequiredWidth

public void setRequiredWidth(java.lang.String newRequiredWidth)

Specified by:
setRequiredWidth in interface FigureElement
Parameters:
newRequiredWidth - the new value of the 'Required Width' attribute.
See Also:
FigureElement.getRequiredWidth()
Generated

getRequiredHeight

public java.lang.String getRequiredHeight()

Specified by:
getRequiredHeight in interface FigureElement
Returns:
the value of the 'Required Height' attribute.
See Also:
FigureElement.setRequiredHeight(String), MarkupPackage.getFigureElement_RequiredHeight()
Generated

setRequiredHeight

public void setRequiredHeight(java.lang.String newRequiredHeight)

Specified by:
setRequiredHeight in interface FigureElement
Parameters:
newRequiredHeight - the new value of the 'Required Height' attribute.
See Also:
FigureElement.getRequiredHeight()
Generated

getActualWidth

public int getActualWidth()

Specified by:
getActualWidth in interface FigureElement
Returns:
the value of the 'Actual Width' attribute.
See Also:
MarkupPackage.getFigureElement_ActualWidth()
Generated

getActualHeight

public int getActualHeight()

Specified by:
getActualHeight in interface FigureElement
Returns:
the value of the 'Actual Height' attribute.
See Also:
MarkupPackage.getFigureElement_ActualHeight()
Generated

toString

public java.lang.String toString()

Overrides:
toString in class MarkupElementImpl
Generated

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 MarkupElementImpl
Generated

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class MarkupElementImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class MarkupElementImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class MarkupElementImpl
Generated