|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType
org.eclipse.m2m.atl.adt.ui.text.atl.types.UnitType
public abstract class UnitType
The ATL Module type.
Field Summary | |
---|---|
protected AtlSourceManager |
sourceManager
|
Fields inherited from class org.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType |
---|
oclType |
Constructor Summary | |
---|---|
UnitType(org.eclipse.core.resources.IFile file,
AtlSourceManager manager,
OclType unitType)
Creates a new ATL Unit from the given source manager. |
Method Summary | |
---|---|
static UnitType |
create(org.eclipse.core.resources.IFile file,
AtlSourceManager manager)
Returns the atl unit type. |
java.util.Set<Feature> |
getAllAttributes()
|
java.util.Set<Operation> |
getAllHelpers()
|
java.util.Set<Feature> |
getAttributes(OclAnyType type)
Returns all the registered attributes for the given type. |
org.eclipse.core.resources.IFile |
getFile()
|
java.util.Set<Operation> |
getHelpers(OclAnyType type)
Returns all the registered helpers for the given type. |
protected abstract java.util.Collection<org.eclipse.emf.ecore.EObject> |
getHelpersObjects()
Returns the helpers atl objects. |
AtlSourceManager |
getSourceManager()
|
OclAnyType[] |
getSupertypes()
|
protected void |
init()
Initializes the helpers and attributes. |
Methods inherited from class org.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType |
---|
create, equals, getFeatures, getInstance, getOclType, getOperations, getTypeOperations, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected AtlSourceManager sourceManager
Constructor Detail |
---|
public UnitType(org.eclipse.core.resources.IFile file, AtlSourceManager manager, OclType unitType)
file
- the unit filemanager
- the source managerunitType
- the unit typeMethod Detail |
---|
public org.eclipse.core.resources.IFile getFile()
public OclAnyType[] getSupertypes()
getSupertypes
in class OclAnyType
OclAnyType.getSupertypes()
protected abstract java.util.Collection<org.eclipse.emf.ecore.EObject> getHelpersObjects()
protected void init()
public java.util.Set<Feature> getAttributes(OclAnyType type)
type
- the context type
public java.util.Set<Feature> getAllAttributes()
public java.util.Set<Operation> getHelpers(OclAnyType type)
type
- the context type
public java.util.Set<Operation> getAllHelpers()
public AtlSourceManager getSourceManager()
public static UnitType create(org.eclipse.core.resources.IFile file, AtlSourceManager manager)
file
- the unit filemanager
- the unit source manager
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |