Android Open Source - Android-Database-Complex-Joins D B Primitive Field






From Project

Back to project page Android-Database-Complex-Joins.

License

The source code is released under:

Apache License

If you think the Android project Android-Database-Complex-Joins listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package be.florien.databasecomplexjoins.architecture;
/* w ww  .j  a  va  2  s.  c o m*/
import java.util.ArrayList;
import java.util.List;

public abstract class DBPrimitiveField<T> extends DBData<T> {

    public DBPrimitiveField(String fieldName) {
        mDataName = fieldName;
    }

    @Override
    public List<String> buildProjection(String tableName) {
        List<String> projection = new ArrayList<String>();
        projection.add(tableName + "." + mDataName);
        return projection;
    }

}




Java Source Code List

be.florien.databasecomplexjoins.architecture.DBArchitectureException.java
be.florien.databasecomplexjoins.architecture.DBData.java
be.florien.databasecomplexjoins.architecture.DBDelete.java
be.florien.databasecomplexjoins.architecture.DBPrimitiveField.java
be.florien.databasecomplexjoins.architecture.DBTable.java
be.florien.databasecomplexjoins.architecture.DBWrite.java
be.florien.databasecomplexjoins.architecture.WhereCondition.java
be.florien.databasecomplexjoins.architecture.WhereStatement.java
be.florien.databasecomplexjoins.primitivefield.BooleanField.java
be.florien.databasecomplexjoins.primitivefield.DoubleField.java
be.florien.databasecomplexjoins.primitivefield.IntField.java
be.florien.databasecomplexjoins.primitivefield.NullField.java
be.florien.databasecomplexjoins.primitivefield.StringField.java