/*
 * Created on Mar 21, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.dragonsoft.tryapp.ejb.entity.interfaces;

import java.io.Serializable;

/**
 * @author Shaun
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public class CoursePK implements Serializable {
	private String courseID;

	public CoursePK() {
	}

	public CoursePK(String courseID) {

		this.courseID = courseID;
	}


	
	/**
	 * @return Returns the courseID.
	 */
	public String getCourseID() {
		return courseID;
	}
	/**
	 * @param courseID The courseID to set.
	 */
	public void setCourseID(String courseID) {
		this.courseID = courseID;
	}
	public boolean equals(Object other) {

		if (other instanceof CoursePK) {
			return (courseID.equals(((CoursePK) other).courseID));
		}
		return false;
	}

	public int hashCode() {

		return courseID.hashCode();
	}
}