Class ASM

java.lang.Object
org.eclipse.m2m.atl.engine.asm.ASM

public class ASM extends Object
This class represents a transformation module, which can have fields.
  • Constructor Details

    • ASM

      public ASM()
      Creates a new ASM.
    • ASM

      public ASM(String name)
      Creates a new ASM with the given name.
      Parameters:
      name - the ASM name
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • addField

      public void addField(ASMField f)
      Add a field.
      Parameters:
      f - the field
    • getField

      public ASMField getField(String fieldName)
      Returns the existing field with the given name.
      Parameters:
      fieldName - the given name
      Returns:
      the field
    • getFields

      public List getFields()
    • addOperation

      public void addOperation(ASMOperation o)
      Add an operation.
      Parameters:
      o - the operation
    • getOperation

      public ASMOperation getOperation(String operationName)
      Returns the existing operation with the given name.
      Parameters:
      operationName - the given name
      Returns:
      the operation
    • getOperations

      public List getOperations()
    • setVersion

      public void setVersion(String version)
    • getVersion

      public String getVersion()