com.hammurapi.config.impl
Class SourceImpl

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 com.hammurapi.config.impl.SourceImpl
All Implemented Interfaces:
Source, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class SourceImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements Source

An implementation of the model object 'Source'.

The following features are implemented:


Nested Class Summary
 
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 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
protected  int col
          The cached value of the 'Col' attribute.
protected static int COL_EDEFAULT
          The default value of the 'Col' attribute.
protected  String comment
          The cached value of the 'Comment' attribute.
protected static String COMMENT_EDEFAULT
          The default value of the 'Comment' attribute.
protected  int line
          The cached value of the 'Line' attribute.
protected static int LINE_EDEFAULT
          The default value of the 'Line' attribute.
protected  String path
          The cached value of the 'Path' attribute.
protected static String PATH_EDEFAULT
          The default value of the 'Path' attribute.
protected  String type
          The cached value of the 'Type' attribute.
protected static String TYPE_EDEFAULT
          The default value of the 'Type' 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 SourceImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getCol()
           
 String getComment()
           
 int getLine()
           
 String getPath()
           
 String getType()
           
 void setCol(int newCol)
           
 void setComment(String newComment)
           
 void setLine(int newLine)
           
 void setPath(String newPath)
           
 void setType(String newType)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, 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, 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

TYPE_EDEFAULT

protected static final String TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()

type

protected String type
The cached value of the 'Type' attribute.

See Also:
getType()

PATH_EDEFAULT

protected static final String PATH_EDEFAULT
The default value of the 'Path' attribute.

See Also:
getPath()

path

protected String path
The cached value of the 'Path' attribute.

See Also:
getPath()

LINE_EDEFAULT

protected static final int LINE_EDEFAULT
The default value of the 'Line' attribute.

See Also:
getLine(), Constant Field Values

line

protected int line
The cached value of the 'Line' attribute.

See Also:
getLine()

COL_EDEFAULT

protected static final int COL_EDEFAULT
The default value of the 'Col' attribute.

See Also:
getCol(), Constant Field Values

col

protected int col
The cached value of the 'Col' attribute.

See Also:
getCol()

COMMENT_EDEFAULT

protected static final String COMMENT_EDEFAULT
The default value of the 'Comment' attribute.

See Also:
getComment()

comment

protected String comment
The cached value of the 'Comment' attribute.

See Also:
getComment()
Constructor Detail

SourceImpl

protected SourceImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl

getType

public String getType()

Specified by:
getType in interface Source
Returns:
the value of the 'Type' attribute.
See Also:
Source.setType(String), ConfigPackage.getSource_Type()

setType

public void setType(String newType)

Specified by:
setType in interface Source
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
Source.getType()

getPath

public String getPath()

Specified by:
getPath in interface Source
Returns:
the value of the 'Path' attribute.
See Also:
Source.setPath(String), ConfigPackage.getSource_Path()

setPath

public void setPath(String newPath)

Specified by:
setPath in interface Source
Parameters:
newPath - the new value of the 'Path' attribute.
See Also:
Source.getPath()

getLine

public int getLine()

Specified by:
getLine in interface Source
Returns:
the value of the 'Line' attribute.
See Also:
Source.setLine(int), ConfigPackage.getSource_Line()

setLine

public void setLine(int newLine)

Specified by:
setLine in interface Source
Parameters:
newLine - the new value of the 'Line' attribute.
See Also:
Source.getLine()

getCol

public int getCol()

Specified by:
getCol in interface Source
Returns:
the value of the 'Col' attribute.
See Also:
Source.setCol(int), ConfigPackage.getSource_Col()

setCol

public void setCol(int newCol)

Specified by:
setCol in interface Source
Parameters:
newCol - the new value of the 'Col' attribute.
See Also:
Source.getCol()

getComment

public String getComment()

Specified by:
getComment in interface Source
Returns:
the value of the 'Comment' attribute.
See Also:
Source.setComment(String), ConfigPackage.getSource_Comment()

setComment

public void setComment(String newComment)

Specified by:
setComment in interface Source
Parameters:
newComment - the new value of the 'Comment' attribute.
See Also:
Source.getComment()

eGet

public 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,
                 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 String toString()

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