// Path: etc/sample-generated-code/org/jraf/androidcontentprovidergenerator/sample/provider/base/AbstractContentValues.java
// @SuppressWarnings("unused")
// public abstract class AbstractContentValues<T extends AbstractContentValues<?>> {
//     protected final ContentValues mContentValues = new ContentValues();
//     private Boolean mNotify;
// 
//     /**
//      * Returns the {@code uri} argument to pass to the {@code ContentResolver} methods.
//      */
//     protected abstract Uri baseUri();
// 
//     /**
//      * Returns the {@code uri} argument to pass to the {@code ContentResolver} methods.
//      */
//     public Uri uri() {
//         Uri uri = baseUri();
//         if (mNotify != null) uri = BaseContentProvider.notify(uri, mNotify);
//         return uri;
//     }
// 
//     @SuppressWarnings("unchecked")
//     public T notify(boolean notify) {
//         mNotify = notify;
//         return (T) this;
//     }
// 
//     /**
//      * Returns the {@code ContentValues} wrapped by this object.
//      */
//     public ContentValues values() {
//         return mContentValues;
//     }
// 
//     /**
//      * Inserts a row into a table using the values stored by this object.
//      *
//      * @param contentResolver The content resolver to use.
//      */
//     public Uri insert(ContentResolver contentResolver) {
//         return contentResolver.insert(uri(), values());
//     }
// 
//     /**
//      * Inserts a row into a table using the values stored by this object.
//      *
//      * @param context The context to use.
//      */
//     public Uri insert(Context context) {
//         return context.getContentResolver().insert(uri(), values());
//     }
// }


import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import org.jraf.androidcontentprovidergenerator.sample.provider.base.AbstractContentValues;
import java.util.Date;
import android.content.Context;
import android.content.ContentResolver;
import android.net.Uri;
/*
 * This source is part of the
 *      _____  ___   ____
 *  __ / / _ \/ _ | / __/___  _______ _
 * / // / , _/ __ |/ _/_/ _ \/ __/ _ `/
 * \___/_/|_/_/ |_/_/ (_)___/_/  \_, /
 *                              /___/
 * repository.
 *
 * Copyright (C) 2012-2017 Benoit 'BoD' Lubek (BoD@JRAF.org)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.jraf.androidcontentprovidergenerator.sample.provider.team;

// @formatter:off



/**
 * Content values wrapper for the {@code team} table.
 */
@SuppressWarnings({"ConstantConditions", "unused"})
public class TeamContentValues extends AbstractContentValues<TeamContentValues> {
    @Override
    protected Uri baseUri() {
        return TeamColumns.CONTENT_URI;
    }

    /**
     * Update row(s) using the values stored by this object and the given selection.
     *
     * @param contentResolver The content resolver to use.
     * @param where The selection to use (can be {@code null}).
     */
    public int update(ContentResolver contentResolver, @Nullable TeamSelection where) {
        return contentResolver.update(uri(), values(), where == null ? null : where.sel(), where == null ? null : where.args());
    }

    /**
     * Update row(s) using the values stored by this object and the given selection.
     *
     * @param context The context to use.
     * @param where The selection to use (can be {@code null}).
     */
    public int update(Context context, @Nullable TeamSelection where) {
        return context.getContentResolver().update(uri(), values(), where == null ? null : where.sel(), where == null ? null : where.args());
    }

    public TeamContentValues putCompanyId(long value) {
// Path: etc/sample-generated-code/org/jraf/androidcontentprovidergenerator/sample/provider/base/AbstractContentValues.java
// @SuppressWarnings("unused")
// public abstract class AbstractContentValues<T extends AbstractContentValues<?>> {
//     protected final ContentValues mContentValues = new ContentValues();
//     private Boolean mNotify;
// 
//     /**
//      * Returns the {@code uri} argument to pass to the {@code ContentResolver} methods.
//      */
//     protected abstract Uri baseUri();
// 
//     /**
//      * Returns the {@code uri} argument to pass to the {@code ContentResolver} methods.
//      */
//     public Uri uri() {
//         Uri uri = baseUri();
//         if (mNotify != null) uri = BaseContentProvider.notify(uri, mNotify);
//         return uri;
//     }
// 
//     @SuppressWarnings("unchecked")
//     public T notify(boolean notify) {
//         mNotify = notify;
//         return (T) this;
//     }
// 
//     /**
//      * Returns the {@code ContentValues} wrapped by this object.
//      */
//     public ContentValues values() {
//         return mContentValues;
//     }
// 
//     /**
//      * Inserts a row into a table using the values stored by this object.
//      *
//      * @param contentResolver The content resolver to use.
//      */
//     public Uri insert(ContentResolver contentResolver) {
//         return contentResolver.insert(uri(), values());
//     }
// 
//     /**
//      * Inserts a row into a table using the values stored by this object.
//      *
//      * @param context The context to use.
//      */
//     public Uri insert(Context context) {
//         return context.getContentResolver().insert(uri(), values());
//     }
// }


// Path: etc/sample-generated-code/org/jraf/androidcontentprovidergenerator/sample/provider/team/TeamContentValues.java
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import org.jraf.androidcontentprovidergenerator.sample.provider.base.AbstractContentValues;
import java.util.Date;
import android.content.Context;
import android.content.ContentResolver;
import android.net.Uri;

/*
 * This source is part of the
 *      _____  ___   ____
 *  __ / / _ \/ _ | / __/___  _______ _
 * / // / , _/ __ |/ _/_/ _ \/ __/ _ `/
 * \___/_/|_/_/ |_/_/ (_)___/_/  \_, /
 *                              /___/
 * repository.
 *
 * Copyright (C) 2012-2017 Benoit 'BoD' Lubek (BoD@JRAF.org)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.jraf.androidcontentprovidergenerator.sample.provider.team;

// @formatter:off



/**
 * Content values wrapper for the {@code team} table.
 */
@SuppressWarnings({"ConstantConditions", "unused"})
public class TeamContentValues extends AbstractContentValues<TeamContentValues> {
    @Override
    protected Uri baseUri() {
        return TeamColumns.CONTENT_URI;
    }

    /**
     * Update row(s) using the values stored by this object and the given selection.
     *
     * @param contentResolver The content resolver to use.
     * @param where The selection to use (can be {@code null}).
     */
    public int update(ContentResolver contentResolver, @Nullable TeamSelection where) {
        return contentResolver.update(uri(), values(), where == null ? null : where.sel(), where == null ? null : where.args());
    }

    /**
     * Update row(s) using the values stored by this object and the given selection.
     *
     * @param context The context to use.
     * @param where The selection to use (can be {@code null}).
     */
    public int update(Context context, @Nullable TeamSelection where) {
        return context.getContentResolver().update(uri(), values(), where == null ? null : where.sel(), where == null ? null : where.args());
    }

    public TeamContentValues putCompanyId(long value) {
        mContentValues.put(TeamColumns.COMPANY_ID, value);