Skip to content

Commit

Permalink
removed generated resources from git, removed Domain annotation and
Browse files Browse the repository at this point in the history
usage in domain objects (not going there!), removed ClassFinder, added
Query Parser
  • Loading branch information
jdavo committed Jun 13, 2012
1 parent c1c592b commit 4763620
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 198 deletions.
5 changes: 5 additions & 0 deletions bin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
/jarlist.cache
/NonMavenAndroidSQLLiteOrm.apk
/res
/AndroidSqLiteOrm.apk
/NonMavenAndroidSQLLiteOrmMerged.apk
/classes.dex
/resources.ap_
Binary file modified bin/classes.dex
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified bin/resources.ap_
Binary file not shown.
38 changes: 0 additions & 38 deletions src/com/perfectworldprogramming/mobile/orm/annotations/Domain.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

import com.perfectworldprogramming.mobile.orm.annotations.Column;
import com.perfectworldprogramming.mobile.orm.annotations.ColumnType;
import com.perfectworldprogramming.mobile.orm.annotations.Domain;
import com.perfectworldprogramming.mobile.orm.annotations.PrimaryKey;

@Domain(databaseName="ormtest", databaseVersion=3)
public class Account {
public static final String PK_ACCOUNT_ID = "ACCOUNT_ID";
public static final String COL_ACCOUNT_TYPE = "ACCOUNT_TYPE";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.perfectworldprogramming.mobile.orm.annotations.Column;
import com.perfectworldprogramming.mobile.orm.annotations.ColumnType;
import com.perfectworldprogramming.mobile.orm.annotations.Domain;
import com.perfectworldprogramming.mobile.orm.annotations.ForeignKey;
import com.perfectworldprogramming.mobile.orm.annotations.PrimaryKey;

Expand All @@ -11,7 +10,6 @@
* Date: 3/14/11
* Time: 2:42 PM
*/
@Domain(databaseName="ormtest", databaseVersion=3)
public class Address {

@PrimaryKey(value = "ADDRESS_ID")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
package com.perfectworldprogramming.mobile.orm.test.domain;

import java.util.ArrayList;
import java.util.List;

import com.perfectworldprogramming.mobile.orm.annotations.Column;
import com.perfectworldprogramming.mobile.orm.annotations.ColumnType;
import com.perfectworldprogramming.mobile.orm.annotations.Domain;
import com.perfectworldprogramming.mobile.orm.annotations.PrimaryKey;
import com.perfectworldprogramming.mobile.orm.annotations.Transient;

import java.util.ArrayList;
import java.util.List;

/**
* User: Mark Spritzler
* Date: 3/14/11
* Time: 2:42 PM
*/
@Domain(databaseName="ormtest", databaseVersion=3)
public class Person {

public static final String PK_PERSON ="PERSON_ID";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import java.util.ArrayList;
import java.util.List;

import android.test.ActivityInstrumentationTestCase2;

import com.perfectworldprogramming.mobile.orm.AndroidSQLiteTemplate;
import com.perfectworldprogramming.mobile.orm.exception.ExtraResultsException;
import com.perfectworldprogramming.mobile.orm.helper.DBHelper;
Expand All @@ -11,8 +13,6 @@
import com.perfectworldprogramming.mobile.orm.test.domain.Address;
import com.perfectworldprogramming.mobile.orm.test.domain.Person;

import android.test.ActivityInstrumentationTestCase2;

/**
* User: Mark Spritzler Date: 4/6/11 Time: 10:50 AM
*/
Expand All @@ -33,6 +33,7 @@ public CursorRowMapperTests()
public void setUp()
{
helper = new DBHelper(this.getInstrumentation().getContext(), new Class[] { Person.class, Address.class, Account.class }, "ormtest", 3);

template = new AndroidSQLiteTemplate(helper.getSqlLiteDatabase());
SampleDataHelper.addDataToDatabase(template);
}
Expand Down

This file was deleted.

0 comments on commit 4763620

Please sign in to comment.