public class Grade extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
course |
private char |
grade |
private long |
id |
private Date |
semester |
private static long |
serialVersionUID |
Constructor and Description |
---|
Grade() |
Grade(long id) |
Grade(long id,
String course,
Date semester,
char grade) |
Modifier and Type | Method and Description |
---|---|
String |
getCourse() |
char |
getGrade() |
long |
getId() |
Date |
getSemester() |
void |
setCourse(String course) |
void |
setGrade(char grade) |
private void |
setId(long id) |
void |
setSemester(Date semester) |
String |
toString() |
private static final long serialVersionUID
private long id
private String course
private Date semester
private char grade
public long getId()
private void setId(long id)
public String getCourse()
public void setCourse(String course)
public char getGrade()
public void setGrade(char grade)
public Date getSemester()
public void setSemester(Date semester)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.