KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > adminGui > feature > account > Account


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
package org.ozoneDB.adminGui.feature.account;
8
9
10 //#############################################################################
11
/**
12  * This class contains constants for the account and group data models.
13  *
14  * @author <p align=center>Ibsen Ramos-Bonilla
15  * <br>Copyright &copy 1997-@year@ by SMB GmbH. All Rights Reserved.</p>
16  *
17  * @version 1.0
18  */

19 //#############################################################################
20

21 public final class Account {
22
23     //users title
24
public static final String JavaDoc COLUMN_USER_ID = "Id";
25     public static final String JavaDoc COLUMN_USER_NAME = "Name";
26     public static final String JavaDoc COLUMN_USER_PWD = "Password";
27     public static final String JavaDoc COLUMN_USER_STATUS = "Status";
28
29     //users positions
30
public static final int COLUMN_POS_USER_ID = 0;
31     public static final int COLUMN_POS_USER_NAME = 1;
32     public static final int COLUMN_POS_USER_PWD = 2;
33     public static final int COLUMN_POS_USER_STATUS = 3;
34
35     //group tree nodes
36
public static final int NODE_IS_ACCOUNT = -1;
37     public static final int NODE_IS_GROUP = 0;
38     public static final int NODE_IS_USER = 1;
39
40 } //--------------------------------- E O F -----------------------------------
41
Popular Tags