//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
// PLEASE DO NOT EDIT WITHOUT THE EXPLICIT CONSENT OF THE AUTHOR! \\
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\

package hlt.language.design.instructions;

/**
 * @version     Last modified on Wed Jun 20 14:29:51 2012 by hak
 * @author      <a href="mailto:hak@acm.org">Hassan A&iuml;t-Kaci</a>
 * @copyright   &copy; <a href="http://www.hassan-ait-kaci.net/">by the author</a>
 */

abstract public class SetElementInstruction extends Instruction
{
  private byte _id;

  protected SetElementInstruction (byte id, String name)
    {
      _id = id;
      setName(name);
    }

  public final byte id ()
    {
      return _id;
    }

  public static final byte SET_ADD_I_ID = 0;
  public static final byte SET_ADD_R_ID = 1;
  public static final byte SET_ADD_O_ID = 2;
  public static final byte SET_RMV_I_ID = 3;
  public static final byte SET_RMV_R_ID = 4;
  public static final byte SET_RMV_O_ID = 5;
  public static final byte BELONGS_I_ID = 6;
  public static final byte BELONGS_R_ID = 7;
  public static final byte BELONGS_O_ID = 8;
}
