Skip to content

Commit f7101d3

Browse files
author
mapfap
committed
Add javadoc, make new .APK for v1.1(Language fix)
1 parent e0ea2db commit f7101d3

35 files changed

+177
-4
lines changed

dist/pos.apk

-1 KB
Binary file not shown.

src/com/refresh/pos/domain/DateTimeStrategy.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
import java.util.Calendar;
55
import java.util.Locale;
66

7+
/**
8+
* A static class, global access for how to handle with date format.
9+
*
10+
* @author Refresh Team
11+
*
12+
*/
713
public class DateTimeStrategy {
814

915
private static Locale locale;

src/com/refresh/pos/domain/LanguageController.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
import com.refresh.pos.techicalservices.Database;
88
import com.refresh.pos.techicalservices.DatabaseContents;
99

10+
/**
11+
* Saves and loads language preference from database.
12+
*
13+
* @author Refresh Team
14+
*
15+
*/
1016
public class LanguageController {
1117

1218
private static final String DEFAULT_LANGUAGE = "en";

src/com/refresh/pos/domain/inventory/Inventory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
/**
77
* This class is service locater for Product Catalog and Stock.
8+
*
89
* @author Refresh Team
910
*
1011
*/

src/com/refresh/pos/domain/inventory/LineItem.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
/**
77
* LineItem of Sale.
8+
*
89
* @author Refresh Team
910
*
1011
*/

src/com/refresh/pos/domain/inventory/Product.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
/**
77
* Product or item represents the real product in store.
8+
*
89
* @author Refresh Team
910
*
1011
*/

src/com/refresh/pos/domain/inventory/ProductCatalog.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
import com.refresh.pos.techicalservices.inventory.InventoryDao;
66

7+
/**
8+
* Book that keeps list of Product.
9+
*
10+
* @author Refresh Team
11+
*
12+
*/
713
public class ProductCatalog {
814

915
private InventoryDao inventoryDao;

src/com/refresh/pos/domain/inventory/ProductLot.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
/**
99
* Lot or bunch of product that import to inventory.
10+
*
1011
* @author Refresh Team
1112
*
1213
*/

src/com/refresh/pos/domain/inventory/Stock.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
import com.refresh.pos.techicalservices.inventory.InventoryDao;
66

7+
/**
8+
* Import log of ProductLot come in to store.
9+
*
10+
* @author Refresh Team
11+
*
12+
*/
713
public class Stock {
814

915
private InventoryDao inventoryDao;

src/com/refresh/pos/domain/sale/Register.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
import com.refresh.pos.techicalservices.NoDaoSetException;
99
import com.refresh.pos.techicalservices.sale.SaleDao;
1010

11+
/**
12+
* Handles all Sale processes.
13+
*
14+
* @author Refresh Team
15+
*
16+
*/
1117
public class Register {
1218
private static Register instance = null;
1319
private static SaleDao saleDao = null;

0 commit comments

Comments
 (0)