Interface MemberContainer
-
- All Superinterfaces:
Commentable,EObject,Notifier
- All Known Subinterfaces:
Annotation,AnonymousClass,Class,ConcreteClassifier,Enumeration,Interface
- All Known Implementing Classes:
AnnotationImpl,AnonymousClassImpl,ClassImpl,ConcreteClassifierImpl,EnumerationImpl,InterfaceImpl,MemberContainerImpl
public interface MemberContainer extends Commentable
A representation of the model object 'Member Container'.The following features are supported:
- See Also:
MembersPackage.getMemberContainer()- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldcreateField(String name, String qualifiedTypeName)EList<Constructor>getConstructors()ConcreteClassifiergetContainedClassifier(String name)FieldgetContainedField(String name)MethodgetContainedMethod(String name)EList<Member>getDefaultMembers()Returns the value of the 'Default Members' containment reference list.EList<Field>getFields()EList<Member>getMembers()Returns the value of the 'Members' containment reference list.EList<Member>getMembersByName(String name)EList<Method>getMethods()voidremoveMethods(String name)-
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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getMembers
EList<Member> getMembers()
Returns the value of the 'Members' containment reference list. The list contents are of typeMember.- Returns:
- the value of the 'Members' containment reference list.
- See Also:
MembersPackage.getMemberContainer_Members()- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
getDefaultMembers
EList<Member> getDefaultMembers()
Returns the value of the 'Default Members' containment reference list. The list contents are of typeMember.- Returns:
- the value of the 'Default Members' containment reference list.
- See Also:
MembersPackage.getMemberContainer_DefaultMembers()- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
getContainedClassifier
ConcreteClassifier getContainedClassifier(String name)
- Generated class or method.
- EMF model class or method.
-
getContainedField
Field getContainedField(String name)
- Generated class or method.
- EMF model class or method.
-
getContainedMethod
Method getContainedMethod(String name)
- Generated class or method.
- EMF model class or method.
-
getMethods
EList<Method> getMethods()
- Generated class or method.
- EMF model class or method.
- kind="operation"
-
removeMethods
void removeMethods(String name)
- Generated class or method.
- EMF model class or method.
- nameRequired="true"
-
getMembersByName
EList<Member> getMembersByName(String name)
- Generated class or method.
- EMF model class or method.
- nameRequired="true"
-
createField
Field createField(String name, String qualifiedTypeName)
- Generated class or method.
- EMF model class or method.
- nameRequired="true" qualifiedTypeNameRequired="true"
-
getFields
EList<Field> getFields()
- Generated class or method.
- EMF model class or method.
- kind="operation"
-
getConstructors
EList<Constructor> getConstructors()
- Generated class or method.
- EMF model class or method.
- kind="operation"
-
-