Buisness logic docs packages

This commit is contained in:
Filip Izydorczyk
2021-01-15 16:24:29 +01:00
parent 21983fe4f7
commit bf7d0c7dbc
12 changed files with 58 additions and 3 deletions

View File

@ -79,7 +79,8 @@ public class MatchData {
* Exchanges 12:00 and 12:00
*
* @param m1 MatchData instance to compare to
* @return int <0 if m1 is "less than", 0 if it's equal and >0 otherwise
* @return int less than 0 if m1 is "less than", 0 if it's equal and more than 0
* otherwise
*/
public int compare(MatchData m1) {
return Long.compare(m1.getExchangesMsValue(), this.getExchangesMsValue());

View File

@ -39,7 +39,7 @@ public class UserApiResponse {
* setter for surname. Reson to have setters for this class is for case if there
* would be name and no surname or otherwise
*
* @param surname name to set that was obtained by api request
* @param name name to set that was obtained by api request
*/
public void setName(String name) {
this.name = name;

View File

@ -0,0 +1,6 @@
/**
* Provides readonly (mostly) classes to keep data for diffrent pourposes
*
* @since 1.0
*/
package com.plannaplan.models;