2011-03-14 17:15:13 -04:00
|
|
|
/*
|
|
|
|
Yaaic - Yet Another Android IRC Client
|
|
|
|
|
2012-01-21 17:12:55 -05:00
|
|
|
Copyright 2009-2012 Sebastian Kaspari
|
2011-03-14 17:15:13 -04:00
|
|
|
|
|
|
|
This file is part of Yaaic.
|
|
|
|
|
|
|
|
Yaaic 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.
|
|
|
|
|
|
|
|
Yaaic 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 Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2010-09-06 22:07:40 -04:00
|
|
|
package org.yaaic.db;
|
|
|
|
|
|
|
|
import android.provider.BaseColumns;
|
|
|
|
|
2011-03-14 17:15:13 -04:00
|
|
|
/**
|
|
|
|
* Constants for the aliases table
|
|
|
|
*
|
|
|
|
* @author Sebastian Kaspari <s.kaspari@googlemail.com>
|
|
|
|
*/
|
|
|
|
public class AliasConstants implements BaseColumns
|
|
|
|
{
|
2010-11-18 12:52:19 -05:00
|
|
|
public static final String TABLE_NAME = "aliases";
|
2011-01-25 15:02:27 -05:00
|
|
|
|
2010-11-18 12:52:19 -05:00
|
|
|
// fields
|
|
|
|
public static final String ALIAS = "alias";
|
|
|
|
public static final String IDENTITY = "identity";
|
2011-01-25 15:02:27 -05:00
|
|
|
|
2011-03-14 17:15:13 -04:00
|
|
|
/**
|
|
|
|
* All fields of the table
|
|
|
|
*/
|
2010-11-18 12:52:19 -05:00
|
|
|
public static final String[] ALL = {
|
|
|
|
_ID,
|
|
|
|
ALIAS,
|
|
|
|
IDENTITY,
|
|
|
|
};
|
2011-01-25 15:02:27 -05:00
|
|
|
|
2010-09-06 22:07:40 -04:00
|
|
|
}
|