@Override
    public boolean equals( Object o )
    {
        if ( this == o )
        {
            return true;
        }

        if ( o == null )
        {
            return false;
        }

        if ( !(o instanceof Course) )
        {
            return false;
        }

        final Course other = (Course) o;

        return courseCode.equals( other.getCourseCode() ) && name.equals( other.getName() );
    }