dokumentacja-plannaplan/dokumentacja-backendu/businesslogic/com/plannaplan/entities/Groups.html

902 lines
42 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (14.0.2) on Fri Jan 22 16:23:18 CET 2021 -->
<title>Groups (buisnesslogic 1.0-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-01-22">
<meta name="description" content="declaration: package: com.plannaplan.entities, class: Groups">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../script-dir/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../script-dir/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../script-dir/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-ui.js"></script>
</head>
<body class="class-declaration">
<script type="text/javascript">var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flexBox">
<header role="banner" class="flexHeader">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Groups.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<div class="navListSearch"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="skipNav"><a id="skip.navbar.top">
<!-- -->
</a></div>
</nav>
</header>
<div class="flexContent">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.plannaplan.entities</a></div>
<h1 title="Class Groups" class="title">Class Groups</h1>
</div>
<div class="contentContainer">
<div class="inheritance" title="Inheritance Tree">java.lang.Object
<div class="inheritance">com.plannaplan.entities.Groups</div>
</div>
<section class="description">
<hr>
<pre>@Entity
public class <span class="typeNameLabel">Groups</span>
extends java.lang.Object</pre>
<div class="block">Entity of Groups grouping of state ssociated about
course,time,room,capacity,type,day</div>
</section>
<section class="summary">
<ul class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li class="blockList">
<section class="constructorSummary"><a id="constructor.summary">
<!-- -->
</a>
<h2>Constructor Summary</h2>
<div class="memberSummary">
<table>
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Groups</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
int&nbsp;endTime,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer)</code></th>
<td class="colLast">
<div class="block">Groups</div>
</td>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
int&nbsp;endTime,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr)</code></th>
<td class="colLast">
<div class="block">Groups</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer,com.plannaplan.types.GroupType)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
int&nbsp;endTime,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr,
<a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Groups</div>
</td>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer)</code></th>
<td class="colLast">
<div class="block">Create groups with default class duration</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr)</code></th>
<td class="colLast">
<div class="block">Groups</div>
</td>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,java.lang.String,com.plannaplan.entities.Course,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer,com.plannaplan.types.GroupType)">Groups</a></span>&#8203;(int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr,
<a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Groups</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li class="blockList">
<section class="methodSummary"><a id="method.summary">
<!-- -->
</a>
<h2>Method Summary</h2>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#assignUser(com.plannaplan.entities.User)">assignUser</a></span>&#8203;(<a href="User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCapacity()">getCapacity</a></span>()</code></th>
<td class="colLast">
<div class="block">getCapacity</div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code><a href="Course.html" title="class in com.plannaplan.entities">Course</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCourseId()">getCourseId</a></span>()</code></th>
<td class="colLast">
<div class="block">getCourseId</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code><a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDay()">getDay</a></span>()</code></th>
<td class="colLast">
<div class="block">WeekDay</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEndTime()">getEndTime</a></span>()</code></th>
<td class="colLast">
<div class="block">get time of class end</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEndTimeString()">getEndTimeString</a></span>()</code></th>
<td class="colLast">
<div class="block">gets end time formated strins</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>java.lang.Integer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGrNr()">getGrNr</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code>java.lang.Long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getId()">getId</a></span>()</code></th>
<td class="colLast">
<div class="block">getId</div>
</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code><a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLecturer()">getLecturer</a></span>()</code></th>
<td class="colLast">
<div class="block">getLecturer</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code>java.util.Set&lt;<a href="User.html" title="class in com.plannaplan.entities">User</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRegisteredStudents()">getRegisteredStudents</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRoom()">getRoom</a></span>()</code></th>
<td class="colLast">
<div class="block">getRoom</div>
</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTime()">getTime</a></span>()</code></th>
<td class="colLast">
<div class="block">getTime</div>
</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTimeString()">getTimeString</a></span>()</code></th>
<td class="colLast">
<div class="block">getTimeString</div>
</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code><a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getType()">getType</a></span>()</code></th>
<td class="colLast">
<div class="block">GroupType</div>
</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code>java.lang.Integer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getZajCykId()">getZajCykId</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCapacity(int)">setCapacity</a></span>&#8203;(int&nbsp;capacity)</code></th>
<td class="colLast">
<div class="block">setCapacity</div>
</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCourseId(com.plannaplan.entities.Course)">setCourseId</a></span>&#8203;(<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;courseId)</code></th>
<td class="colLast">
<div class="block">setCourseId</div>
</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDay(com.plannaplan.types.WeekDay)">setDay</a></span>&#8203;(<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day)</code></th>
<td class="colLast">
<div class="block">setLecturer</div>
</td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setGrNr(java.lang.Integer)">setGrNr</a></span>&#8203;(java.lang.Integer&nbsp;grNr)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLecturer(com.plannaplan.entities.Lecturer)">setLecturer</a></span>&#8203;(<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer)</code></th>
<td class="colLast">
<div class="block">setLecturer</div>
</td>
</tr>
<tr class="altColor" id="i20">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRoom(java.lang.String)">setRoom</a></span>&#8203;(java.lang.String&nbsp;room)</code></th>
<td class="colLast">
<div class="block">setRoom</div>
</td>
</tr>
<tr class="rowColor" id="i21">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTime(int)">setTime</a></span>&#8203;(int&nbsp;time)</code></th>
<td class="colLast">
<div class="block">setTime</div>
</td>
</tr>
<tr class="altColor" id="i22">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setType(com.plannaplan.types.GroupType)">setType</a></span>&#8203;(<a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</code></th>
<td class="colLast">
<div class="block">setType</div>
</td>
</tr>
<tr class="rowColor" id="i23">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setZajCykId(java.lang.Integer)">setZajCykId</a></span>&#8203;(java.lang.Integer&nbsp;zajCykId)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i24">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#update(java.lang.Integer,java.lang.String,com.plannaplan.entities.Course,java.lang.Integer,java.lang.Integer,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,com.plannaplan.types.GroupType)">update</a></span>&#8203;(java.lang.Integer&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
java.lang.Integer&nbsp;time,
java.lang.Integer&nbsp;endTime,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
<a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Updates given values other that are not null</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a><code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li class="blockList">
<section class="constructorDetails"><a id="constructor.detail">
<!-- -->
</a>
<h2>Constructor Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;()">Groups</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">Groups</span>()</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;(int,java.lang.String,com.plannaplan.entities.Course,int,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer)">Groups</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">Groups</span>&#8203;(<span class="arguments">int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
int&nbsp;endTime,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer)</span></div>
<div class="block">Groups</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - capacity given to the groups</dd>
<dd><code>room</code> - room given to the groups</dd>
<dd><code>course</code> - course given to the groups</dd>
<dd><code>time</code> - time given to the groups</dd>
<dd><code>endTime</code> - end time of class in minutes</dd>
<dd><code>day</code> - day given to the groups</dd>
<dd><code>lecturer</code> - lecturer given to the groups</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;(int,java.lang.String,com.plannaplan.entities.Course,int,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer,com.plannaplan.types.GroupType)">Groups</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">Groups</span>&#8203;(<span class="arguments">int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
int&nbsp;endTime,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr,
<a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</span></div>
<div class="block">Groups</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - capacity given to the groups</dd>
<dd><code>room</code> - room given to the groups</dd>
<dd><code>course</code> - course given to the groups</dd>
<dd><code>time</code> - time given to the groups</dd>
<dd><code>endTime</code> - end time of class in minutes</dd>
<dd><code>day</code> - day given to the groups</dd>
<dd><code>lecturer</code> - lecturer given to the groups</dd>
<dd><code>zajCykId</code> - number of class in the term</dd>
<dd><code>grNr</code> - Number of class/course</dd>
<dd><code>type</code> - type of class/cource</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;(int,java.lang.String,com.plannaplan.entities.Course,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer,com.plannaplan.types.GroupType)">Groups</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">Groups</span>&#8203;(<span class="arguments">int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr,
<a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</span></div>
<div class="block">Groups</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - capacity given to the groups</dd>
<dd><code>room</code> - room given to the groups</dd>
<dd><code>course</code> - course given to the groups</dd>
<dd><code>time</code> - time given to the groups</dd>
<dd><code>day</code> - day given to the groups</dd>
<dd><code>lecturer</code> - lecturer given to the groups</dd>
<dd><code>zajCykId</code> - number of class in the term</dd>
<dd><code>grNr</code> - Number of class/course</dd>
<dd><code>type</code> - type of class/cource</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;(int,java.lang.String,com.plannaplan.entities.Course,int,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer)">Groups</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">Groups</span>&#8203;(<span class="arguments">int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
int&nbsp;endTime,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr)</span></div>
<div class="block">Groups</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - capacity given to the groups</dd>
<dd><code>room</code> - room given to the groups</dd>
<dd><code>course</code> - course given to the groups</dd>
<dd><code>time</code> - time given to the groups</dd>
<dd><code>endTime</code> - end time of class in minutes</dd>
<dd><code>day</code> - day given to the groups</dd>
<dd><code>lecturer</code> - lecturer given to the groups</dd>
<dd><code>zajCykId</code> - number of class in the term</dd>
<dd><code>grNr</code> - Number of class/course</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;(int,java.lang.String,com.plannaplan.entities.Course,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,java.lang.Integer,java.lang.Integer)">Groups</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">Groups</span>&#8203;(<span class="arguments">int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
java.lang.Integer&nbsp;zajCykId,
java.lang.Integer&nbsp;grNr)</span></div>
<div class="block">Groups</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - capacity given to the groups</dd>
<dd><code>room</code> - room given to the groups</dd>
<dd><code>course</code> - course given to the groups</dd>
<dd><code>time</code> - time given to the groups</dd>
<dd><code>day</code> - day given to the groups</dd>
<dd><code>lecturer</code> - lecturer given to the groups</dd>
<dd><code>zajCykId</code> - number of class in the term</dd>
<dd><code>grNr</code> - Number of class/course</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;(int,java.lang.String,com.plannaplan.entities.Course,int,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer)">Groups</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">Groups</span>&#8203;(<span class="arguments">int&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
int&nbsp;time,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer)</span></div>
<div class="block">Create groups with default class duration</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - capacity given to the groups</dd>
<dd><code>room</code> - room given to the groups</dd>
<dd><code>course</code> - course given to the groups</dd>
<dd><code>time</code> - time given to the groups</dd>
<dd><code>day</code> - day given to the groups</dd>
<dd><code>lecturer</code> - lecturer given to the groups</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li class="blockList">
<section class="methodDetails"><a id="method.detail">
<!-- -->
</a>
<h2>Method Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="getRegisteredStudents()">getRegisteredStudents</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">java.util.Set&lt;<a href="User.html" title="class in com.plannaplan.entities">User</a>&gt;</span>&nbsp;<span class="memberName">getRegisteredStudents</span>()</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="assignUser(com.plannaplan.entities.User)">assignUser</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">assignUser</span>&#8203;(<span class="arguments"><a href="User.html" title="class in com.plannaplan.entities">User</a>&nbsp;user)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getGrNr()">getGrNr</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">java.lang.Integer</span>&nbsp;<span class="memberName">getGrNr</span>()</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="setGrNr(java.lang.Integer)">setGrNr</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setGrNr</span>&#8203;(<span class="arguments">java.lang.Integer&nbsp;grNr)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getZajCykId()">getZajCykId</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">java.lang.Integer</span>&nbsp;<span class="memberName">getZajCykId</span>()</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="setZajCykId(java.lang.Integer)">setZajCykId</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setZajCykId</span>&#8203;(<span class="arguments">java.lang.Integer&nbsp;zajCykId)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="update(java.lang.Integer,java.lang.String,com.plannaplan.entities.Course,java.lang.Integer,java.lang.Integer,com.plannaplan.types.WeekDay,com.plannaplan.entities.Lecturer,com.plannaplan.types.GroupType)">update</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">update</span>&#8203;(<span class="arguments">java.lang.Integer&nbsp;capacity,
java.lang.String&nbsp;room,
<a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;course,
java.lang.Integer&nbsp;time,
java.lang.Integer&nbsp;endTime,
<a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day,
<a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer,
<a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</span></div>
<div class="block">Updates given values other that are not null</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - capacity given to the groups</dd>
<dd><code>room</code> - room given to the groups</dd>
<dd><code>course</code> - course given to the groups</dd>
<dd><code>time</code> - time given to the groups</dd>
<dd><code>endTime</code> - end time of class in minutes</dd>
<dd><code>day</code> - day given to the groups</dd>
<dd><code>lecturer</code> - lecturer given to the groups</dd>
<dd><code>type</code> - type given to the groups</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getEndTime()">getEndTime</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">getEndTime</span>()</div>
<div class="block">get time of class end</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>hour of class finish time in minutes</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getId()">getId</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">java.lang.Long</span>&nbsp;<span class="memberName">getId</span>()</div>
<div class="block">getId</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>id</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getLecturer()">getLecturer</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a></span>&nbsp;<span class="memberName">getLecturer</span>()</div>
<div class="block">getLecturer</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>lecturer</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="setLecturer(com.plannaplan.entities.Lecturer)">setLecturer</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setLecturer</span>&#8203;(<span class="arguments"><a href="Lecturer.html" title="class in com.plannaplan.entities">Lecturer</a>&nbsp;lecturer)</span></div>
<div class="block">setLecturer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lecturer</code> - set lecturer into groups</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getDay()">getDay</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a></span>&nbsp;<span class="memberName">getDay</span>()</div>
<div class="block">WeekDay</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>day</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="setDay(com.plannaplan.types.WeekDay)">setDay</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setDay</span>&#8203;(<span class="arguments"><a href="../types/WeekDay.html" title="enum in com.plannaplan.types">WeekDay</a>&nbsp;day)</span></div>
<div class="block">setLecturer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>day</code> - set day into groups</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getType()">getType</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a></span>&nbsp;<span class="memberName">getType</span>()</div>
<div class="block">GroupType</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>type</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="setType(com.plannaplan.types.GroupType)">setType</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setType</span>&#8203;(<span class="arguments"><a href="../types/GroupType.html" title="enum in com.plannaplan.types">GroupType</a>&nbsp;type)</span></div>
<div class="block">setType</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - set type into groups</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getCapacity()">getCapacity</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">getCapacity</span>()</div>
<div class="block">getCapacity</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>capacity</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="setCapacity(int)">setCapacity</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setCapacity</span>&#8203;(<span class="arguments">int&nbsp;capacity)</span></div>
<div class="block">setCapacity</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - set capacity into groups</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getRoom()">getRoom</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">java.lang.String</span>&nbsp;<span class="memberName">getRoom</span>()</div>
<div class="block">getRoom</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>room</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="setRoom(java.lang.String)">setRoom</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setRoom</span>&#8203;(<span class="arguments">java.lang.String&nbsp;room)</span></div>
<div class="block">setRoom</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>room</code> - set room into groups</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getTime()">getTime</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">getTime</span>()</div>
<div class="block">getTime</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>time</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="setTime(int)">setTime</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setTime</span>&#8203;(<span class="arguments">int&nbsp;time)</span></div>
<div class="block">setTime</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>time</code> - set time into groups</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getCourseId()">getCourseId</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="Course.html" title="class in com.plannaplan.entities">Course</a></span>&nbsp;<span class="memberName">getCourseId</span>()</div>
<div class="block">getCourseId</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>course</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="setCourseId(com.plannaplan.entities.Course)">setCourseId</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setCourseId</span>&#8203;(<span class="arguments"><a href="Course.html" title="class in com.plannaplan.entities">Course</a>&nbsp;courseId)</span></div>
<div class="block">setCourseId</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>courseId</code> - set courseId into groups</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getTimeString()">getTimeString</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">java.lang.String</span>&nbsp;<span class="memberName">getTimeString</span>()</div>
<div class="block">getTimeString</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>time as formated String</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getEndTimeString()">getEndTimeString</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">java.lang.String</span>&nbsp;<span class="memberName">getEndTimeString</span>()</div>
<div class="block">gets end time formated strins</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>end time as formated String</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
</div>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Groups.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2021. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>