// ===================================================================
// Class for storing data of one Bible.
// $Id: Verse.js 3420 2009-04-25 18:23:36Z helmut $

var Bible20;
if (!Bible20) {
  Bible20 = {};
}
else if (typeof Bible20 != "object") {
  throw new Error("Bible20 already exists and is not an object");
}

if (!Bible20.Bible) {
  Bible20.Bible = {};
}
else if (typeof Bible20.Bible != "object") {
  throw new Error("Bible20.Bible already exists and is not an object");
}

Bible20.Bible.Verse = function(verseNumber, text)
{
  try {
    this._number = verseNumber;
    this._text = text;
  }
  catch (e) {
    alert("Bible.Verse: " + e);
  }
}

Bible20.Bible.Verse.prototype.getNumber = function()
{
  return this._number;
}

Bible20.Bible.Verse.prototype.getText = function()
{
  return this._text;
}

Bible20.Bible.Verse.prototype.setText = function(text)
{
  this._text = text;
}

Bible20.Bible.Verse.NULL = new Bible20.Bible.Verse();

