
package com.engineous.system.drm.ldlev;

import com.engineous.system.sdk.pse.AbstractDRMJobID;

/**
 * This class implements the DRMJobID interface in
 * the DRM Enabler implementation for Load Leveler.
 */
public class LoadLevelerJobID
	extends AbstractDRMJobID  {

	public static final String DRM_TYPE_LDLEV = "LoadLeveler";

	/**
	 * Base constructor for a DRM job ID object, which
	 * can be used by any DRM system which creates job
	 * IDs directly as strings [most, if not all, do].
	 */
	public LoadLevelerJobID(String drmJobIDString) {
		super(drmJobIDString);
	}

	/**
	 * Isight is required to let users query the statuses of, or
	 * cancel, any selected jobs currently being managed by the
	 * DRM systems that it is configured to use.  Therefore each
	 * job ID must identify which DRM system is managing the ID's
	 * job so that Isight can direct the right job ID objects to
	 * the right systems in order to perform these actions.  This
	 * method identifies this as a Load Leveler job ID.
	 * @returns String
	 */
	public String getDRMSystemType() {
		return DRM_TYPE_LDLEV;
	}
}
