Class AbstractModuleElement
- java.lang.Object
 - 
- org.eclipse.epsilon.common.module.AbstractModuleElement
 
 
- 
- All Implemented Interfaces:
 ModuleElement
- Direct Known Subclasses:
 AbstractExecutableModuleElement,AbstractModule,AnnotatableModuleElement,Annotation,AnnotationBlock,Cardinality,Case,Comment,EglMarkerSection,Fix,HutnDocument,Import,ModelDeclaration,ModelDeclarationParameter,Parameter,Role
public abstract class AbstractModuleElement extends java.lang.Object implements ModuleElement
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayList<ModuleElement>childrenprotected java.util.ArrayList<Comment>commentsprotected java.util.LinkedHashMap<java.lang.String,java.lang.Object>dataprotected IModulemoduleprotected ModuleElementparentprotected Regionregionprotected java.net.URIuri 
- 
Constructor Summary
Constructors Constructor Description AbstractModuleElement() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(AST cst, IModule module)booleanequals(java.lang.Object ame)java.util.List<ModuleElement>getChildren()java.util.List<Comment>getComments()java.util.Map<java.lang.String,java.lang.Object>getData()java.lang.StringgetDebugInfo()java.io.FilegetFile()IModulegetModule()ModuleElementgetParent()RegiongetRegion()java.net.URIgetUri()inthashCode()voidsetModule(IModule module)voidsetParent(ModuleElement parent)voidsetRegion(Region region)voidsetUri(java.net.URI uri)java.lang.StringtoString() 
 - 
 
- 
- 
Field Detail
- 
comments
protected java.util.ArrayList<Comment> comments
 
- 
children
protected java.util.ArrayList<ModuleElement> children
 
- 
parent
protected ModuleElement parent
 
- 
uri
protected java.net.URI uri
 
- 
module
protected IModule module
 
- 
region
protected Region region
 
- 
data
protected java.util.LinkedHashMap<java.lang.String,java.lang.Object> data
 
 - 
 
- 
Method Detail
- 
build
public void build(AST cst, IModule module)
- Specified by:
 buildin interfaceModuleElement
 
- 
getComments
public java.util.List<Comment> getComments()
- Specified by:
 getCommentsin interfaceModuleElement
 
- 
getDebugInfo
public java.lang.String getDebugInfo()
 
- 
getChildren
public java.util.List<ModuleElement> getChildren()
- Specified by:
 getChildrenin interfaceModuleElement
 
- 
setUri
public void setUri(java.net.URI uri)
- Specified by:
 setUriin interfaceModuleElement
 
- 
setModule
public void setModule(IModule module)
- Specified by:
 setModulein interfaceModuleElement
 
- 
getRegion
public Region getRegion()
- Specified by:
 getRegionin interfaceModuleElement
 
- 
getModule
public IModule getModule()
- Specified by:
 getModulein interfaceModuleElement
 
- 
getFile
public java.io.File getFile()
- Specified by:
 getFilein interfaceModuleElement
 
- 
getUri
public java.net.URI getUri()
- Specified by:
 getUriin interfaceModuleElement
 
- 
setRegion
public void setRegion(Region region)
- Specified by:
 setRegionin interfaceModuleElement
 
- 
setParent
public void setParent(ModuleElement parent)
- Specified by:
 setParentin interfaceModuleElement
 
- 
getParent
public ModuleElement getParent()
- Specified by:
 getParentin interfaceModuleElement
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
getData
public java.util.Map<java.lang.String,java.lang.Object> getData()
- Specified by:
 getDatain interfaceModuleElement
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object- Since:
 - 1.6
 
 
- 
equals
public boolean equals(java.lang.Object ame)
- Overrides:
 equalsin classjava.lang.Object- Since:
 - 1.6
 
 
 - 
 
 -