org.crosswire.jsword.versification
Enum SectionNames

java.lang.Object
  extended by java.lang.Enum<SectionNames>
      extended by org.crosswire.jsword.versification.SectionNames
All Implemented Interfaces:
Serializable, Comparable<SectionNames>

Deprecated. Use org.crosswire.jsword.versification.DivisonName instead.

@Deprecated
public enum SectionNames
extends Enum<SectionNames>

SectionNames deals with traditional sections of the Bible.

Author:
Joe Walker [joe at eireneh dot com], DM Smith
See Also:
for license details.
The copyright to this program is held by it's authors.

Enum Constant Summary
BIBLE
          Deprecated. BIBLE consists of the entire/whole Bible (Gen - Rev)
GENERAL_LETTERS
          Deprecated. LETTERS consists of the general letters/epistles (Jas-Jud)
GOSPELS_AND_ACTS
          Deprecated. GOSPELS_AND_ACTS consists of the 4 Gospels and Acts (Mat-Acts)
HISTORY
          Deprecated. HISTORY consists of the history in the Old Testament of Israel
LETTERS
          Deprecated. LETTERS consists of the letters/epistles (Rom-Jud)
MAJOR_PROPHETS
          Deprecated. MAJOR_PROPHETS consists of the major prophets (Isa-Dan)
MINOR_PROPHETS
          Deprecated. MINOR_PROPHETS consists of the minor prophets (Hos-Mal)
NEW_TESTAMENT
          Deprecated. NEW_TESTAMENT consists of the new testament (Mat - Rev)
OLD_TESTAMENT
          Deprecated. OLD_TESTAMENT consists of the old testament (Gen - Rev)
PAULINE_LETTERS
          Deprecated. LETTERS consists of the Pauline letters/epistles (Rom-Heb)
PENTATEUCH
          Deprecated. PENTATEUCH consists of the 5 books of Moses (Gen - Deu)
POETRY
          Deprecated. POETRY consists of the poetic works (Job-Song)
PROPHECY
          Deprecated. PROPHECY consists of the Deu 28, major prophets, minor prophets, Revelation (Isa-Mal, Rev)
REVELATION
          Deprecated. REVELATION consists of the book of Revelation (Rev)
 
Method Summary
abstract  boolean contains(BibleBook book)
          Deprecated. Determine whether the book is contained within the section.
abstract  String getName()
          Deprecated. Obtain a localized string description of the section.
abstract  String getRange()
          Deprecated. Obtain a string representation of the scope of the section.
static SectionNames getSection(BibleBook book)
          Deprecated. Determine the section to which this book belongs.
abstract  int getSize()
          Deprecated. Get the number of whole books in the section.
 String toString()
          Deprecated.  
static SectionNames valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static SectionNames[] values()
          Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BIBLE

public static final SectionNames BIBLE
Deprecated. 
BIBLE consists of the entire/whole Bible (Gen - Rev)


OLD_TESTAMENT

public static final SectionNames OLD_TESTAMENT
Deprecated. 
OLD_TESTAMENT consists of the old testament (Gen - Rev)


PENTATEUCH

public static final SectionNames PENTATEUCH
Deprecated. 
PENTATEUCH consists of the 5 books of Moses (Gen - Deu)


HISTORY

public static final SectionNames HISTORY
Deprecated. 
HISTORY consists of the history in the Old Testament of Israel


POETRY

public static final SectionNames POETRY
Deprecated. 
POETRY consists of the poetic works (Job-Song)


PROPHECY

public static final SectionNames PROPHECY
Deprecated. 
PROPHECY consists of the Deu 28, major prophets, minor prophets, Revelation (Isa-Mal, Rev)


MAJOR_PROPHETS

public static final SectionNames MAJOR_PROPHETS
Deprecated. 
MAJOR_PROPHETS consists of the major prophets (Isa-Dan)


MINOR_PROPHETS

public static final SectionNames MINOR_PROPHETS
Deprecated. 
MINOR_PROPHETS consists of the minor prophets (Hos-Mal)


NEW_TESTAMENT

public static final SectionNames NEW_TESTAMENT
Deprecated. 
NEW_TESTAMENT consists of the new testament (Mat - Rev)


GOSPELS_AND_ACTS

public static final SectionNames GOSPELS_AND_ACTS
Deprecated. 
GOSPELS_AND_ACTS consists of the 4 Gospels and Acts (Mat-Acts)


LETTERS

public static final SectionNames LETTERS
Deprecated. 
LETTERS consists of the letters/epistles (Rom-Jud)


PAULINE_LETTERS

public static final SectionNames PAULINE_LETTERS
Deprecated. 
LETTERS consists of the Pauline letters/epistles (Rom-Heb)


GENERAL_LETTERS

public static final SectionNames GENERAL_LETTERS
Deprecated. 
LETTERS consists of the general letters/epistles (Jas-Jud)


REVELATION

public static final SectionNames REVELATION
Deprecated. 
REVELATION consists of the book of Revelation (Rev)

Method Detail

values

public static SectionNames[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SectionNames c : SectionNames.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SectionNames valueOf(String name)
Deprecated. 
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

contains

public abstract boolean contains(BibleBook book)
Deprecated. 
Determine whether the book is contained within the section.

Parameters:
book -
Returns:
true if the book is contained within the division

getSize

public abstract int getSize()
Deprecated. 
Get the number of whole books in the section.

Returns:
the number of whole books in the section

getName

public abstract String getName()
Deprecated. 
Obtain a localized string description of the section.

Returns:
the localized name.

getRange

public abstract String getRange()
Deprecated. 
Obtain a string representation of the scope of the section.

Returns:
the localized name.

toString

public String toString()
Deprecated. 
Overrides:
toString in class Enum<SectionNames>

getSection

public static SectionNames getSection(BibleBook book)
Deprecated. 
Determine the section to which this book belongs.

Parameters:
book - The book to test
Returns:
the section

Copyright ? 2003-2011