Class JavaRootImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.emftext.language.java.commons.impl.CommentableImpl
-
- org.emftext.language.java.commons.impl.NamedElementImpl
-
- org.emftext.language.java.containers.impl.JavaRootImpl
-
- All Implemented Interfaces:
Notifier,EObject,EStructuralFeature.Internal.DynamicValueHolder,InternalEObject,Annotable,Commentable,NamedElement,NamespaceAwareElement,JavaRoot,ImportingElement
- Direct Known Subclasses:
CompilationUnitImpl,EmptyModelImpl,ModuleImpl,PackageImpl
public abstract class JavaRootImpl extends NamedElementImpl implements JavaRoot
An implementation of the model object 'Java Root'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
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, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected EList<AnnotationInstance>annotationsThe cached value of the 'Annotations' containment reference list.protected EList<Import>importsThe cached value of the 'Imports' containment reference list.protected EList<String>namespacesThe cached value of the 'Namespaces' attribute list.-
Fields inherited from class org.emftext.language.java.commons.impl.NamedElementImpl
name, NAME_EDEFAULT
-
Fields inherited from class org.emftext.language.java.commons.impl.CommentableImpl
layoutInformations
-
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
Constructors Modifier Constructor Description protectedJavaRootImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)inteDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)ObjecteGet(int featureID, boolean resolve, boolean coreType)NotificationChaineInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected EClasseStaticClass()voideUnset(int featureID)EList<AnnotationInstance>getAnnotations()ConcreteClassifiergetClassifierAtNamespaces()EList<ConcreteClassifier>getClassifiersInSamePackage()EList<Import>getImports()EList<String>getNamespaces()StringgetNamespacesAsString()StringtoString()-
Methods inherited from class org.emftext.language.java.commons.impl.NamedElementImpl
getName, setName
-
Methods inherited from class org.emftext.language.java.commons.impl.CommentableImpl
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods 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, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, 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, 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.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
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.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.emftext.language.java.commons.NamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
namespaces
protected EList<String> namespaces
The cached value of the 'Namespaces' attribute list.- See Also:
getNamespaces()- Generated class or method.
- Ordered collection.
-
imports
protected EList<Import> imports
The cached value of the 'Imports' containment reference list.- See Also:
getImports()- Generated class or method.
- Ordered collection.
-
annotations
protected EList<AnnotationInstance> annotations
The cached value of the 'Annotations' containment reference list.- See Also:
getAnnotations()- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClassin classNamedElementImpl- Generated class or method.
-
getNamespaces
public EList<String> getNamespaces()
- Specified by:
getNamespacesin interfaceNamespaceAwareElement- Returns:
- the value of the 'Namespaces' attribute list.
- See Also:
CommonsPackage.getNamespaceAwareElement_Namespaces()- Generated class or method.
-
getImports
public EList<Import> getImports()
- Specified by:
getImportsin interfaceImportingElement- Returns:
- the value of the 'Imports' containment reference list.
- See Also:
ImportsPackage.getImportingElement_Imports()- Generated class or method.
-
getAnnotations
public EList<AnnotationInstance> getAnnotations()
- Specified by:
getAnnotationsin interfaceAnnotable- Returns:
- the value of the 'Annotations' containment reference list.
- See Also:
AnnotationsPackage.getAnnotable_Annotations()- Generated class or method.
-
getClassifiersInSamePackage
public EList<ConcreteClassifier> getClassifiersInSamePackage()
- Specified by:
getClassifiersInSamePackagein interfaceJavaRoot- Generated class or method.
-
getNamespacesAsString
public String getNamespacesAsString()
- Specified by:
getNamespacesAsStringin interfaceNamespaceAwareElement- Generated class or method.
-
getClassifierAtNamespaces
public ConcreteClassifier getClassifierAtNamespaces()
- Specified by:
getClassifierAtNamespacesin interfaceNamespaceAwareElement- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemovein classCommentableImpl- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classNamedElementImpl- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classNamedElementImpl- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classNamedElementImpl- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classNamedElementImpl- Generated class or method.
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)- Specified by:
eBaseStructuralFeatureIDin interfaceInternalEObject- Overrides:
eBaseStructuralFeatureIDin classBasicEObjectImpl- Generated class or method.
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)- Specified by:
eDerivedStructuralFeatureIDin interfaceInternalEObject- Overrides:
eDerivedStructuralFeatureIDin classBasicEObjectImpl- Generated class or method.
-
toString
public String toString()
- Overrides:
toStringin classNamedElementImpl- Generated class or method.
-
-