Class ClassFileImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.gmt.modisco.java.emf.impl.ASTNodeImpl
org.eclipse.gmt.modisco.java.emf.impl.NamedElementImpl
org.eclipse.gmt.modisco.java.emf.impl.ClassFileImpl
- 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,ASTNode,ClassFile,NamedElement
public class ClassFileImpl extends NamedElementImpl implements ClassFile
An implementation of the model object 'Class File'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested 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.EPropertiesHolderImplNested 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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields Modifier and Type Field Description protected CompilationUnitattachedSourceThe cached value of the 'Attached Source' reference.protected static StringORIGINAL_FILE_PATH_EDEFAULTThe default value of the 'Original File Path' attribute.protected StringoriginalFilePathThe cached value of the 'Original File Path' attribute.protected Packagepackage_The cached value of the 'Package' reference.protected AbstractTypeDeclarationtypeThe cached value of the 'Type' reference.Fields inherited from class org.eclipse.gmt.modisco.java.emf.impl.NamedElementImpl
name, NAME_EDEFAULT, proxy, PROXY_EDEFAULT, usagesInImportsFields inherited from class org.eclipse.gmt.modisco.java.emf.impl.ASTNodeImpl
comments, originalClassFile, originalCompilationUnitFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors Modifier Constructor Description protectedClassFileImpl() -
Method Summary
Modifier and Type Method Description CompilationUnitbasicGetAttachedSource()PackagebasicGetPackage()AbstractTypeDeclarationbasicGetType()ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)CompilationUnitgetAttachedSource()StringgetOriginalFilePath()PackagegetPackage()AbstractTypeDeclarationgetType()voidsetAttachedSource(CompilationUnit newAttachedSource)voidsetOriginalFilePath(String newOriginalFilePath)voidsetPackage(Package newPackage)voidsetType(AbstractTypeDeclaration newType)StringtoString()Methods inherited from class org.eclipse.gmt.modisco.java.emf.impl.NamedElementImpl
eInverseAdd, eInverseRemove, getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from class org.eclipse.gmt.modisco.java.emf.impl.ASTNodeImpl
basicGetOriginalClassFile, basicGetOriginalCompilationUnit, getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
ORIGINAL_FILE_PATH_EDEFAULT
The default value of the 'Original File Path' attribute.- See Also:
getOriginalFilePath()
-
originalFilePath
The cached value of the 'Original File Path' attribute.- See Also:
getOriginalFilePath()
-
type
The cached value of the 'Type' reference.- See Also:
getType()
-
attachedSource
The cached value of the 'Attached Source' reference.- See Also:
getAttachedSource()
-
package_
The cached value of the 'Package' reference.- See Also:
getPackage()
-
-
Constructor Details
-
ClassFileImpl
protected ClassFileImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classNamedElementImpl
-
getOriginalFilePath
- Specified by:
getOriginalFilePathin interfaceClassFile- Returns:
- the value of the 'Original File Path' attribute.
- See Also:
ClassFile.setOriginalFilePath(String),JavaPackage.getClassFile_OriginalFilePath()
-
setOriginalFilePath
- Specified by:
setOriginalFilePathin interfaceClassFile- Parameters:
newOriginalFilePath- the new value of the 'Original File Path' attribute.- See Also:
ClassFile.getOriginalFilePath()
-
getType
- Specified by:
getTypein interfaceClassFile- Returns:
- the value of the 'Type' reference.
- See Also:
ClassFile.setType(AbstractTypeDeclaration),JavaPackage.getClassFile_Type()
-
basicGetType
-
setType
- Specified by:
setTypein interfaceClassFile- Parameters:
newType- the new value of the 'Type' reference.- See Also:
ClassFile.getType()
-
getAttachedSource
- Specified by:
getAttachedSourcein interfaceClassFile- Returns:
- the value of the 'Attached Source' reference.
- See Also:
ClassFile.setAttachedSource(CompilationUnit),JavaPackage.getClassFile_AttachedSource()
-
basicGetAttachedSource
-
setAttachedSource
- Specified by:
setAttachedSourcein interfaceClassFile- Parameters:
newAttachedSource- the new value of the 'Attached Source' reference.- See Also:
ClassFile.getAttachedSource()
-
getPackage
- Specified by:
getPackagein interfaceClassFile- Returns:
- the value of the 'Package' reference.
- See Also:
ClassFile.setPackage(org.eclipse.gmt.modisco.java.Package),JavaPackage.getClassFile_Package()
-
basicGetPackage
-
setPackage
- Specified by:
setPackagein interfaceClassFile- Parameters:
newPackage- the new value of the 'Package' reference.- See Also:
ClassFile.getPackage()
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classNamedElementImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classNamedElementImpl
-
eUnset
public void eUnset(int featureID)- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classNamedElementImpl
-
eIsSet
public boolean eIsSet(int featureID)- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classNamedElementImpl
-
toString
- Overrides:
toStringin classNamedElementImpl
-