Interface JavaRoot
-
- All Superinterfaces:
Annotable,Commentable,EObject,ImportingElement,NamedElement,NamespaceAwareElement,Notifier
- All Known Subinterfaces:
CompilationUnit,EmptyModel,Module,Package
- All Known Implementing Classes:
CompilationUnitImpl,EmptyModelImpl,JavaRootImpl,ModuleImpl,PackageImpl
public interface JavaRoot extends NamedElement, NamespaceAwareElement, ImportingElement, Annotable
A representation of the model object 'Java Root'.The following features are supported:
- See Also:
ContainersPackage.getJavaRoot()- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EList<ConcreteClassifier>getClassifiersInSamePackage()OrigingetOrigin()Returns the value of the 'Origin' attribute.voidsetOrigin(Origin value)Sets the value of the 'Origin' attribute.-
Methods inherited from interface org.emftext.language.java.annotations.Annotable
getAnnotations
-
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.emftext.language.java.imports.ImportingElement
getImports
-
Methods inherited from interface org.emftext.language.java.commons.NamedElement
getName, setName
-
Methods inherited from interface org.emftext.language.java.commons.NamespaceAwareElement
getClassifierAtNamespaces, getNamespaces, getNamespacesAsString
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getOrigin
Origin getOrigin()
Returns the value of the 'Origin' attribute. The literals are from the enumerationOrigin.- Returns:
- the value of the 'Origin' attribute.
- See Also:
Origin,setOrigin(Origin),ContainersPackage.getJavaRoot_Origin()- Generated class or method.
- EMF model class or method.
- required="true"
-
setOrigin
void setOrigin(Origin value)
Sets the value of the 'Origin' attribute.- Parameters:
value- the new value of the 'Origin' attribute.- See Also:
Origin,getOrigin()- Generated class or method.
-
getClassifiersInSamePackage
EList<ConcreteClassifier> getClassifiersInSamePackage()
- Generated class or method.
- EMF model class or method.
- kind="operation"
-
-