Package org.eclipse.m2m.atl.engine.asm
Class ASM
java.lang.Object
org.eclipse.m2m.atl.engine.asm.ASM
This class represents a transformation module, which can have fields.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a field.void
Add an operation.Returns the existing field with the given name.getName()
getOperation
(String operationName) Returns the existing operation with the given name.void
void
setVersion
(String version)
-
Constructor Details
-
ASM
public ASM()Creates a new ASM. -
ASM
Creates a new ASM with the given name.- Parameters:
name
- the ASM name
-
-
Method Details
-
getName
-
setName
-
addField
Add a field.- Parameters:
f
- the field
-
getField
Returns the existing field with the given name.- Parameters:
fieldName
- the given name- Returns:
- the field
-
getFields
-
addOperation
Add an operation.- Parameters:
o
- the operation
-
getOperation
Returns the existing operation with the given name.- Parameters:
operationName
- the given name- Returns:
- the operation
-
getOperations
-
setVersion
-
getVersion
-