|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSubject
Method Summary | |
java.lang.String |
getCode()
Returns the subject code |
java.lang.String |
getDescription()
Returns the subject description |
double |
getGrade()
Returns the subject's grade. |
double |
getUnits()
Returns the number of units. |
boolean |
isMajor()
Identifies if subject is major or minor. |
void |
setAsMajor(boolean maj)
Sets the subject to be major or minor. |
void |
setCode(java.lang.String thisCode)
Sets a new subject code for this subject in upper case format. |
void |
setDescription(java.lang.String SD)
Sets a new description for the subject in upper case format. |
void |
setGrade(double grade)
Sets the grade for this subject. |
void |
setUnits(double units)
Sets the number of units of the subject. |
java.lang.String |
toString()
Returns the Subject information |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public boolean isMajor()
public double getGrade()
public java.lang.String getCode()
public java.lang.String getDescription()
public double getUnits()
public void setAsMajor(boolean maj)
maj
- true if major and false if otherwise.public void setGrade(double grade)
grade
- New grade for the subject.public void setCode(java.lang.String thisCode)
thisCode
- New subject code.public void setDescription(java.lang.String SD)
SD
- New subject descriptionpublic void setUnits(double units)
units
- New Units to be set.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |