fhm.edu.fem.calc.objects
Class Border

java.lang.Object
  extended by fhm.edu.fem.calc.objects.Border

public class Border
extends java.lang.Object

Class Description: This class represents a "border"

Author:
Thomas Woellert (thomas@woellert.net), Stefan Weissbach (weissbst@gmx.de)

Field Summary
protected  int id
           
protected  NodeList nodeList
           
 
Constructor Summary
Border(int id, NodeList nodeList)
          Construct a new border with the given ID number
 
Method Summary
 int getId()
           
 NodeList getNodes()
           
 java.lang.String toString()
          Implementation of the toString() method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected int id

nodeList

protected NodeList nodeList
Constructor Detail

Border

public Border(int id,
              NodeList nodeList)
Construct a new border with the given ID number

Parameters:
id, - the id number of the border
nodeList, - the list of nodes this border consists of
Method Detail

getId

public int getId()
Returns:
Returns the id.

getNodes

public NodeList getNodes()
Returns:
Returns the nodes.

toString

public java.lang.String toString()
Implementation of the toString() method

Overrides:
toString in class java.lang.Object
Returns:
a string visualization of the element