Added Course into javadoc

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-11-27 16:53:36 +01:00
parent 9ed4197005
commit 7d5522e413
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -27,31 +27,61 @@ public class Course {
public Course() { public Course() {
} }
/**
* Course
*
* @param name name given to the course
* @param symbol symbol given to the course
*/
public Course(String name, String symbol) { public Course(String name, String symbol) {
this.name = name; this.name = name;
this.symbol = symbol; this.symbol = symbol;
} }
/**
* getId
* @return id
*/
public Long getId() { public Long getId() {
return this.id; return this.id;
} }
/**
* getName
* @return name
*/
public String getName() { public String getName() {
return name; return name;
} }
/**
* getSymbol
* @return symbol
*/
public String getSymbol() { public String getSymbol() {
return symbol; return symbol;
} }
/**
* setSymbol
* @param symbol set symbol in the course
*/
public void setSymbol(String symbol) { public void setSymbol(String symbol) {
this.symbol = symbol; this.symbol = symbol;
} }
/**
* setName
* @param name set name in the course
*/
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }
/**
* getGroups
* @return groups return list groups
*/
public List<Groups> getGroups() { public List<Groups> getGroups() {
return this.groups; return this.groups;
} }