public class WetWell extends Junction
A simple wet well model of non-LOCA BWR simulations.
iComponentVisitor
iComponentListener
Constructor and Description |
---|
WetWell()
Nullary constructor.
|
WetWell(java.lang.Double height)
Parameterized constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IPlantComponentVisitor visitor)
Accepts PlantComponentVisitors to reveal the type of a PlantComponent.
|
java.lang.Object |
clone()
Performs a deep copy and returns a newly instantiated Object.
|
void |
copy(WetWell otherObject)
Deep copies the contents of otherObject.
|
boolean |
equals(java.lang.Object otherObject)
Performs an equality check between two Objects.
|
double |
getHeight() |
double |
getzIn() |
double |
getzOut() |
int |
hashCode()
Returns the hashCode of the object.
|
void |
setHeight(double height) |
void |
setzIn(double zIn) |
void |
setzOut(double zOut) |
addInput, addOutput, copy, getConnections, getInputs, getOutputs, isInput, notifyJunctionListeners, registerJunctionListener, removeInput, removeOutput, setConnections, setInputs, setOutputs, unregisterJunctionListener
accept, copy, toString
copy, getDescription, getId, getName, register, setDescription, setId, setName, unregister, update
register, unregister, update
getDescription, getId, getName, setDescription, setId, setName
public WetWell()
Nullary constructor.
public WetWell(java.lang.Double height)
Parameterized constructor.
height
- Total height of the well.
public double getHeight()
public void setHeight(double height)
height
- the height to setpublic double getzIn()
public void setzIn(double zIn)
zIn
- the zIn to setpublic double getzOut()
public void setzOut(double zOut)
zOut
- the zOut to setpublic boolean equals(java.lang.Object otherObject)
Performs an equality check between two Objects.
equals
in interface Identifiable
equals
in class Junction
otherObject
- The other Object to compare against.
Returns true if the two objects are equal, otherwise false.
Identifiable.equals(Object otherObject)
public java.lang.Object clone()
Performs a deep copy and returns a newly instantiated Object.
clone
in interface Identifiable
clone
in class Junction
The newly instantiated Object.
public void copy(WetWell otherObject)
Deep copies the contents of otherObject.
otherObject
- The other object to copy the contents from.
public int hashCode()
Returns the hashCode of the object.
hashCode
in interface Identifiable
hashCode
in class Junction
The hashCode of the Object.
Identifiable.hashCode()
public void accept(IPlantComponentVisitor visitor)
Accepts PlantComponentVisitors to reveal the type of a PlantComponent.