Android Open Source - Android-Database-Complex-Joins D B Delete






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  w  w.  j  av a  2  s  .  c  o m

public class DBDelete {
    
    private String mValue;
    private String mTableName;
    private String mId;
    
    public DBDelete(String tableName, String id, String value){
        mValue = value;
        mTableName = tableName;
        mId = id;
    }

    public String getTableName() {
        return mTableName;
    }

    public String getWhereClause() {
        return mId + " = ?";
    }

    public String getWhereArgs() {
        return mValue;
    }

}




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