package at.gv.egovernment.moa.spss.server.config;

/**
 * A class that contains information about a key module.
 * 
 * @author Patrick Peck
 * @version $Id$
 */
public class KeyModule {

  /** The key module ID. */
  private String id;

  /**
   * Create a <code>Key</code> object.
   * 
   * @param id The key module ID.
   */
  public KeyModule(String id) {
    this.id = id;
  }

  /**
   * Return the key ID.
   * 
   * @return The key ID.
   */
  public String getId() {
    return id;
  }

  /**
   * Return a <code>String</code> representation of this <code>Key</code>.
   * 
   * @return The <code>String</code> representation.
   * @see java.lang.Object#toString()
   */
  public String toString() {
    return "(Key - Id<" + id + ">)";
  }
}