public class BWReactor extends LWReactor
The BWReactor class represents any Boiling Water Reactor.
iComponentVisitor
iComponentListener
Constructor and Description |
---|
BWReactor(int size)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ILWRComponentVisitor visitor)
This operation accepts an ILWRComponentVisitor that can be visit the
LWRComponent to ascertain its type and perform various type-specific
operations.
|
java.lang.Object |
clone()
Deep copies and returns a newly instantiated object.
|
void |
copy(BWReactor otherObject)
Deep copies the contents of the object.
|
boolean |
equals(java.lang.Object otherObject)
Overrides the equals operation to check the attributes on this object
with another object of the same type.
|
int |
hashCode()
Returns the hashCode of the object.
|
addComponent, copy, getSize, readAttributes, removeComponent, removeComponent, writeAttributes
copy, getComponent, getComponent, getComponentNames, getComponents, getNumberOfComponents, getWriteableChildren, readChild
accept, addData, copy, createGroup, getCurrentTime, getDataAtCurrentTime, getDescription, getFeatureList, getFeaturesAtCurrentTime, getHDF5LWRTag, getId, getName, getNumberOfTimeSteps, getSourceInfo, getTimes, getTimeStep, getTimeUnits, readDatasets, register, removeAllDataFromFeature, setDescription, setId, setName, setSourceInfo, setTime, setTimeUnits, toString, unregister, update, writeDatasets
register, unregister, update
getDescription, getId, getName, setDescription, setId, setName
public BWReactor(int size)
The constructor.
size
- The size of the reactor.
public boolean equals(java.lang.Object otherObject)
Overrides the equals operation to check the attributes on this object with another object of the same type. Returns true if the objects are equal. False otherwise.
equals
in interface Identifiable
equals
in class LWReactor
otherObject
- The object to be compared.
True if otherObject is equal. False otherwise.
public int hashCode()
Returns the hashCode of the object.
hashCode
in interface Identifiable
hashCode
in class LWReactor
The hash of the object.
public void copy(BWReactor otherObject)
Deep copies the contents of the object.
otherObject
- The object to be copied.
public java.lang.Object clone()
Deep copies and returns a newly instantiated object.
clone
in interface Identifiable
clone
in class LWReactor
The newly instantiated copied object.
public void accept(ILWRComponentVisitor visitor)
This operation accepts an ILWRComponentVisitor that can be visit the LWRComponent to ascertain its type and perform various type-specific operations.
accept
in class LWRComponent
visitor
- The visitor