Renamed EarDatabase* to EarData*.

parent 4c68d9ed
package com.aluxoft.earrecognition; package com.aluxoft.earrecognition;
import com.aluxoft.earrecognition.common.EarDatabase; import com.aluxoft.earrecognition.common.EarData;
import com.aluxoft.earrecognition.common.EarFeature; import com.aluxoft.earrecognition.common.EarFeature;
import com.aluxoft.earrecognition.common.EarIdList; import com.aluxoft.earrecognition.common.EarIdList;
import com.aluxoft.earrecognition.utils.OpenCvUtils; import com.aluxoft.earrecognition.utils.OpenCvUtils;
...@@ -16,13 +16,13 @@ import org.opencv.highgui.Highgui; ...@@ -16,13 +16,13 @@ import org.opencv.highgui.Highgui;
*/ */
public class EarIdentifier { public class EarIdentifier {
private EarDatabase database; private EarData database;
public EarIdentifier(EarDatabase _database) { public EarIdentifier(EarData _database) {
this.database = _database; this.database = _database;
} }
public void setDatabase(EarDatabase _database) { public void setDatabase(EarData _database) {
this.database = _database; this.database = _database;
} }
......
...@@ -8,7 +8,7 @@ import java.util.HashMap; ...@@ -8,7 +8,7 @@ import java.util.HashMap;
* Created by josejuliomartinez on 06/10/15. * Created by josejuliomartinez on 06/10/15.
* The database of all the ears. * The database of all the ears.
*/ */
public class EarDatabase { public class EarData {
private HashMap<String, Person> persons = new HashMap<String, Person>(); private HashMap<String, Person> persons = new HashMap<String, Person>();
......
package com.aluxoft.earrecognition.loader; package com.aluxoft.earrecognition.loader;
import com.aluxoft.earrecognition.common.EarDatabase; import android.app.Activity;
import com.aluxoft.earrecognition.common.EarData;
/** /**
* Loads Case Id data from CommCare * Loads Case Id data from CommCare
* *
*/ */
abstract public class EarDatabaseLoader { abstract public class EarDataLoader {
public abstract EarDatabase load(); public abstract EarData load(Activity current);
/** /**
* Updates the database (only implemented if we can update the database) * Updates the database (only implemented if we can update the database)
* @param database * @param database
*/ */
public void update(EarDatabase database) { public void update(EarData database) {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment