Package org.eclipse.m2m.atl.engine.asm
Class ASM
- java.lang.Object
-
- org.eclipse.m2m.atl.engine.asm.ASM
-
public class ASM extends java.lang.Object
This class represents a transformation module, which can have fields.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addField(ASMField f)
Add a field.void
addOperation(ASMOperation o)
Add an operation.ASMField
getField(java.lang.String fieldName)
Returns the existing field with the given name.java.util.List
getFields()
java.lang.String
getName()
ASMOperation
getOperation(java.lang.String operationName)
Returns the existing operation with the given name.java.util.List
getOperations()
java.lang.String
getVersion()
void
setName(java.lang.String name)
void
setVersion(java.lang.String version)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
addField
public void addField(ASMField f)
Add a field.- Parameters:
f
- the field
-
getField
public ASMField getField(java.lang.String fieldName)
Returns the existing field with the given name.- Parameters:
fieldName
- the given name- Returns:
- the field
-
getFields
public java.util.List getFields()
-
addOperation
public void addOperation(ASMOperation o)
Add an operation.- Parameters:
o
- the operation
-
getOperation
public ASMOperation getOperation(java.lang.String operationName)
Returns the existing operation with the given name.- Parameters:
operationName
- the given name- Returns:
- the operation
-
getOperations
public java.util.List getOperations()
-
setVersion
public void setVersion(java.lang.String version)
-
getVersion
public java.lang.String getVersion()
-
-