Yaaic/application/src/org/yaaic/db/IdentityConstants.java

49 lines
1.3 KiB
Java
Raw Normal View History

2010-03-12 13:48:58 -05:00
/*
Yaaic - Yet Another Android IRC Client
2012-01-21 17:12:55 -05:00
Copyright 2009-2012 Sebastian Kaspari
2010-03-12 13:48:58 -05: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/>.
2011-01-25 15:02:27 -05:00
*/
2010-03-12 13:48:58 -05:00
package org.yaaic.db;
import android.provider.BaseColumns;
/**
* Constants for the identity table
2011-01-25 15:02:27 -05:00
*
2010-03-12 13:48:58 -05:00
* @author Sebastian Kaspari <sebastian@yaaic.org>
*/
public class IdentityConstants implements BaseColumns
{
2010-11-18 12:52:19 -05:00
public static final String TABLE_NAME = "identities";
2011-01-25 15:02:27 -05:00
2010-11-18 12:52:19 -05:00
// fields
public static final String NICKNAME = "nickname";
public static final String IDENT = "ident";
public static final String REALNAME = "realname";
2011-01-25 15:02:27 -05:00
2010-11-18 12:52:19 -05:00
/**
* All fields of the table
*/
public static final String[] ALL = {
_ID,
NICKNAME,
IDENT,
REALNAME,
};
2010-03-12 13:48:58 -05:00
}