net.cercis.jstruct.ui
Class Boun

java.lang.Object
  extended bynet.cercis.jstruct.ui.Boun

public class Boun
extends java.lang.Object

Boun Object. This object stores the information concerning a boundary conditions. It belongs to the UI Model and so, its variables are not final


Constructor Summary
Boun()
          Void Class Constructor
Boun(BounCalc bi)
          Class Constructor where the values are stored thanks to the copy of the values of a BounCalc
Boun(int node, int bx, int by, int bz)
          Class Constructor where the values are stored
Boun(java.lang.String cad)
          Class Constructor where the values are passed in a String that is tokenized to obtain the information
 
Method Summary
 int bx()
          Returns the value of the x value of the boundary code (1=restraint; 2=free)
 int by()
          Returns the value of the y value of the boundary code (1=restraint; 2=free)
 int bz()
          Returns the value of the z value of the boundary code (1=restraint; 2=free)
 int node()
          Returns the value of the node
 void setbx(int bx)
          Sets the value of the x boundary code
 void setby(int by)
          Sets the value of the y boundary code
 void setbz(int bz)
          Sets the value of the z boundary code
 void setnode(int node)
          Sets the value of the node identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Boun

public Boun(java.lang.String cad)
Class Constructor where the values are passed in a String that is tokenized to obtain the information

Parameters:
cad - String where the information is passed and that has to be tokenized (node - bx - by - bz) in order

Boun

public Boun(int node,
            int bx,
            int by,
            int bz)
Class Constructor where the values are stored

Parameters:
node - Integer number identifier of the node
bx - Float number with the boundary code value in the x direction (1=restraint 2=free)
by - Float number with the boundary code value in the y direction (1=restraint 2=free)
bz - Float number with the boundary code value in the z direction (1=restraint 2=free)

Boun

public Boun(BounCalc bi)
Class Constructor where the values are stored thanks to the copy of the values of a BounCalc

Parameters:
bi - BounCalc to be copied

Boun

public Boun()
Void Class Constructor

Method Detail

node

public int node()
Returns the value of the node

Returns:
Integer number with the value of the node

bx

public int bx()
Returns the value of the x value of the boundary code (1=restraint; 2=free)

Returns:
Float number with the x value of the boundary code

by

public int by()
Returns the value of the y value of the boundary code (1=restraint; 2=free)

Returns:
Float number with the y value of the boundary code

bz

public int bz()
Returns the value of the z value of the boundary code (1=restraint; 2=free)

Returns:
Float number with the z value of the boundary code

setnode

public void setnode(int node)
Sets the value of the node identifier

Parameters:
node - Integer number with the value of the node identifier

setbx

public void setbx(int bx)
Sets the value of the x boundary code

Parameters:
bx - Float number with the value of the x boundary code

setby

public void setby(int by)
Sets the value of the y boundary code

Parameters:
by - Float number with the value of the y boundary code

setbz

public void setbz(int bz)
Sets the value of the z boundary code

Parameters:
bz - Float number with the value of the z boundary code