|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.book.IndexStatus
public class IndexStatus
An Enumeration of the possible types of Book.
NOTE(joe): consider giving each a number (1,2,4,8) and allowing combinations
Distribution Licence: JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. 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. The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA The copyright to this program is held by it's authors. |
Licence
,
Serialized FormField Summary | |
---|---|
static IndexStatus |
CREATING
An index is currently being generated for this Book |
static IndexStatus |
DONE
There is a complete and ready to use search index |
private String |
name
The name of the BookType |
private static int |
nextObj
|
private int |
obj
|
static IndexStatus |
SCHEDULED
This Book has been scheduled for index creation |
private static long |
serialVersionUID
Serialization ID |
static IndexStatus |
UNDONE
There is no search index, and no plans to create one |
private static IndexStatus[] |
VALUES
All the known values |
Constructor Summary | |
---|---|
private |
IndexStatus(String name)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
Prevent subclasses from overriding canonical identity based Object methods |
static IndexStatus |
fromInteger(int i)
Lookup method to convert from an integer |
static IndexStatus |
fromString(String name)
Lookup method to convert from a String |
int |
hashCode()
Prevent subclasses from overriding canonical identity based Object methods |
(package private) Object |
readResolve()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final IndexStatus DONE
public static final IndexStatus UNDONE
public static final IndexStatus SCHEDULED
public static final IndexStatus CREATING
private static final IndexStatus[] VALUES
private String name
private static int nextObj
private final int obj
private static final long serialVersionUID
Constructor Detail |
---|
private IndexStatus(String name)
name
- The name of the BookTypeMethod Detail |
---|
public static IndexStatus fromString(String name)
public static IndexStatus fromInteger(int i)
public final boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public final int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object readResolve()
|
Copyright ? 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |