package com.treelight.krnl;

/**
 * A node that stores system-identification information.
 * The value stored should be globally unique identifier.
 * <p>
 * Note:
 * In multiple-CPU systems, the system id must uniquely
 * identify the CPU, as well as the system.
 *
 * @version 0.1
 * @author Eric Armstrong
 * @see ../NodesAndLists.html
 */
public class SystemID {

  private String id; // Globally unique identifier for a system
 
  public String getID() { return id; }

  /**
   * Create a new version stamp that identifies the author of the
   * the new version. After creating the stamp, call (@link #setTime()}
   * to get the time value from the currently configured time server.
   */
  public void SystemID(String id) {
    //___TODO: Verify the that the ID is at least formatted like a globally unqiue system ID___
    //___TBD: Use the system's IP-address??___
    this.id = id;
  }

}//SystemId
