Skip to content
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1896005
Add interface PrimariKey
diogosq Jan 6, 2016
0bed2a1
Add interface PrimariKey
diogosq Jan 6, 2016
3e3e3ea
ADD findById using primaryKey notation
diogosq Jan 6, 2016
b0ccc21
ADD findById using where and primaryKey notation
diogosq Jan 6, 2016
53729a8
ADD save using primaryKey notation
diogosq Jan 6, 2016
131b58f
ADD update using primaryKey notation
diogosq Jan 6, 2016
6a09b04
ADD inflate using primaryKey notation
diogosq Jan 6, 2016
3f695c4
PROBLEM DELETE METHOD WITHOUT OBJECT CAN BE USE PRIMARYKEY NOTATION
diogosq Jan 6, 2016
62537a7
ADD delete using object and primaryKey notation
diogosq Jan 6, 2016
24e769b
ADD last FIXME TO THIS
diogosq Jan 6, 2016
61d1561
ADD SchemaGenerator to use primaryKey notation
diogosq Jan 8, 2016
e0a468c
ADD Bugfix if condition to use primaryKey notation
diogosq Jan 8, 2016
92fc2ca
ADD JUnit BigDecimal using pk notation and table notation without id …
diogosq Jan 8, 2016
e3cb720
ADD JUnit BooleanField test using pk notation and table notation wit…
diogosq Jan 8, 2016
89c43b0
ADD JUnit BooleanField test using pk notation and table notation wit…
diogosq Jan 8, 2016
2403f09
BUGFIX Primary key find logic
diogosq Jan 8, 2016
39e4e60
ADD SimpleAnnotatedModelTest using pk notation
diogosq Jan 8, 2016
8a5a9b1
BUGFIX Detected by PrimaryKeyNotationSimpleAnnotatedModelTest
diogosq Jan 8, 2016
aea83ac
Detached pk notation tests of old tests
diogosq Jan 8, 2016
aebd1fe
ADD PrimaryKeyNotationRelationshipAnnotatedTests
diogosq Jan 8, 2016
fa319d7
ADD PrimaryKeyNotationRelationshipExtendedTests
diogosq Jan 8, 2016
0681b2b
ADD PrimaryKeyNotationRelationshipExtendedTests
diogosq Jan 8, 2016
0670f96
ADD PrimaryKeyNotationRelationshipExtendedTests
diogosq Jan 8, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ADD JUnit BooleanField test using pk notation and table notation with…
…out id field
  • Loading branch information
diogosq committed Jan 8, 2016
commit e3cb720e20bcea517e9991895d8119e0771a3c04
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
package com.example.models;

import com.orm.SugarRecord;
import com.orm.dsl.Table;

public class BooleanFieldExtendedModel extends SugarRecord {
@Table
public class PrimaryKeyNotationBooleanFieldAnnotatedModel{
private Boolean objectBoolean;
private boolean rawBoolean;
private Long id;

public BooleanFieldExtendedModel() {}
public PrimaryKeyNotationBooleanFieldAnnotatedModel() {}

public BooleanFieldExtendedModel(Boolean objectBoolean) {
public PrimaryKeyNotationBooleanFieldAnnotatedModel(Boolean objectBoolean) {
this.objectBoolean = objectBoolean;
}

public BooleanFieldExtendedModel(boolean rawBoolean) {
public PrimaryKeyNotationBooleanFieldAnnotatedModel(boolean rawBoolean) {
this.rawBoolean = rawBoolean;
}

Expand Down