public class SFRRod extends SFRComponent
Class representing the solid cylindrical structure found inside radial reflector assemblies.
iComponentVisitor
iComponentListener
Constructor and Description |
---|
SFRRod()
Nullary constructor.
|
SFRRod(java.lang.String name)
Parameterized constructor with name specified.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ISFRComponentVisitor visitor)
Overrides the default behavior (ignore) from SFRComponent and implements
the accept operation for this SFRComponent's type.
|
java.lang.Object |
clone()
Deep copies and returns a newly instantiated object.
|
void |
copy(SFRRod otherObject)
Deep copies the contents of the object.
|
boolean |
equals(java.lang.Object otherObject)
Compares the contents of objects and returns true if that are identical.
|
Ring |
getReflector()
Returns the reflector rod as a Ring.
|
int |
hashCode()
Returns the hashcode of the object.
|
void |
setReflector(Ring reflector)
Sets the rod.
|
accept, addData, copy, getCurrentTime, getDataAtCurrentTime, getDescription, getFeatureList, getFeaturesAtCurrentTime, getId, getName, getNumberOfTimeSteps, getSourceInfo, getTimes, getTimeStep, getTimeUnits, notifyListeners, register, removeDataFromFeature, setDescription, setId, setName, setSourceInfo, setTime, setTimeUnits, toString, unregister, update
public SFRRod()
Nullary constructor.
public SFRRod(java.lang.String name)
Parameterized constructor with name specified.
name
- Name of the SFRRod.public void setReflector(Ring reflector)
Sets the rod.
reflector
- The reflector rod.public Ring getReflector()
Returns the reflector rod as a Ring.
public int hashCode()
Returns the hashcode of the object.
hashCode
in interface Identifiable
hashCode
in class SFRComponent
Identifiable.hashCode()
public boolean equals(java.lang.Object otherObject)
Compares the contents of objects and returns true if that are identical.
equals
in interface Identifiable
equals
in class SFRComponent
otherObject
- The other object being compared against.Identifiable.equals(Object otherObject)
public void copy(SFRRod otherObject)
Deep copies the contents of the object.
otherObject
- The other object to copy the contents of.public java.lang.Object clone()
Deep copies and returns a newly instantiated object.
clone
in interface Identifiable
clone
in class SFRComponent
public void accept(ISFRComponentVisitor visitor)
accept
in class SFRComponent
visitor
- An ISFRComponentVisitor that is visiting this SFRComponent.