Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.bible.control.map
Class Link  view Link download Link.java

java.lang.Object
  extended bycom.eireneh.bible.control.map.Link
All Implemented Interfaces:
java.io.Serializable

public class Link
extends java.lang.Object
implements java.io.Serializable

A Link describes a destination verse and a link strength.
Distribution Licence:
Project B 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, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below.
The copyright to this program is held by it's authors.

Version:
D0.I0.T0

Field Summary
private  int dest
          The destination verse as an ordinal number (gen 1:1 = 1)
(package private) static long serialVersionUID
          To make serialization work across new versions
private  int strength
          The strength of the link
 
Constructor Summary
Link(int dest, int strength)
          Basic constructor
 
Method Summary
 int getDestinationOrdinal()
          The destination verse as an ordinal number (gen 1:1 = 1)
 int getStrength()
          The strength of the attraction - an integer probably between 1 and 10
 java.lang.String toString()
          Simple bit of debug
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
To make serialization work across new versions

See Also:
Constant Field Values

dest

private int dest
The destination verse as an ordinal number (gen 1:1 = 1)


strength

private int strength
The strength of the link

Constructor Detail

Link

public Link(int dest,
            int strength)
Basic constructor

Method Detail

getDestinationOrdinal

public int getDestinationOrdinal()
The destination verse as an ordinal number (gen 1:1 = 1)


getStrength

public int getStrength()
The strength of the attraction - an integer probably between 1 and 10


toString

public java.lang.String toString()
Simple bit of debug