forked from agrosner/DBFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed issue where private AI keys did not reference methods
- Loading branch information
Andrew Grosner
committed
Jul 3, 2015
1 parent
ea7cae5
commit 9fcf83f
Showing
6 changed files
with
106 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
DBFlow/src/androidTest/java/com/raizlabs/android/dbflow/test/AQL.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
package com.raizlabs.android.dbflow.test; | ||
|
||
import com.raizlabs.android.dbflow.annotation.Column; | ||
import com.raizlabs.android.dbflow.annotation.ModelContainer; | ||
import com.raizlabs.android.dbflow.annotation.PrimaryKey; | ||
import com.raizlabs.android.dbflow.annotation.Table; | ||
import com.raizlabs.android.dbflow.structure.BaseModel; | ||
|
||
import java.util.Date; | ||
|
||
@Table(databaseName = TestDatabase.NAME, tableName = AQL.ENDPOINT) | ||
@ModelContainer | ||
public class AQL extends BaseModel { | ||
|
||
public static final String ENDPOINT = "AQL"; | ||
|
||
public interface Columns { | ||
String AQL_ID = "aql_id"; | ||
String AQL_NAME = "aql_name"; | ||
String AQL_SERVER_ID = "aql_server_id"; | ||
String AQL_TIMESTAMP = "aql_timestamp"; | ||
} | ||
|
||
@Column(name = Columns.AQL_ID) | ||
@PrimaryKey(autoincrement = true) | ||
private Long aql_id; | ||
|
||
@Column(name = Columns.AQL_NAME) | ||
private String aql_name; | ||
|
||
@Column(name = Columns.AQL_SERVER_ID) | ||
private Long server_id; | ||
|
||
@Column(name = Columns.AQL_TIMESTAMP) | ||
private Date timestamp; | ||
|
||
public Long getAql_id() { | ||
return aql_id; | ||
} | ||
|
||
public void setAql_id(Long aql_id) { | ||
this.aql_id = aql_id; | ||
} | ||
|
||
public String getAql_name() { | ||
return aql_name; | ||
} | ||
|
||
public void setAql_name(String aql_name) { | ||
this.aql_name = aql_name; | ||
} | ||
|
||
public Long getServer_id() { | ||
return server_id; | ||
} | ||
|
||
public void setServer_id(Long server_id) { | ||
this.server_id = server_id; | ||
} | ||
|
||
public Date getTimestamp() { | ||
return timestamp; | ||
} | ||
|
||
public void setTimestamp(Date timestamp) { | ||
this.timestamp = timestamp; | ||
} | ||
} |