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.ObjectThis class represents a transformation module, which can have fields.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddField(ASMField f)Add a field.voidaddOperation(ASMOperation o)Add an operation.ASMFieldgetField(java.lang.String fieldName)Returns the existing field with the given name.java.util.ListgetFields()java.lang.StringgetName()ASMOperationgetOperation(java.lang.String operationName)Returns the existing operation with the given name.java.util.ListgetOperations()java.lang.StringgetVersion()voidsetName(java.lang.String name)voidsetVersion(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()
-
-