|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.engine.emfvm.ASM
public class ASM
The ASM Class, which manages an ASM program.
Constructor Summary | |
---|---|
ASM()
ASM Constructor. |
Method Summary | |
---|---|
void |
addField(java.lang.String fieldName,
java.lang.String type)
Adds a field. |
void |
addOperation(ASMOperation operation)
Adds an operation. |
ASMOperation |
getMainOperation()
Returns "main" operation, if any. |
java.lang.String |
getName()
|
java.util.Iterator<ASMOperation> |
getOperations()
Returns All registered operations. |
java.lang.String |
getVersion()
|
static void |
registerOperations(ExecEnv execEnv,
java.util.Iterator<ASMOperation> operationsToRegister)
Registers all ATL operations. |
java.lang.Object |
run(ITool[] tools,
java.util.Map<java.lang.String,IModel> models,
java.util.Map<java.lang.String,ASM> libraries,
java.util.List<ASM> superimpose,
java.util.Map<java.lang.String,java.lang.Object> options,
org.eclipse.core.runtime.IProgressMonitor monitor,
IModelAdapter modelAdapter)
Launches the ASM. |
void |
setName(java.lang.String name)
|
void |
setVersion(java.lang.String version)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ASM()
Method Detail |
---|
public void setName(java.lang.String name)
public void addField(java.lang.String fieldName, java.lang.String type)
fieldName
- the field nametype
- the field typepublic void addOperation(ASMOperation operation)
operation
- the operation to addpublic java.util.Iterator<ASMOperation> getOperations()
addOperation(ASMOperation)
public ASMOperation getMainOperation()
public java.lang.Object run(ITool[] tools, java.util.Map<java.lang.String,IModel> models, java.util.Map<java.lang.String,ASM> libraries, java.util.List<ASM> superimpose, java.util.Map<java.lang.String,java.lang.Object> options, org.eclipse.core.runtime.IProgressMonitor monitor, IModelAdapter modelAdapter)
tools
- the execution toolsmodels
- the model maplibraries
- the library mapsuperimpose
- the superimpose listoptions
- the option mapmonitor
- the progress monitormodelAdapter
- the IModelAdapter
to use
public static void registerOperations(ExecEnv execEnv, java.util.Iterator<ASMOperation> operationsToRegister)
execEnv
- the execution environment where to register operationsoperationsToRegister
- the list of operations to registerpublic java.lang.String getName()
public void setVersion(java.lang.String version)
public java.lang.String getVersion()
|
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 |