public final class LclPressureBean extends ClockedBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OUTPUT_PROPERTY_NAME
The name of the saturation-point pressure property.
|
Constructor and Description |
---|
LclPressureBean(BeanNetwork network)
Constructs from the network in which this bean will be a component.
|
Modifier and Type | Method and Description |
---|---|
visad.Data |
getSaturationPointPressure()
Returns the value of the saturation-point pressure property.
|
void |
setPressure(visad.Real initPres)
Sets the initial pressure.
|
void |
setSaturationPointTemperature(visad.Real lclTemp)
Sets the saturation-point temperature.
|
void |
setTemperature(visad.Real initTemp)
Sets the initial temperature.
|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final java.lang.String OUTPUT_PROPERTY_NAME
public LclPressureBean(BeanNetwork network)
network
- The bean network.public void setPressure(visad.Real initPres) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
initPres
- The initial pressure.java.lang.NullPointerException
- if the argument is null
.visad.TypeException
- if the pressure has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public void setTemperature(visad.Real initTemp) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
initTemp
- The initial temperature.java.lang.NullPointerException
- if the argument is null
.visad.TypeException
- if the temperature has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public void setSaturationPointTemperature(visad.Real lclTemp) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
lclTemp
- The saturation-point temperature.java.lang.NullPointerException
- if the argument is null
.visad.TypeException
- if the temperature has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public visad.Data getSaturationPointPressure()